Re: [BUG] 2.4.20-rc2-ac3 oops (causer is DRM 4.3.x code)

From: Arjan van de Ven (arjanv@redhat.com)
Date: Mon Nov 25 2002 - 12:02:27 EST


On Mon, 2002-11-25 at 17:12, Marc-Christian Petersen wrote:
> Hi Alan, Hi Arjan,
>

@ -622,16 +615,20 @@
        if ( dev->dev_private ) {
                drm_r128_private_t *dev_priv = dev->dev_private;

+#if __REALLY_HAVE_SG
                if ( !dev_priv->is_pci ) {
+#endif
                        DRM_IOREMAPFREE( dev_priv->cce_ring );
                        DRM_IOREMAPFREE( dev_priv->ring_rptr );
                        DRM_IOREMAPFREE( dev_priv->buffers );
+#if __REALLY_HAVE_SG
                } else {
                        if (!DRM(ati_pcigart_cleanup)( dev,
                                                dev_priv->phys_pci_gart,
                                                dev_priv->bus_pci_gart
))
                                DRM_ERROR( "failed to cleanup PCI
GART!\n" );
                }
+#endif
 

is the only worthy change to drivers/char/drm/r128_cce.c that I can
think of that can cause this, could you try to just remove the #if's ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 30 2002 - 22:00:11 EST