Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/drm/
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.1.9/drivers/gpu/drm/
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()
Ddrm_plane_helper.c122 .src_h = drm_rect_height(src), in drm_plane_helper_check_update()
126 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
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()
745 unsigned int lines = drm_rect_height(clip); in drm_fb_xrgb8888_to_mono()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dskl_scaler.c192 height = drm_rect_height(&crtc_state->pch_pfit.dst); in skl_update_scaler_crtc()
201 drm_rect_height(&crtc_state->pipe_src), in skl_update_scaler_crtc()
235 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane()
237 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane()
408 int height = drm_rect_height(dst); in skl_pfit_enable()
425 drm_rect_height(&crtc_state->pipe_src) << 16); in skl_pfit_enable()
467 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in skl_program_plane_scaler()
Dintel_atomic_plane.c150 src_h = drm_rect_height(src) >> 16; in intel_adjusted_rate()
152 dst_h = drm_rect_height(dst); in intel_adjusted_rate()
235 height = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_relative_data_rate()
388 drm_rect_height(&new->uapi.src) != drm_rect_height(&cur->uapi.src) || in intel_wm_need_update()
390 drm_rect_height(&new->uapi.dst) != drm_rect_height(&cur->uapi.dst)) in intel_wm_need_update()
399 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_is_scaled()
401 int dst_h = drm_rect_height(&plane_state->uapi.dst); in intel_plane_is_scaled()
Dintel_cursor.c73 int height = drm_rect_height(&plane_state->uapi.dst); in intel_cursor_size_ok()
119 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_cursor_check_surface()
232 drm_rect_height(&plane_state->uapi.dst)); in i845_check_cursor()
266 unsigned int height = drm_rect_height(&plane_state->uapi.dst); in i845_cursor_update_arm()
394 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_cursor_size_ok()
449 drm_rect_height(&plane_state->uapi.dst)); in i9xx_check_cursor()
498 int height = drm_rect_height(&plane_state->uapi.dst); in i9xx_cursor_update_arm()
Dintel_panel.c331 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in pch_panel_fitting()
459 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in i965_scale_aspect()
480 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in i9xx_scale_aspect()
537 int pipe_src_h = drm_rect_height(&crtc_state->pipe_src); in gmch_panel_fitting()
Dintel_sprite.c83 src_h = drm_rect_height(src) >> 16; in intel_plane_check_src_coordinates()
434 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in vlv_sprite_update_noarm()
848 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in ivb_sprite_update_noarm()
850 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in ivb_sprite_update_noarm()
1175 u32 crtc_h = drm_rect_height(&plane_state->uapi.dst); in g4x_sprite_update_noarm()
1177 u32 src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in g4x_sprite_update_noarm()
1306 crtc_h = drm_rect_height(dst); in g4x_sprite_check_scaling()
1310 src_h = drm_rect_height(src) >> 16; in g4x_sprite_check_scaling()
Di9xx_plane.c292 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface()
429 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_plane_update_noarm()
466 int crtc_h = drm_rect_height(&plane_state->uapi.dst); in i9xx_plane_update_arm()
/linux-6.1.9/drivers/gpu/drm/armada/
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.1.9/drivers/gpu/drm/gud/
Dgud_pipe.c71 height = drm_rect_height(rect); in gud_xrgb8888_to_r124()
118 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color()
168 len = pitch * drm_rect_height(rect); in gud_prep_flush()
224 req->height = cpu_to_le32(drm_rect_height(rect)); in gud_prep_flush()
396 lines = drm_rect_height(&damage); in gud_flush_work()
401 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(&damage), lines); i++) { in gud_flush_work()
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
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()
Ddpu_plane.c157 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_bw()
158 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_bw()
202 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_clk()
204 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_calc_clk()
430 ot_params.height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_set_ot_limit()
642 u32 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_setup_scaler()
644 u32 dst_height = drm_rect_height(&pipe_cfg->dst_rect); in _dpu_plane_setup_scaler()
716 drm_rect_height(&pipe_cfg.dst_rect); in _dpu_plane_color_fill()
921 drm_rect_height(fb_rect) > MAX_IMG_HEIGHT) in dpu_plane_validate_src()
926 drm_rect_height(src) < min_src_size) in dpu_plane_validate_src()
[all …]
/linux-6.1.9/drivers/gpu/drm/imx/
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.1.9/drivers/gpu/drm/tests/
Ddrm_plane_helper_test.c42 drm_rect_height(&plane_state->src) != src_h) { in check_src_eq()
67 drm_rect_height(&plane_state->dst) != crtc_h) { in check_crtc_eq()
/linux-6.1.9/drivers/gpu/drm/sun4i/
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()
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.1.9/drivers/gpu/drm/rockchip/
Drockchip_drm_vop2.c487 u32 height = drm_rect_height(src) >> 16; in vop2_afbc_transform_offset()
969 if (drm_rect_width(src) >> 16 < 4 || drm_rect_height(src) >> 16 < 4 || in vop2_plane_atomic_check()
972 drm_rect_width(src) >> 16, drm_rect_height(src) >> 16, in vop2_plane_atomic_check()
973 drm_rect_width(dest), drm_rect_height(dest)); in vop2_plane_atomic_check()
979 drm_rect_height(src) >> 16 > vop2_data->max_input.height) { in vop2_plane_atomic_check()
982 drm_rect_height(src) >> 16, in vop2_plane_atomic_check()
1143 actual_h = drm_rect_height(src) >> 16; in vop2_plane_atomic_update()
1155 dsp_h = drm_rect_height(dest); in vop2_plane_atomic_update()
1163 actual_h = dsp_h * actual_h / drm_rect_height(dest); in vop2_plane_atomic_update()
1262 actual_w = drm_rect_height(src) >> 16; in vop2_plane_atomic_update()
/linux-6.1.9/drivers/gpu/drm/imx/dcss/
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.1.9/drivers/gpu/drm/rcar-du/
Drcar_du_vsp.c161 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rcar_du_vsp_plane_setup()
166 cfg.dst.height = drm_rect_height(&state->state.dst); in rcar_du_vsp_plane_setup()
/linux-6.1.9/drivers/gpu/drm/tegra/
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()
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.1.9/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c140 mtk_plane_state->pending.height = drm_rect_height(&new_state->dst); in mtk_plane_update_new_state()
/linux-6.1.9/drivers/gpu/drm/arm/
Dhdlcd_crtc.c275 dest_h = drm_rect_height(&new_plane_state->dst); in hdlcd_plane_atomic_update()

12