Home
last modified time | relevance | path

Searched refs:drm_rect_width (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
88 drm_rect_width(r) >> 16, ((drm_rect_width(r) & 0xffff) * 15625) >> 10, \
184 static inline int drm_rect_width(const struct drm_rect *r) in drm_rect_width() function
210 return drm_rect_width(r) > 0 && drm_rect_height(r) > 0; in drm_rect_visible()
237 drm_rect_width(src) >> 16, in drm_rect_fp_to_int()
/linux/drivers/gpu/drm/
H A Ddrm_rect.c98 u32 new_src_w = clip_scaled(drm_rect_width(src), in drm_rect_clip_scaled()
99 drm_rect_width(dst), &diff); in drm_rect_clip_scaled()
114 u32 new_src_w = clip_scaled(drm_rect_width(src), in drm_rect_clip_scaled()
115 drm_rect_width(dst), &diff); in drm_rect_clip_scaled()
172 int src_w = drm_rect_width(src); in drm_rect_calc_hscale()
173 int dst_w = drm_rect_width(dst); in drm_rect_calc_hscale()
H A Ddrm_plane_helper.c113 .src_w = drm_rect_width(src), in drm_plane_helper_check_update()
117 .crtc_w = drm_rect_width(dst), in drm_plane_helper_check_update()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_sspp.h369 drm_rect_width(&cfg->src_rect); in dpu_hw_setup_rects_impl()
372 drm_rect_width(&cfg->dst_rect); in dpu_hw_setup_rects_impl()
/linux/drivers/gpu/drm/tegra/
H A Dplane.c241 src_w = drm_rect_width(&state->src) >> 16; in tegra_plane_calculate_memory_bandwidth()
243 dst_w = drm_rect_width(&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()
432 frame->height = cpu_to_le16(drm_rect_width(&damage)); in appletbdrm_flush_damage()
/linux/drivers/gpu/drm/tests/
H A Ddrm_format_helper_test.c583 dst_pitch = drm_format_info_min_pitch(dst_fi, plane, drm_rect_width(clip)); in conversion_buf_size()
1326 drm_rect_width(&params->clip)); in drm_test_fb_clip_offset()