From ee7cd3e6b622a8c40236ac26270e369bc28af007 Mon Sep 17 00:00:00 2001 From: pk33 Date: Sun, 3 Nov 2024 01:39:28 +0100 Subject: modesetting tweaks --- include/display.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'include/display.h') diff --git a/include/display.h b/include/display.h index efaf6f9..63fc7b2 100644 --- a/include/display.h +++ b/include/display.h @@ -14,7 +14,7 @@ typedef struct { typedef struct { Size id[2]; - u16 *map[2]; + u32 *map[2]; Size stride; Size size; } Framebuffer; @@ -24,11 +24,12 @@ typedef struct { Framebuffer fb; Surface surface; - struct drm_mode_get_connector connector; - struct drm_mode_get_encoder encoder; struct drm_mode_crtc crtc; + struct drm_mode_modeinfo mode; + struct drm_mode_get_connector connector; + + Size devfd, ttyfd; - Size devFd, ttyFd; Size active; } Display; -- cgit v1.2.3