Home
last modified time | relevance | path

Searched refs:drm_rect_width (Results 1 – 12 of 12) 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/i915/display/
H A Dintel_cursor.c77 int width = drm_rect_width(&plane_state->uapi.dst); in intel_cursor_size_ok()
124 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_cursor_check_surface()
217 int width = drm_rect_width(&plane_state->uapi.dst); in i845_cursor_size_ok()
247 drm_rect_width(&plane_state->uapi.dst), in i845_check_cursor()
283 unsigned int width = drm_rect_width(&plane_state->uapi.dst); in i845_cursor_update_arm()
408 switch (drm_rect_width(&plane_state->uapi.dst)) { in i9xx_cursor_ctl()
419 MISSING_CASE(drm_rect_width(&plane_state->uapi.dst)); in i9xx_cursor_ctl()
436 int width = drm_rect_width(&plane_state->uapi.dst); in i9xx_cursor_size_ok()
492 drm_rect_width(&plane_state->uapi.dst), in i9xx_check_cursor()
501 drm_rect_width(&plane_state->uapi.dst) * fb->format->cpp[0]) { in i9xx_check_cursor()
[all …]
H A Dskl_universal_plane.c1416 u32 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_plane_update_noarm()
1544 val |= (drm_rect_width(&plane_state->uapi.src) >> 16) - 1; in icl_plane_update_sel_fetch_noarm()
1564 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in icl_plane_update_noarm()
1851 int crtc_w = drm_rect_width(&plane_state->uapi.dst); in skl_plane_check_dst_coordinates()
1852 int pipe_src_w = drm_rect_width(&crtc_state->pipe_src); in skl_plane_check_dst_coordinates()
1883 int src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_plane_check_nv12_rotation()
2011 int w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_calc_main_surface_offset()
2062 int w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_check_main_surface()
2151 int luma_w = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_check_nv12_aux_surface()
H A Dintel_psr.c2698 width = drm_rect_width(&crtc_state->psr2_su_area); in psr2_pipe_srcsz_early_tpt_calc()
2923 crtc_state->psr2_su_area.x2 = drm_rect_width(&display_area); in intel_psr2_sel_fetch_update()
/linux/drivers/gpu/drm/gud/
H A Dgud_pipe.c68 width = drm_rect_width(rect); in gud_xrgb8888_to_r124()
115 width = drm_rect_width(rect); in gud_xrgb8888_to_color()
163 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(rect)); in gud_prep_flush()
214 req->width = cpu_to_le32(drm_rect_width(rect)); in gud_prep_flush()
339 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(damage)); in gud_flush_damage()
/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()
H A Ddc.c847 window.src.w = drm_rect_width(&new_state->src) >> 16; in tegra_plane_atomic_update()
851 window.dst.w = drm_rect_width(&new_state->dst); in tegra_plane_atomic_update()
1091 (drm_rect_width(&src) & tegra->hmask); in __tegra_cursor_atomic_update()
2439 unsigned int src_w = drm_rect_width(&state->src) >> 16; in tegra_plane_is_cursor()
2440 unsigned int dst_w = drm_rect_width(&state->dst); in tegra_plane_is_cursor()
/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()