diff options
author | pk33 <pk33@pk33.space> | 2024-11-03 01:39:28 +0100 |
---|---|---|
committer | pk33 <pk33@pk33.space> | 2024-11-03 01:39:28 +0100 |
commit | ee7cd3e6b622a8c40236ac26270e369bc28af007 (patch) | |
tree | d5473064793f559d6677de193b4c827cf6623d2e /include/display.h | |
parent | dd5240ff7a87e85bca15b294236220ac0576055f (diff) | |
download | engine33-ee7cd3e6b622a8c40236ac26270e369bc28af007.tar.gz |
modesetting tweaks
Diffstat (limited to 'include/display.h')
-rw-r--r-- | include/display.h | 9 |
1 files changed, 5 insertions, 4 deletions
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; |