Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/tests/
Ddrm_rect_test.c222 .r1 = DRM_RECT_INIT(1, 1, 2, 2),
223 .r2 = DRM_RECT_INIT(0, 0, 2, 2),
225 .expected_intersection = DRM_RECT_INIT(1, 1, 1, 1),
229 .r1 = DRM_RECT_INIT(0, 0, 2, 2),
230 .r2 = DRM_RECT_INIT(1, -1, 2, 2),
232 .expected_intersection = DRM_RECT_INIT(1, 0, 1, 1),
236 .r1 = DRM_RECT_INIT(1, -1, 2, 2),
237 .r2 = DRM_RECT_INIT(0, 0, 2, 2),
239 .expected_intersection = DRM_RECT_INIT(1, 0, 1, 1),
243 .r1 = DRM_RECT_INIT(0, 0, 2, 2),
[all …]
Ddrm_plane_helper_test.c86 struct drm_rect expected = DRM_RECT_INIT(src_x, src_y, src_w, src_h); in check_src_eq()
105 struct drm_rect expected = DRM_RECT_INIT(crtc_x, crtc_y, crtc_w, crtc_h); in check_crtc_eq()
Ddrm_format_helper_test.c97 .clip = DRM_RECT_INIT(0, 0, 1, 1),
148 .clip = DRM_RECT_INIT(1, 1, 1, 1),
206 .clip = DRM_RECT_INIT(1, 1, 2, 4),
324 .clip = DRM_RECT_INIT(0, 0, 3, 3),
/Linux-v6.6/include/drm/
Ddrm_rect.h60 #define DRM_RECT_INIT(x, y, w, h) ((struct drm_rect){ \ macro