Radeon lockup fix

Stephen C. Tweedie (sct@redhat.com)
Thu, 13 Sep 2001 22:18:34 +0100


Hi,

I've also been seeing the AMD-761 + radeon total lockup when X starts,
as described in

http://sourceforge.net/tracker/index.php?func=detail&aid=221904&group_id=387&atid=100387

The X server fixes from ATI seem to fix this when running without dri,
but in dri mode, I still see the lockups 75% of the time. However,
the fix described above and appended below appears to be a complete
cure for me so far.

I'd like the opinion of the DRI folks about whether this should be in
the mainline kernel DRM, or if this is just a workaround for a problem
that still needs fixed elsewhere, but it certainly appears to work
fine for me.

--Stephen

--- linux/drivers/char/drm/radeon_cp.c.~1~ Wed Sep 12 15:14:40 2001
+++ linux/drivers/char/drm/radeon_cp.c Wed Sep 12 15:16:00 2001
@@ -543,8 +543,7 @@
RADEON_SOFT_RESET_RE |
RADEON_SOFT_RESET_PP |
RADEON_SOFT_RESET_E2 |
- RADEON_SOFT_RESET_RB |
- RADEON_SOFT_RESET_HDP ) );
+ RADEON_SOFT_RESET_RB ) );
RADEON_READ( RADEON_RBBM_SOFT_RESET );
RADEON_WRITE( RADEON_RBBM_SOFT_RESET, ( rbbm_soft_reset &
~( RADEON_SOFT_RESET_CP |
@@ -553,8 +552,7 @@
RADEON_SOFT_RESET_RE |
RADEON_SOFT_RESET_PP |
RADEON_SOFT_RESET_E2 |
- RADEON_SOFT_RESET_RB |
- RADEON_SOFT_RESET_HDP ) ) );
+ RADEON_SOFT_RESET_RB ) ) );
RADEON_READ( RADEON_RBBM_SOFT_RESET );


-
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/