Skip to contentSkip to conversation

Radeon lockup fix

PATCH Stephen C. Tweedie 2 participants 2 messages Sep 13, 2001 – Sep 14, 2001 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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

drivers/char/drm/radeon_cp.c renamed from drivers/char/drm/radeon_cp.c.~1~ +2 -4
@@ -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 );
 
 
#1 lore raw
Quoted 11 lines · Stephen C. Tweedie

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.

This patch also works fine for my All-in-Wonder Radeon on an AMD 760 mainboard. Tested with the DRI trunk.

-jwb