| /linux/include/drm/ |
| H A D | drm_rect.h | 74 #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 D | drm_rect.c | 106 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 D | drm_plane_helper.c | 114 .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 D | drm_fb_helper.c | 511 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 D | armada_plane.c | 109 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 D | gud_pipe.c | 69 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 D | dpu_hw_sspp.h | 368 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 D | rzg2l_du_vsp.c | 136 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 D | intel_plane.c | 213 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 D | intel_psr.c | 2639 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 D | dcss-plane.c | 305 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 D | drm_rect_test.c | 22 KUNIT_EXPECT_EQ(test, drm_rect_height(r), drm_rect_height(expected)); in drm_rect_compare()
|
| H A D | drm_format_helper_test.c | 585 return dst_pitch * drm_rect_height(clip); in conversion_buf_size()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 242 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 D | dc.c | 749 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 D | appletbdrm.c | 302 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 D | mtk_plane.c | 190 mtk_plane_state->pending.height = drm_rect_height(&new_state->dst); in mtk_plane_update_new_state()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_kms.c | 810 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 D | vmwgfx_stdu.c | 1217 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 D | mdp5_plane.c | 875 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 D | atmel_hlcdc_plane.c | 749 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 D | drm_sysfb_modeset.c | 391 lines = drm_rect_height(&dst_clip); in drm_sysfb_plane_helper_atomic_disable()
|
| /linux/drivers/gpu/drm/solomon/ |
| H A D | ssd130x.c | 737 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 D | rockchip_drm_vop.c | 954 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 D | rcar_du_plane.c | 548 rcar_du_plane_write(rgrp, index, PnDSYR, drm_rect_height(dst)); in rcar_du_plane_setup_format()
|