summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/ni.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-02-18 13:19:28 +0100
committerAlex Deucher <alexander.deucher@amd.com>2015-02-25 16:06:08 -0500
commitacc1522a54a3ff4dc250b6e94c55c53c5240e234 (patch)
tree78620123272b7cd30e48c61da6e13979c6b6f930 /drivers/gpu/drm/radeon/ni.c
parent18ad01effefe9c16454f2dfe045a9b5252d08d7a (diff)
downloadlinux-stable-acc1522a54a3ff4dc250b6e94c55c53c5240e234.tar.gz
linux-stable-acc1522a54a3ff4dc250b6e94c55c53c5240e234.tar.bz2
linux-stable-acc1522a54a3ff4dc250b6e94c55c53c5240e234.zip
drm/radeon: enable SRBM timeout interrupt on EG/NI
Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ni.c')
-rw-r--r--drivers/gpu/drm/radeon/ni.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c
index 24242a7f0ac3..ebe68dd8e06a 100644
--- a/drivers/gpu/drm/radeon/ni.c
+++ b/drivers/gpu/drm/radeon/ni.c
@@ -962,6 +962,8 @@ static void cayman_gpu_init(struct radeon_device *rdev)
}
WREG32(GRBM_CNTL, GRBM_READ_TIMEOUT(0xff));
+ WREG32(SRBM_INT_CNTL, 0x1);
+ WREG32(SRBM_INT_ACK, 0x1);
evergreen_fix_pci_max_read_req_size(rdev);