[PATCH] r6xx: initialize SX_MISC

Marek Olšák maraeo at gmail.com
Wed Mar 7 07:56:40 PST 2012


If Mesa set it to 1, the DDX would not render anything = the monitor would
basically freeze.
---
If it's right, please apply it to xf86-video-ati. I don't have commit access.

 src/r6xx_accel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index 8e6bffa..ab878c3 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -1200,6 +1200,7 @@ r600_set_default_state(ScrnInfoPtr pScrn, drmBufPtr ib)
     E32(ib, 0); // VGT_VTX_CNT_EN
 
     EREG(ib, VGT_STRMOUT_BUFFER_EN,               0);
+    EREG(ib, SX_MISC,                             0);
     END_BATCH();
 }
 
-- 
1.7.5.4



More information about the dri-devel mailing list