summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cik.c
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2013-10-30 14:41:35 +0100
committerAlex Deucher <alexander.deucher@amd.com>2013-11-01 15:25:51 -0400
commit1dac28eb726109e7ac256051b157baf60b21a5f7 (patch)
treef8b8b24e3f6263c916efa3918eecd9298a98b8fa /drivers/gpu/drm/radeon/cik.c
parent727ddc84a1373bf06b2fa261f44e38fb0faf5340 (diff)
drm/radeon: don't use PACKET2 on CIK
It is said to cause hangs. Signed-off-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/cik.c')
-rw-r--r--drivers/gpu/drm/radeon/cik.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
index 2ddb01d4dea..afee68a49b3 100644
--- a/drivers/gpu/drm/radeon/cik.c
+++ b/drivers/gpu/drm/radeon/cik.c
@@ -7188,7 +7188,7 @@ static int cik_startup(struct radeon_device *rdev)
ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX];
r = radeon_ring_init(rdev, ring, ring->ring_size, RADEON_WB_CP_RPTR_OFFSET,
CP_RB0_RPTR, CP_RB0_WPTR,
- RADEON_CP_PACKET2);
+ PACKET3(PACKET3_NOP, 0x3FFF));
if (r)
return r;