Skip to content

Commit

Permalink
UVD: Pick fix by ckoenig to increase decoding speed on radeon_si
Browse files Browse the repository at this point in the history
  • Loading branch information
fritsch committed Feb 2, 2014
1 parent 0c71539 commit 3db2b50
Showing 1 changed file with 32 additions and 0 deletions.
@@ -0,0 +1,32 @@
From b091ef6be8a4d8f3c04c2ff15f6d20364438e8fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com>
Date: Thu, 30 Jan 2014 18:54:24 +0100
Subject: [PATCH] drm/radeon: fix UVD IRQ support on SI
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Otherwise decoding isn't really useable.

Signed-off-by: Christian König <christian.koenig@amd.com>
---
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

0 comments on commit 3db2b50

Please sign in to comment.