OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bf3f9c
)
drm/amdgpu: always un-gate UVD REGS path.
author
Rex Zhu
<Rex.Zhu@amd.com>
Wed, 9 Nov 2016 10:03:10 +0000
(18:03 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 15 Nov 2016 17:36:36 +0000
(12:36 -0500)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
b/drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
index
d2c96f1
..
96444e4
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
+++ b/
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
@@
-597,6
+597,8
@@
static void uvd_v4_2_set_dcm(struct amdgpu_device *adev,
{
u32 tmp, tmp2;
+ WREG32_FIELD(UVD_CGC_GATE, REGS, 0);
+
tmp = RREG32(mmUVD_CGC_CTRL);
tmp &= ~(UVD_CGC_CTRL__CLK_OFF_DELAY_MASK | UVD_CGC_CTRL__CLK_GATE_DLY_TIMER_MASK);
tmp |= UVD_CGC_CTRL__DYN_CLOCK_MODE_MASK |