drm/radeon: fix UVD IRQ support on 7xx
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jan 2014 19:35:04 +0000 (14:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Feb 2014 17:22:45 +0000 (12:22 -0500)
Otherwise decoding isn't really useable.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/r600.c

index 56140b4e5bb2e9fa7fc72339cc29f88b398aff1c..cdbc4171fe73743bd9bcf9ce2bbb74020ad6ece5 100644 (file)
@@ -3991,6 +3991,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 */