Skip to content

Commit

Permalink
drm/radeon/kms: set SX_MISC in the r6xx blit code (v2)
Browse files Browse the repository at this point in the history
Mesa may set it to 1, causing all primitives to be killed.

v2: also update the r7xx code

Signed-off-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
marekolsak authored and airlied committed Mar 8, 2012
1 parent aaefcd4 commit cf00790
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/gpu/drm/radeon/r600_blit_shaders.c
Expand Up @@ -313,6 +313,10 @@ const u32 r6xx_default_state[] =
0x00000000, /* VGT_REUSE_OFF */
0x00000000, /* VGT_VTX_CNT_EN */

0xc0016900,
0x000000d4,
0x00000000, /* SX_MISC */

0xc0016900,
0x000002c8,
0x00000000, /* VGT_STRMOUT_BUFFER_EN */
Expand Down Expand Up @@ -625,6 +629,10 @@ const u32 r7xx_default_state[] =
0x00000000, /* VGT_REUSE_OFF */
0x00000000, /* VGT_VTX_CNT_EN */

0xc0016900,
0x000000d4,
0x00000000, /* SX_MISC */

0xc0016900,
0x000002c8,
0x00000000, /* VGT_STRMOUT_BUFFER_EN */
Expand Down

0 comments on commit cf00790

Please sign in to comment.