aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-01-30 14:35:04 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-22 12:41:27 -0800
commit1dd657f51365243577666beba4ee0644a6feeec6 (patch)
tree7432ff05b1c0ea795bc7f7757e3c4491ec0fafed
parent5e33b2d90acb2d0272596cae533d920a0399a88a (diff)
downloadlinux-1dd657f51365243577666beba4ee0644a6feeec6.tar.gz
drm/radeon: fix UVD IRQ support on 7xx
commit 858a41c853cef2cb01de34dae334c19c1c15b237 upstream. Otherwise decoding isn't really useable. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/gpu/drm/radeon/r600.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
index 1b8c3707bf4..4cf21ec1abe 100644
--- a/drivers/gpu/drm/radeon/r600.c
+++ b/drivers/gpu/drm/radeon/r600.c
@@ -4509,6 +4509,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 176: /* CP_INT in ring buffer */
case 177: /* CP_INT in IB1 */
case 178: /* CP_INT in IB2 */