[Linux-ia64] Re: kernel update (relative to 2.4.10)

Bill Nottingham
2001-09-28T19:01:12Z

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

Bill Nottingham (notting@redhat.com) said:
> FWIW, PCI r128 seemed to work fine, at least until the machine
> check. :(

Attached is a patch for PCI that fixes a definite oops in r128 and
presumably the same one in the radeon driver. Dunno if this was related
to the hard lockup/machine check I saw or not.

Bill

[-- Attachment #2: linux-2.4.10-ia64-pcidrm.patch --]
[-- Type: text/plain, Size: 846 bytes --]

--- linux/drivers/char/drm/r128_cce.c.foo Fri Sep 28 14:26:06 2001
+++ linux/drivers/char/drm/r128_cce.c Fri Sep 28 14:26:17 2001
@@ -681,7 +681,7 @@
/*
* Free the page we grabbed for RPTR_ADDR
*/
- if( dev->agp->agp_info.chipset == INTEL_460GX ) {
+ if( !dev_priv->is_pci && dev->agp->agp_info.chipset == INTEL_460GX ) {
unsigned long alt_rh_off =
(unsigned long) dev_priv->ring.head;

--- linux-2.4.9-0.15/drivers/char/drm/radeon_cp.c.foo Fri Sep 28 14:46:11 2001
+++ linux-2.4.9-0.15/drivers/char/drm/radeon_cp.c Fri Sep 28 14:47:23 2001
@@ -1026,7 +1026,7 @@
/*
* Free the page we grabbed for RPTR_ADDR
*/
- if( dev->agp->agp_info.chipset == INTEL_460GX ) {
+ if( !dev_priv->is_pci && dev->agp->agp_info.chipset == INTEL_460GX ) {
unsigned long alt_rh_off =
(unsigned long) dev_priv->ring.head;