Searched refs:r_qr_canvas (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_panic.c | 787 struct drm_rect r_screen, r_logo, r_msg, r_qr, r_qr_canvas; in _draw_panic_static_qr_code() local 817 r_qr_canvas = DRM_RECT_INIT(0, 0, qr_canvas_width * scale, qr_canvas_width * scale); in _draw_panic_static_qr_code() 819 v_margin = (sb->height - drm_rect_height(&r_qr_canvas) - drm_rect_height(&r_msg)) / 5; in _draw_panic_static_qr_code() 821 drm_rect_translate(&r_qr_canvas, (sb->width - r_qr_canvas.x2) / 2, 2 * v_margin); 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() 827 3 * v_margin + drm_rect_height(&r_qr_canvas)); in _draw_panic_static_qr_code() 839 drm_panic_fill(sb, &r_qr_canvas, fg_color); in _draw_panic_static_qr_code()
|