projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc9972
)
drm/radeon: enable RB_ARB before resetting the VCPU
author
Christian König
<christian.koenig@amd.com>
Wed, 27 Aug 2014 07:59:45 +0000
(09:59 +0200)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 27 Aug 2014 16:48:00 +0000
(12:48 -0400)
This fixes "UVD not responding, trying to reset the VCPU"
messages on earlier ASICs.
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/uvd_v1_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/uvd_v1_0.c
b/drivers/gpu/drm/radeon/uvd_v1_0.c
index c3e182bc6c59f3bfeb5b662ba351fdf552652ef9..e72b3cb593589876cc8999e8ab913cbf886b64f3 100644
(file)
--- a/
drivers/gpu/drm/radeon/uvd_v1_0.c
+++ b/
drivers/gpu/drm/radeon/uvd_v1_0.c
@@
-319,12
+319,12
@@
int uvd_v1_0_start(struct radeon_device *rdev)
/* enable UMC */
WREG32_P(UVD_LMI_CTRL2, 0, ~(1 << 8));
+ WREG32_P(UVD_RB_ARB_CTRL, 0, ~(1 << 3));
+
/* boot up the VCPU */
WREG32(UVD_SOFT_RESET, 0);
mdelay(10);
- WREG32_P(UVD_RB_ARB_CTRL, 0, ~(1 << 3));
-
for (i = 0; i < 10; ++i) {
uint32_t status;
for (j = 0; j < 100; ++j) {