linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Radeon lockup fix
@ 2001-09-13 21:18 Stephen C. Tweedie
  2001-09-14  5:02 ` Jeffrey W. Baker
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen C. Tweedie @ 2001-09-13 21:18 UTC (permalink / raw)
  To: Alan Cox, dri-devel; +Cc: linux-kernel, Stephen Tweedie, mharris

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 );
 
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Radeon lockup fix
  2001-09-13 21:18 Radeon lockup fix Stephen C. Tweedie
@ 2001-09-14  5:02 ` Jeffrey W. Baker
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey W. Baker @ 2001-09-14  5:02 UTC (permalink / raw)
  To: Stephen C. Tweedie; +Cc: Alan Cox, dri-devel, linux-kernel, mharris

On Thu, 13 Sep 2001, Stephen C. Tweedie wrote:

> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-14  5:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-13 21:18 Radeon lockup fix Stephen C. Tweedie
2001-09-14  5:02 ` Jeffrey W. Baker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).