drm/radeon: fix UVD IRQ support on SI
authorChristian König <christian.koenig@amd.com>
Thu, 30 Jan 2014 18:01:16 +0000 (19:01 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Feb 2014 17:22:44 +0000 (12:22 -0500)
Otherwise decoding isn't really useable.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=71448

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/si.c

index 09ec4f6c53bb2202dec2e9c039a3877593d2c4fe..83578324e5d1383167f75071cdaf47d85a0e60ea 100644 (file)
@@ -6338,6 +6338,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);