summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-07-11 12:39:54 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-07-11 12:39:54 +0000
commit5eee69d6f0df03fb3ad1bcdc3e10386c3f0fe994 (patch)
tree4770ec90d3ca096f4ec7465249ff1d94edb05b84 /sys
parent05300b4c336f3122d2b56a0439d2ab9aa449fa2e (diff)
Turn FBINFO_xxx defines into proper flags. Gets rid of an unwanted
warning introduced by a recent commit to drm_fbdev_dma.c. ok jsg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/include/linux/fb.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/pci/drm/include/linux/fb.h b/sys/dev/pci/drm/include/linux/fb.h
index fa1035d8b15..ed622af7273 100644
--- a/sys/dev/pci/drm/include/linux/fb.h
+++ b/sys/dev/pci/drm/include/linux/fb.h
@@ -60,11 +60,9 @@ struct fb_info {
#define FBINFO_STATE_RUNNING 0
#define FBINFO_STATE_SUSPENDED 1
-#define FBINFO_DEFAULT 0
-#define FBINFO_VIRTFB 1
-#define FBINFO_READS_FAST 2
-
-#define FBINFO_HIDE_SMEM_START 0
+#define FBINFO_VIRTFB 0x0001
+#define FBINFO_READS_FAST 0x0002
+#define FBINFO_HIDE_SMEM_START 0x0004
#define FB_ROTATE_UR 0
#define FB_ROTATE_CW 1