mirror of https://gitee.com/openkylin/linux.git
drm/amdgpu: always un-gate UVD REGS path.
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>
This commit is contained in:
parent
6bf3f9c3cb
commit
953618cf1c
|
@ -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 |
|
||||
|
|
Loading…
Reference in New Issue