Commit d2a33871 authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher

drm/amdgpu: enable sw clock gating for vcn

Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fb4d56fa
...@@ -501,7 +501,7 @@ static int vcn_v1_0_start(struct amdgpu_device *adev) ...@@ -501,7 +501,7 @@ static int vcn_v1_0_start(struct amdgpu_device *adev)
vcn_v1_0_mc_resume(adev); vcn_v1_0_mc_resume(adev);
/* disable clock gating */ /* disable clock gating */
vcn_v1_0_disable_clock_gating(adev, false); vcn_v1_0_disable_clock_gating(adev, true);
/* disable interupt */ /* disable interupt */
WREG32_P(SOC15_REG_OFFSET(UVD, 0, mmUVD_MASTINT_EN), 0, WREG32_P(SOC15_REG_OFFSET(UVD, 0, mmUVD_MASTINT_EN), 0,
...@@ -682,7 +682,7 @@ static int vcn_v1_0_stop(struct amdgpu_device *adev) ...@@ -682,7 +682,7 @@ static int vcn_v1_0_stop(struct amdgpu_device *adev)
~UVD_LMI_CTRL2__STALL_ARB_UMC_MASK); ~UVD_LMI_CTRL2__STALL_ARB_UMC_MASK);
/* enable clock gating */ /* enable clock gating */
vcn_v1_0_enable_clock_gating(adev, false); vcn_v1_0_enable_clock_gating(adev, true);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment