diff options
| author | Marek Olšák <maraeo@gmail.com> | 2012-03-07 17:33:00 -0500 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2012-03-26 05:26:58 -0400 |
| commit | 4d2f675d91dafaadb5ee3f4598896cbb93fcba8d (patch) | |
| tree | cf244c6d244ce2d1a6d310b6190dfaaae49383a5 /drivers/gpu/drm | |
| parent | d188607d166120ce377e24871b6ab78273d9cfd3 (diff) | |
drm/radeon/kms: set SX_MISC in the r6xx blit code (v2)
BugLink: http://bugs.launchpad.net/bugs/954576
commit cf00790dea6f210ddd01a6656da58c7c9a4ea0e4 upstream.
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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm')
| -rw-r--r-- | drivers/gpu/drm/radeon/r600_blit_shaders.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600_blit_shaders.c b/drivers/gpu/drm/radeon/r600_blit_shaders.c index 2d1f6c5ee2a..73e2c7c6edb 100644 --- a/drivers/gpu/drm/radeon/r600_blit_shaders.c +++ b/drivers/gpu/drm/radeon/r600_blit_shaders.c | |||
| @@ -314,6 +314,10 @@ const u32 r6xx_default_state[] = | |||
| 314 | 0x00000000, /* VGT_VTX_CNT_EN */ | 314 | 0x00000000, /* VGT_VTX_CNT_EN */ |
| 315 | 315 | ||
| 316 | 0xc0016900, | 316 | 0xc0016900, |
| 317 | 0x000000d4, | ||
| 318 | 0x00000000, /* SX_MISC */ | ||
| 319 | |||
| 320 | 0xc0016900, | ||
| 317 | 0x000002c8, | 321 | 0x000002c8, |
| 318 | 0x00000000, /* VGT_STRMOUT_BUFFER_EN */ | 322 | 0x00000000, /* VGT_STRMOUT_BUFFER_EN */ |
| 319 | 323 | ||
| @@ -626,6 +630,10 @@ const u32 r7xx_default_state[] = | |||
| 626 | 0x00000000, /* VGT_VTX_CNT_EN */ | 630 | 0x00000000, /* VGT_VTX_CNT_EN */ |
| 627 | 631 | ||
| 628 | 0xc0016900, | 632 | 0xc0016900, |
| 633 | 0x000000d4, | ||
| 634 | 0x00000000, /* SX_MISC */ | ||
| 635 | |||
| 636 | 0xc0016900, | ||
| 629 | 0x000002c8, | 637 | 0x000002c8, |
| 630 | 0x00000000, /* VGT_STRMOUT_BUFFER_EN */ | 638 | 0x00000000, /* VGT_STRMOUT_BUFFER_EN */ |
| 631 | 639 | ||
