tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netbsd-5 xf86-video-radeonhd busted



The config.h that's part of the xf86-video-radeonhd in the netbsd-5
xsrc appears busted -- I think this is directly related to the "blank
screen on server startup" that people have reported with radeonhd for
a while (I see references to similar issues back to June) -- that's
the result I got when I upgraded to the latest 5.0_STABLE userland
and X on my amd64 machine earlier this week.

Regenerating the config.h and rebuilding the radeonhd driver gives
a driver that once again happily enables the screen correctly.  See
the attached diff to config.h below.

I haven't looked at the config.h in -current, but since that's using
a newer driver version (1.3.0), I need to figure out what the right
thing to do to fix this in netbsd-5 is... probably send a pullup for
the patch below..

--rafal

diff --git a/external/mit/xf86-video-radeonhd/include/config.h 
b/external/mit/xf86-video-radeonhd/include/config.h
index b974973..0890bbc 100644
--- a/external/mit/xf86-video-radeonhd/include/config.h
+++ b/external/mit/xf86-video-radeonhd/include/config.h
@@ -20,7 +20,7 @@
 #define HAVE_DLFCN_H 1
 
 /* have RotateFreeShadow API */
-/* #undef HAVE_FREE_SHADOW */
+#define HAVE_FREE_SHADOW 1
 
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1
@@ -99,7 +99,7 @@
 #define STDC_HEADERS 1
 
 /* Build support for DRI */
-/* #undef USE_DRI */
+#define USE_DRI 1
 
 /* Build support for Exa */
 #define USE_EXA 1
@@ -108,6 +108,6 @@
 #define VERSION "1.2.5"
 
 /* xf86CrtcFuncsRec has member set_mode_major */
-/* #undef XF86CRTCFUNCS_HAS_SETMODEMAJOR */
+#define XF86CRTCFUNCS_HAS_SETMODEMAJOR 1
 
 #endif

-- 
  Time is an illusion; lunchtime, doubly so.     |/\/\|           Rafal Boni
                   -- Ford Prefect               |\/\/|      
rafal%pobox.com@localhost


Home | Main Index | Thread Index | Old Index