Home
last modified time | relevance | path

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

/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()
/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/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()
/linux/drivers/gpu/drm/tiny/
H A Dappletbdrm.c302 return drm_rect_width(rect) * drm_rect_height(rect) * in rect_size()
431 frame->width = cpu_to_le16(drm_rect_height(&damage)); in appletbdrm_flush_damage()
/linux/drivers/gpu/drm/tests/
H A Ddrm_format_helper_test.c585 return dst_pitch * drm_rect_height(clip); in conversion_buf_size()