[PATCH 2/2] fb: add back fb defines for driver compat.

Dave Airlie airlied at gmail.com
Mon Mar 28 21:26:44 PDT 2011


From: Dave Airlie <airlied at redhat.com>

we could drop these really and just fixup the drivers, but
since they'll build fine but fail to work this seems safer.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 fb/fb.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fb/fb.h b/fb/fb.h
index e73de3c..0af9ea2 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -104,6 +104,9 @@
  * windows with 32bpp image format for application compatibility
  */
 
+/* for driver compat - intel UXA needs the second one at least */
+#define FB_24BIT
+#define FB_24_32BIT
 
 #define FB_STIP_SHIFT	LOG2_BITMAP_PAD
 #define FB_STIP_UNIT	(1 << FB_STIP_SHIFT)
-- 
1.7.4.1



More information about the xorg-devel mailing list