projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d904ee
)
drm/amdgpu/vcn:Set VCPU busy after gate power during vcn SPG start
author
James Zhu
<
[email protected]
>
Tue, 9 Oct 2018 20:59:57 +0000
(16:59 -0400)
committer
Alex Deucher
<
[email protected]
>
Fri, 12 Oct 2018 17:55:52 +0000
(12:55 -0500)
Set VCPU busy after gate power during vcn Static Power Gate start
Signed-off-by: James Zhu <
[email protected]
>
Acked-by: Leo Liu <
[email protected]
>
Acked-by: Alex Deucher <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
index 153f23acf8dd2d151eefea6d667b984baf6bdc42..d8fe14d43db0c4ae185c307586116f752cfe6e66 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
@@
-777,6
+777,10
@@
static int vcn_v1_0_start_spg_mode(struct amdgpu_device *adev)
lmi_swap_cntl = 0;
vcn_1_0_disable_static_power_gating(adev);
+
+ tmp = RREG32_SOC15(UVD, 0, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY;
+ WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp);
+
/* disable clock gating */
vcn_v1_0_disable_clock_gating(adev);