tech-x11 archive

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

netbsd-5 xf86-video-ati config.h update [was Re: netbsd-5 xf86-video-radeonhd busted]



On Tue, Nov 24, 2009 at 02:24:12PM -0500, Rafal Boni wrote:
> 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.

The config.h for the ati driver (xf86-video-ati), which includes the
radeon sub-driver, is also out of date in netbsd-5; the diff is 
attached below.  I don't have any examples of issues this causes,
but the driver built with the new config.h is no worse than the
driver built from stock netbsd-5 sources (I'm watching movies on
a machine with the newly rebuilt driver right now ;)).

---8<------8<------8<------8<------8<------8<------8<------8<---
diff --git a/external/mit/xf86-video-ati/include/config.h 
b/external/mit/xf86-video-ati/include/config.h
index f79e454..1d4ef83 100644
--- a/external/mit/xf86-video-ati/include/config.h
+++ b/external/mit/xf86-video-ati/include/config.h
@@ -16,7 +16,7 @@
 #define HAVE_DLFCN_H 1
 
 /* have new FreeShadow 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
@@ -25,7 +25,7 @@
 #define HAVE_MEMORY_H 1
 
 /* Have pci_device_enable prototype */
-/* #undef HAVE_PCI_DEVICE_ENABLE */
+#define HAVE_PCI_DEVICE_ENABLE 1
 
 /* Define to 1 if you have the <stdint.h> header file. */
 #define HAVE_STDINT_H 1
@@ -49,10 +49,10 @@
 #define HAVE_UNISTD_H 1
 
 /* Have xf86_crtc_clip_video_helper prototype */
-/* #undef HAVE_XF86CRTCCLIPVIDEOHELPER */
+#define HAVE_XF86CRTCCLIPVIDEOHELPER 1
 
 /* Have xf86ModeBandwidth prototype */
-/* #undef HAVE_XF86MODEBANDWIDTH */
+#define HAVE_XF86MODEBANDWIDTH 1
 
 /* Have xf86XVFillKeyHelperDrawable prototype */
 #define HAVE_XV_DRAWABLE_HELPER 1
---8<------8<------8<------8<------8<------8<------8<------8<---

--rafal

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


Home | Main Index | Thread Index | Old Index