artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8a0a3f
)
Turn FBINFO_xxx defines into proper flags. Gets rid of an unwanted
author
kettenis
<kettenis@openbsd.org>
Thu, 11 Jul 2024 12:39:53 +0000
(12:39 +0000)
committer
kettenis
<kettenis@openbsd.org>
Thu, 11 Jul 2024 12:39:53 +0000
(12:39 +0000)
warning introduced by a recent commit to drm_fbdev_dma.c.
ok jsg@
sys/dev/pci/drm/include/linux/fb.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/include/linux/fb.h
b/sys/dev/pci/drm/include/linux/fb.h
index
fa1035d
..
ed622af
100644
(file)
--- 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