diff options
author | James Zhu <James.Zhu@amd.com> | 2018-10-09 16:59:57 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-10-12 13:55:52 -0400 |
commit | 10b66b2c65a271998042259b7fffafdd76809ad1 (patch) | |
tree | 3b8aca451792c01854a3c55f59261168337d6b63 /drivers/gpu/drm | |
parent | 3d904ee4c30e5a91bdad363624f46bf484fd604a (diff) |
drm/amdgpu/vcn:Set VCPU busy after gate power during vcn SPG start
Set VCPU busy after gate power during vcn Static Power Gate start
Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c index 153f23acf8dd..d8fe14d43db0 100644 --- 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) | |||
777 | lmi_swap_cntl = 0; | 777 | lmi_swap_cntl = 0; |
778 | 778 | ||
779 | vcn_1_0_disable_static_power_gating(adev); | 779 | vcn_1_0_disable_static_power_gating(adev); |
780 | |||
781 | tmp = RREG32_SOC15(UVD, 0, mmUVD_STATUS) | UVD_STATUS__UVD_BUSY; | ||
782 | WREG32_SOC15(UVD, 0, mmUVD_STATUS, tmp); | ||
783 | |||
780 | /* disable clock gating */ | 784 | /* disable clock gating */ |
781 | vcn_v1_0_disable_clock_gating(adev); | 785 | vcn_v1_0_disable_clock_gating(adev); |
782 | 786 | ||