summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/cik.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2013-08-30 11:10:33 +0200
committerAlex Deucher <alexander.deucher@amd.com>2013-08-30 22:31:15 +0200
commit6a3808b8233eb91b57c230cf1161ac116a189ffd (patch)
tree753afced708b10139e0d362a268763eb96ce905a /drivers/gpu/drm/radeon/cik.c
parentdrm/radeon: fix init ordering for r600+ (diff)
downloadlinux-6a3808b8233eb91b57c230cf1161ac116a189ffd.tar.xz
linux-6a3808b8233eb91b57c230cf1161ac116a189ffd.zip
drm/radeon: enable UVD interrupts on CIK
The same as on evergreen. Signed-off-by: Christian König <christian.koenig@amd.com> Reported-by: FrankR Huang <FrankR.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/radeon/cik.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
index 148c539684bb..a77b593185fb 100644
--- a/drivers/gpu/drm/radeon/cik.c
+++ b/drivers/gpu/drm/radeon/cik.c
@@ -6733,6 +6733,10 @@ restart_ih:
break;
}
break;
+ case 124: /* UVD */
+ DRM_DEBUG("IH: UVD int: 0x%08x\n", src_data);
+ radeon_fence_process(rdev, R600_RING_TYPE_UVD_INDEX);
+ break;
case 146:
case 147:
addr = RREG32(VM_CONTEXT1_PROTECTION_FAULT_ADDR);