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

drm/amdgpu: correct VCN powergate routine for acturus

Arcturus VCN should powergate in the way as Navi.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Evan Quan and committed by
Alex Deucher
7c16d24a fe089e1d

+2 -2
+2 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
··· 305 305 306 306 if (fences == 0) { 307 307 amdgpu_gfx_off_ctrl(adev, true); 308 - if (adev->asic_type < CHIP_NAVI10 && adev->pm.dpm_enabled) 308 + if (adev->asic_type < CHIP_ARCTURUS && adev->pm.dpm_enabled) 309 309 amdgpu_dpm_enable_uvd(adev, false); 310 310 else 311 311 amdgpu_device_ip_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_VCN, ··· 322 322 323 323 if (set_clocks) { 324 324 amdgpu_gfx_off_ctrl(adev, false); 325 - if (adev->asic_type < CHIP_NAVI10 && adev->pm.dpm_enabled) 325 + if (adev->asic_type < CHIP_ARCTURUS && adev->pm.dpm_enabled) 326 326 amdgpu_dpm_enable_uvd(adev, true); 327 327 else 328 328 amdgpu_device_ip_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_VCN,