Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rex Zhu and committed by
Alex Deucher
953618cf 6bf3f9c3

+2
+2
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c
··· 597 597 { 598 598 u32 tmp, tmp2; 599 599 600 + WREG32_FIELD(UVD_CGC_GATE, REGS, 0); 601 + 600 602 tmp = RREG32(mmUVD_CGC_CTRL); 601 603 tmp &= ~(UVD_CGC_CTRL__CLK_OFF_DELAY_MASK | UVD_CGC_CTRL__CLK_GATE_DLY_TIMER_MASK); 602 604 tmp |= UVD_CGC_CTRL__DYN_CLOCK_MODE_MASK |