Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UVD: Pick fix by ckoenig to increase decoding speed on radeon_si
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
packages/linux/patches/3.13.1/linux-801-fix-radeon-si-performance-issue.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |