diff mbox

drm/radeon: fix UVD IRQ support on SI

Message ID 1391104876-2321-1-git-send-email-deathsimple@vodafone.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christian König Jan. 30, 2014, 6:01 p.m. UTC
From: Christian König <christian.koenig@amd.com>

Otherwise decoding isn't really useable.

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/radeon/si.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Alex Deucher Jan. 30, 2014, 7:36 p.m. UTC | #1
On Thu, Jan 30, 2014 at 1:01 PM, Christian König
<deathsimple@vodafone.de> wrote:
> From: Christian König <christian.koenig@amd.com>
>
> Otherwise decoding isn't really useable.
>
> Signed-off-by: Christian König <christian.koenig@amd.com>
> Cc: stable@vger.kernel.org

Applied.  thanks!

Alex

> ---
>  drivers/gpu/drm/radeon/si.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c
> index 07ce587..a22df95 100644
> --- a/drivers/gpu/drm/radeon/si.c
> +++ b/drivers/gpu/drm/radeon/si.c
> @@ -6334,6 +6334,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);
> --
> 1.8.1.2
>
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c
index 07ce587..a22df95 100644
--- a/drivers/gpu/drm/radeon/si.c
+++ b/drivers/gpu/drm/radeon/si.c
@@ -6334,6 +6334,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);