Home
last modified time | relevance | path

Searched refs:drm_rect_height (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.3-rc2/include/drm/
A Ddrm_rect.h74 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
89 drm_rect_height(r) >> 16, ((drm_rect_height(r) & 0xffff) * 15625) >> 10, \
196 static inline int drm_rect_height(const struct drm_rect *r) in drm_rect_height() function
210 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
238 drm_rect_height(src) >> 16); in drm_rect_fp_to_int()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_rect.c107 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled()
108 drm_rect_height(dst), &diff); in drm_rect_clip_scaled()
123 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled()
124 drm_rect_height(dst), &diff); in drm_rect_clip_scaled()
208 int src_h = drm_rect_height(src); in drm_rect_calc_vscale()
209 int dst_h = drm_rect_height(dst); in drm_rect_calc_vscale()
A Ddrm_plane_helper.c121 .src_h = drm_rect_height(src), in drm_plane_helper_check_update()
125 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
A Ddrm_format_helper.c51 unsigned long lines = drm_rect_height(clip); in __drm_fb_xfrm()
94 unsigned long lines = drm_rect_height(clip); in __drm_fb_xfrm_toio()
182 unsigned int i, y, lines = drm_rect_height(clip); in drm_fb_memcpy()
1011 unsigned int lines = drm_rect_height(clip); in drm_fb_xrgb8888_to_mono()
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dskl_scaler.c227 height = drm_rect_height(&crtc_state->pch_pfit.dst); in skl_update_scaler_crtc()
236 drm_rect_height(&crtc_state->pipe_src), in skl_update_scaler_crtc()
270 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
272 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane()
443 int height = drm_rect_height(dst); in skl_pfit_enable()
460 drm_rect_height(&crtc_state->pipe_src) << 16); in skl_pfit_enable()
502 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in skl_program_plane_scaler()
A Dintel_cursor.c74 int height = drm_rect_height(&plane_state->uapi.dst); in intel_cursor_size_ok()
120 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_cursor_check_surface()
233 drm_rect_height(&plane_state->uapi.dst)); in i845_check_cursor()
267 unsigned int height = drm_rect_height(&plane_state->uapi.dst); in i845_cursor_update_arm()
395 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_cursor_size_ok()
450 drm_rect_height(&plane_state->uapi.dst)); in i9xx_check_cursor()
499 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_cursor_update_arm()
A Dintel_atomic_plane.c151 src_h = drm_rect_height(src) >> 16; in intel_adjusted_rate()
153 dst_h = drm_rect_height(dst); in intel_adjusted_rate()
236 height = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_relative_data_rate()
389 drm_rect_height(&new->uapi.src) != drm_rect_height(&cur->uapi.src) || in intel_wm_need_update()
391 drm_rect_height(&new->uapi.dst) != drm_rect_height(&cur->uapi.dst)) in intel_wm_need_update()
400 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_is_scaled()
402 int dst_h = drm_rect_height(&plane_state->uapi.dst); in intel_plane_is_scaled()
A Dintel_panel.c346 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in pch_panel_fitting()
474 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in i965_scale_aspect()
495 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in i9xx_scale_aspect()
552 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in gmch_panel_fitting()
A Dintel_sprite.c84 src_h = drm_rect_height(src) >> 16; in intel_plane_check_src_coordinates()
435 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in vlv_sprite_update_noarm()
849 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in ivb_sprite_update_noarm()
851 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in ivb_sprite_update_noarm()
1176 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in g4x_sprite_update_noarm()
1178 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in g4x_sprite_update_noarm()
1307 crtc_h = drm_rect_height(dst); in g4x_sprite_check_scaling()
1311 src_h = drm_rect_height(src) >> 16; in g4x_sprite_check_scaling()
A Di9xx_plane.c294 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface()
431 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_plane_update_noarm()
468 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_plane_update_arm()
/linux-6.3-rc2/drivers/gpu/drm/armada/
A Darmada_plane.c113 st->src_hw = drm_rect_height(&new_plane_state->src) >> 17; in armada_drm_plane_atomic_check()
115 st->dst_hw = drm_rect_height(&new_plane_state->dst) >> 1; in armada_drm_plane_atomic_check()
117 st->src_hw = drm_rect_height(&new_plane_state->src) >> 16; in armada_drm_plane_atomic_check()
119 st->dst_hw = drm_rect_height(&new_plane_state->dst); in armada_drm_plane_atomic_check()
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_hw_wb.c122 if (drm_rect_height(&data->roi) && drm_rect_width(&data->roi)) in dpu_hw_wb_setup_format()
123 outsize = (drm_rect_height(&data->roi) << 16) | drm_rect_width(&data->roi); in dpu_hw_wb_setup_format()
145 out_size = (drm_rect_height(&wb->roi) << 16) | drm_rect_width(&wb->roi); in dpu_hw_wb_roi()
A Ddpu_plane.c159 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_bw()
160 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw()
204 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_clk()
206 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk()
432 ot_params.height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_set_ot_limit()
644 u32 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_setup_scaler()
646 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler()
718 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill()
923 drm_rect_height(fb_rect) > MAX_IMG_HEIGHT) in dpu_plane_validate_src()
928 drm_rect_height(src) < min_src_size) in dpu_plane_validate_src()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/gud/
A Dgud_pipe.c69 height = drm_rect_height(rect); in gud_xrgb8888_to_r124()
116 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color()
163 len = pitch * drm_rect_height(rect); in gud_prep_flush()
209 req->height = cpu_to_le32(drm_rect_height(rect)); in gud_prep_flush()
332 lines = drm_rect_height(damage); in gud_flush_damage()
337 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(damage), lines); i++) { in gud_flush_damage()
/linux-6.3-rc2/drivers/gpu/drm/imx/ipuv3/
A Dipuv3-plane.c418 if (drm_rect_height(&new_state->dst) < 2) in ipu_plane_atomic_check()
430 drm_rect_height(&new_state->dst) != drm_rect_height(&old_state->dst) || in ipu_plane_atomic_check()
631 drm_rect_height(&new_state->src) >> 16, in ipu_plane_atomic_update()
687 height = drm_rect_height(&new_state->src) >> 16; in ipu_plane_atomic_update()
751 drm_rect_height(&new_state->src) >> 16); in ipu_plane_atomic_update()
/linux-6.3-rc2/drivers/gpu/drm/sun4i/
A Dsun8i_ui_layer.c114 src_h = drm_rect_height(&state->src) >> 16; in sun8i_ui_layer_update_coord()
116 dst_h = drm_rect_height(&state->dst); in sun8i_ui_layer_update_coord()
A Dsun8i_vi_layer.c121 src_h = drm_rect_height(&state->src) >> 16; in sun8i_vi_layer_update_coord()
123 dst_h = drm_rect_height(&state->dst); in sun8i_vi_layer_update_coord()
/linux-6.3-rc2/drivers/gpu/drm/rockchip/
A Drockchip_drm_vop2.c486 u32 height = drm_rect_height(src) >> 16; in vop2_afbc_transform_offset()
968 if (drm_rect_width(src) >> 16 < 4 || drm_rect_height(src) >> 16 < 4 || in vop2_plane_atomic_check()
971 drm_rect_width(src) >> 16, drm_rect_height(src) >> 16, in vop2_plane_atomic_check()
972 drm_rect_width(dest), drm_rect_height(dest)); in vop2_plane_atomic_check()
978 drm_rect_height(src) >> 16 > vop2_data->max_input.height) { in vop2_plane_atomic_check()
981 drm_rect_height(src) >> 16, in vop2_plane_atomic_check()
1142 actual_h = drm_rect_height(src) >> 16; in vop2_plane_atomic_update()
1154 dsp_h = drm_rect_height(dest); in vop2_plane_atomic_update()
1162 actual_h = dsp_h * actual_h / drm_rect_height(dest); in vop2_plane_atomic_update()
1261 actual_w = drm_rect_height(src) >> 16; in vop2_plane_atomic_update()
/linux-6.3-rc2/drivers/gpu/drm/rcar-du/
A Drcar_du_vsp.c198 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rcar_du_vsp_plane_setup()
203 cfg.dst.height = drm_rect_height(&state->state.dst); in rcar_du_vsp_plane_setup()
/linux-6.3-rc2/drivers/gpu/drm/imx/dcss/
A Ddcss-plane.c304 src_h = drm_rect_height(&src) >> 16; in dcss_plane_atomic_update()
306 dst_h = drm_rect_height(&dst); in dcss_plane_atomic_update()
/linux-6.3-rc2/drivers/gpu/drm/tegra/
A Dplane.c242 src_h = drm_rect_height(&state->src) >> 16; in tegra_plane_calculate_memory_bandwidth()
244 dst_h = drm_rect_height(&state->dst); in tegra_plane_calculate_memory_bandwidth()
A Ddc.c747 window.src.h = drm_rect_height(&new_state->src) >> 16; in tegra_plane_atomic_update()
751 window.dst.h = drm_rect_height(&new_state->dst); in tegra_plane_atomic_update()
987 value = (drm_rect_height(&src) & tegra->vmask) << 16 | in __tegra_cursor_atomic_update()
2049 window.src.h = drm_rect_height(&plane->state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
2050 window.dst.h = drm_rect_height(&plane->state->dst); in tegra_crtc_update_memory_bandwidth()
2052 old_window.src.h = drm_rect_height(&old_plane_state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
2053 old_window.dst.h = drm_rect_height(&old_plane_state->dst); in tegra_crtc_update_memory_bandwidth()
/linux-6.3-rc2/drivers/gpu/drm/mediatek/
A Dmtk_drm_plane.c207 mtk_plane_state->pending.height = drm_rect_height(&new_state->dst); in mtk_plane_update_new_state()
/linux-6.3-rc2/drivers/gpu/drm/arm/
A Dhdlcd_crtc.c274 dest_h = drm_rect_height(&new_plane_state->dst); in hdlcd_plane_atomic_update()
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_stdu.c1229 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1329 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1458 box->h = drm_rect_height(&clip); in vmw_stdu_surface_update_proxy()
1502 box->h = drm_rect_height(clip); in vmw_stdu_surface_populate_clip()

Completed in 52 milliseconds

12