Subject: building XFree with X11DRI enabled
To: None <tech-x11@netbsd.org>
From: =?ISO-8859-1?Q?C=E9sar_Catri=E1n?= C. <ccatrian@eml.cc>
List: tech-x11
Date: 12/20/2004 00:32:31
Hi
I am using the 2.0 sources with X11DRI=3DYES, and my video hardware is a vo=
odoo3.
Please check the patch below.
The kernel module seems built only for mga. Is there some kernel support fo=
r my=20
card around?
Thanks for the help.
--
C=E9sar Catri=E1n C.
http://mioficina.cjc.cl
--- xfree/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_irq.=
h.orig 2004-12-18 18:09:44.000000000 -0300
+++ xfree/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm_irq.=
h 2004-12-18 18:11:34.000000000 -0300
@@ -89,7 +89,9 @@
TASK_INIT(&dev->task, 0, DRM(dma_immediate_bh), dev);
#endif
=20
+#ifdef __FreeBSD__
DRM_SPININIT(dev->irq_lock, "DRM IRQ lock");
+#endif
=20
/* Before installing handler */
DRM(driver_irq_preinstall)( dev );