Home
last modified time | relevance | path

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

/linux-6.12.1/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_format_helper_test.c123 .clip = DRM_RECT_INIT(0, 0, 1, 1),
186 .clip = DRM_RECT_INIT(1, 1, 1, 1),
256 .clip = DRM_RECT_INIT(1, 1, 2, 4),
401 .clip = DRM_RECT_INIT(0, 0, 3, 3),
1253 .clip = DRM_RECT_INIT(0, 0, 3, 3),
1260 .clip = DRM_RECT_INIT(1, 0, 3, 3),
1267 .clip = DRM_RECT_INIT(0, 1, 3, 3),
1274 .clip = DRM_RECT_INIT(1, 1, 3, 3),
1281 .clip = DRM_RECT_INIT(1, 0, 3, 3),
1288 .clip = DRM_RECT_INIT(0, 1, 3, 3),
[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()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_panic.c535 r_screen = DRM_RECT_INIT(0, 0, sb->width, sb->height); in draw_panic_static_user()
540 r_msg = DRM_RECT_INIT(0, 0, msg_width, msg_height); in draw_panic_static_user()
562 struct drm_rect r_txt = DRM_RECT_INIT(0, yoffset, sb->width, sb->height); in draw_line_with_wrap()
596 struct drm_rect r_screen = DRM_RECT_INIT(0, 0, sb->width, sb->height); in draw_panic_static_kmsg()
796 r_screen = DRM_RECT_INIT(0, 0, sb->width, sb->height); in _draw_panic_static_qr_code()
802 r_msg = DRM_RECT_INIT(0, 0, msg_width, msg_height); in _draw_panic_static_qr_code()
817 r_qr_canvas = DRM_RECT_INIT(0, 0, qr_canvas_width * scale, qr_canvas_width * scale); in _draw_panic_static_qr_code()
822 r_qr = DRM_RECT_INIT(r_qr_canvas.x1 + QR_MARGIN * scale, r_qr_canvas.y1 + QR_MARGIN * scale, in _draw_panic_static_qr_code()
/linux-6.12.1/include/drm/
Ddrm_rect.h60 #define DRM_RECT_INIT(x, y, w, h) ((struct drm_rect){ \ macro