Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c917 struct drm_rect *fb_rect, in dpu_plane_validate_src() argument
921 if (drm_rect_width(fb_rect) > MAX_IMG_WIDTH || in dpu_plane_validate_src()
922 drm_rect_height(fb_rect) > MAX_IMG_HEIGHT) in dpu_plane_validate_src()
931 return drm_rect_intersect(fb_rect, src) && in dpu_plane_validate_src()
932 drm_rect_equals(fb_rect, src); in dpu_plane_validate_src()
942 struct drm_rect src, dst, fb_rect = { 0 }; in dpu_plane_atomic_check() local
967 fb_rect.x2 = state->fb->width; in dpu_plane_atomic_check()
968 fb_rect.y2 = state->fb->height; in dpu_plane_atomic_check()
985 } else if (!dpu_plane_validate_src(&src, &fb_rect, min_src_size)) { in dpu_plane_atomic_check()