Home
last modified time | relevance | path

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

12

/linux/include/drm/
H 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/drivers/gpu/drm/
H A Ddrm_rect.c106 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled()
107 drm_rect_height(dst), &diff); in drm_rect_clip_scaled()
122 u32 new_src_h = clip_scaled(drm_rect_height(src), in drm_rect_clip_scaled()
123 drm_rect_height(dst), &diff); in drm_rect_clip_scaled()
207 int src_h = drm_rect_height(src); in drm_rect_calc_vscale()
208 int dst_h = drm_rect_height(dst); in drm_rect_calc_vscale()
H A Ddrm_plane_helper.c114 .src_h = drm_rect_height(src), in drm_plane_helper_check_update()
118 .crtc_h = drm_rect_height(dst), in drm_plane_helper_check_update()
H A Ddrm_fb_helper.c511 drm_rect_height(&damage_area)); in drm_fb_helper_damage_range()
564 drm_rect_height(&damage_area)); in drm_fb_helper_deferred_io()
/linux/drivers/gpu/drm/armada/
H A Darmada_plane.c109 st->src_hw = drm_rect_height(&new_plane_state->src) >> 17; in armada_drm_plane_atomic_check()
111 st->dst_hw = drm_rect_height(&new_plane_state->dst) >> 1; in armada_drm_plane_atomic_check()
113 st->src_hw = drm_rect_height(&new_plane_state->src) >> 16; in armada_drm_plane_atomic_check()
115 st->dst_hw = drm_rect_height(&new_plane_state->dst); in armada_drm_plane_atomic_check()
/linux/drivers/gpu/drm/gud/
H 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()
164 len = pitch * drm_rect_height(rect); in gud_prep_flush()
215 req->height = cpu_to_le32(drm_rect_height(rect)); in gud_prep_flush()
340 lines = drm_rect_height(damage); in gud_flush_damage()
345 for (i = 0; i < DIV_ROUND_UP(drm_rect_height(damage), lines); i++) { in gud_flush_damage()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.h368 src_size = (drm_rect_height(&cfg->src_rect) << 16) | in dpu_hw_setup_rects_impl()
371 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) | in dpu_hw_setup_rects_impl()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_vsp.c136 cfg.src.height = drm_rect_height(&state->state.src) >> 16; in rzg2l_du_vsp_plane_setup()
141 cfg.dst.height = drm_rect_height(&state->state.dst); in rzg2l_du_vsp_plane_setup()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_plane.c213 src_h = drm_rect_height(src) >> 16; in intel_adjusted_rate()
215 dst_h = drm_rect_height(dst); in intel_adjusted_rate()
280 height = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_relative_data_rate()
488 int src_h = drm_rect_height(&plane_state->uapi.src) >> 16; in intel_plane_is_scaled()
490 int dst_h = drm_rect_height(&plane_state->uapi.dst); in intel_plane_is_scaled()
1118 src_h = drm_rect_height(src) >> 16; in intel_plane_check_src_coordinates()
H A Dintel_psr.c2639 drm_rect_height(&crtc_state->psr2_su_area)); in intel_psr2_program_trans_man_trk_ctl()
2685 height = drm_rect_height(&crtc_state->psr2_su_area); in psr2_pipe_srcsz_early_tpt_calc()
3033 if (drm_rect_height(&old_plane_state->psr2_sel_fetch_area) > 0) in intel_psr2_sel_fetch_update()
/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c305 src_h = drm_rect_height(&src) >> 16; in dcss_plane_atomic_update()
307 dst_h = drm_rect_height(&dst); in dcss_plane_atomic_update()
/linux/drivers/gpu/drm/tests/
H A Ddrm_rect_test.c22 KUNIT_EXPECT_EQ(test, drm_rect_height(r), drm_rect_height(expected)); in drm_rect_compare()
H A Ddrm_format_helper_test.c585 return dst_pitch * drm_rect_height(clip); in conversion_buf_size()
/linux/drivers/gpu/drm/tegra/
H 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()
H A Ddc.c749 window.src.h = drm_rect_height(&new_state->src) >> 16; in tegra_plane_atomic_update()
753 window.dst.h = drm_rect_height(&new_state->dst); in tegra_plane_atomic_update()
989 value = (drm_rect_height(&src) & tegra->vmask) << 16 | in __tegra_cursor_atomic_update()
2066 window.src.h = drm_rect_height(&plane->state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
2067 window.dst.h = drm_rect_height(&plane->state->dst); in tegra_crtc_update_memory_bandwidth()
2069 old_window.src.h = drm_rect_height(&old_plane_state->src) >> 16; in tegra_crtc_update_memory_bandwidth()
2070 old_window.dst.h = drm_rect_height(&old_plane_state->dst); in tegra_crtc_update_memory_bandwidth()
/linux/drivers/gpu/drm/tiny/
H A Dappletbdrm.c302 return drm_rect_width(rect) * drm_rect_height(rect) * in rect_size()
425 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_plane.c190 mtk_plane_state->pending.height = drm_rect_height(&new_state->dst); in mtk_plane_update_new_state()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c810 drm_rect_height(&rects[i]) > dev_priv->stdu_max_height)) { in vmw_kms_check_display_memory()
823 (u64) drm_rect_height(&rects[i]); in vmw_kms_check_display_memory()
1279 du->pref_height = drm_rect_height(&rects[du->unit]); in vmw_du_update_layout()
H A Dvmwgfx_stdu.c1217 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1325 box->h = drm_rect_height(clip); in vmw_stdu_surface_populate_clip()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c875 src_h = drm_rect_height(src); in mdp5_plane_mode_set()
880 crtc_h = drm_rect_height(dest); in mdp5_plane_mode_set()
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c749 hstate->src_h = drm_rect_height(&s->src) >> 16; in atmel_hlcdc_plane_atomic_check()
753 hstate->crtc_h = drm_rect_height(&s->dst); in atmel_hlcdc_plane_atomic_check()
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_modeset.c391 lines = drm_rect_height(&dst_clip); in drm_sysfb_plane_helper_atomic_disable()
/linux/drivers/gpu/drm/solomon/
H A Dssd130x.c737 unsigned int height = drm_rect_height(rect); in ssd130x_update_rect()
842 unsigned int height = drm_rect_height(rect); in ssd132x_update_rect()
899 unsigned int rows = drm_rect_height(rect); in ssd133x_update_rect()
/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c954 actual_h = drm_rect_height(src) >> 16; in vop_plane_atomic_update()
957 dsp_info = (drm_rect_height(dest) - 1) << 16; in vop_plane_atomic_update()
1033 drm_rect_width(dest), drm_rect_height(dest), in vop_plane_atomic_update()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_plane.c548 rcar_du_plane_write(rgrp, index, PnDSYR, drm_rect_height(dst)); in rcar_du_plane_setup_format()

12