Skip to contentSkip to conversation

r6xx: initialize SX_MISC

PATCH In review Marek Olšák 2 participants 2 messages Mar 7, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 r6xx: initialize SX_MISC

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(-)
src/r6xx_accel.c +1 -0
index 8e6bffa..ab878c3 100644
@@ -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();
 }
 
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 4 lines · Marek Olšák

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.

Pushed. thanks!

Quoted 16 lines

 src/r6xx_accel.c |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
src/r6xx_accel.c +0 -0
index 8e6bffa..ab878c3 100644
@@ -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();
 }

Quoted 7 lines

--
1.7.5.4

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel