]> Git Repo - linux.git/commitdiff
drm/amdgpu/vcn:Set VCPU busy after gate power during vcn SPG start
authorJames Zhu <[email protected]>
Tue, 9 Oct 2018 20:59:57 +0000 (16:59 -0400)
committerAlex 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

index 153f23acf8dd2d151eefea6d667b984baf6bdc42..d8fe14d43db0c4ae185c307586116f752cfe6e66 100644 (file)
@@ -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);
 
This page took 0.067121 seconds and 4 git commands to generate.