Skip to contentSkip to conversation

drm/radeon/kms: set SX_MISC in the r6xx blit code (v2)

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

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: set SX_MISC in the r6xx blit code (v2)

Mesa may set it to 1, causing all primitives to be killed.

v2: also update the r7xx code

---
 drivers/gpu/drm/radeon/r600_blit_shaders.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/r600_blit_shaders.c +8 -0
index 2d1f6c5..73e2c7c 100644
@@ -314,6 +314,10 @@ const u32 r6xx_default_state[] =
 	0x00000000, /* VGT_VTX_CNT_EN */
 
 	0xc0016900,
+	0x000000d4,
+	0x00000000, /* SX_MISC */
+
+	0xc0016900,
 	0x000002c8,
 	0x00000000, /* VGT_STRMOUT_BUFFER_EN */
 
@@ -626,6 +630,10 @@ const u32 r7xx_default_state[] =
 	0x00000000, /* VGT_VTX_CNT_EN */
 
 	0xc0016900,
+	0x000000d4,
+	0x00000000, /* SX_MISC */
+
+	0xc0016900,
 	0x000002c8,
 	0x00000000, /* VGT_STRMOUT_BUFFER_EN */
 
Signature · 6 lines
1.7.5.4

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Marek Olšák

Mesa may set it to 1, causing all primitives to be killed.

v2: also update the r7xx code

Quoted 30 lines

---
 drivers/gpu/drm/radeon/r600_blit_shaders.c |    8 ++++++++

 1 files changed, 8 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/r600_blit_shaders.c +0 -0
index 2d1f6c5..73e2c7c 100644
@@ -314,6 +314,10 @@ const u32 r6xx_default_state[] =

       0x00000000, /* VGT_VTX_CNT_EN */

       0xc0016900,
+       0x000000d4,
+       0x00000000, /* SX_MISC */
+
+       0xc0016900,
       0x000002c8,
       0x00000000, /* VGT_STRMOUT_BUFFER_EN */

drivers/gpu/drm/radeon/r600_blit_shaders.c +0 -0
@@ -626,6 +630,10 @@ const u32 r7xx_default_state[] =

       0x00000000, /* VGT_VTX_CNT_EN */

       0xc0016900,
+       0x000000d4,
+       0x00000000, /* SX_MISC */
+
+       0xc0016900,
       0x000002c8,
       0x00000000, /* VGT_STRMOUT_BUFFER_EN */

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