mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-05 22:25:16 +00:00
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>
This commit is contained in:
parent
fe089e1dd7
commit
7c16d24abe
1 changed files with 2 additions and 2 deletions
|
@ -305,7 +305,7 @@ static void amdgpu_vcn_idle_work_handler(struct work_struct *work)
|
|||
|
||||
if (fences == 0) {
|
||||
amdgpu_gfx_off_ctrl(adev, true);
|
||||
if (adev->asic_type < CHIP_NAVI10 && adev->pm.dpm_enabled)
|
||||
if (adev->asic_type < CHIP_ARCTURUS && adev->pm.dpm_enabled)
|
||||
amdgpu_dpm_enable_uvd(adev, false);
|
||||
else
|
||||
amdgpu_device_ip_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_VCN,
|
||||
|
@ -322,7 +322,7 @@ void amdgpu_vcn_ring_begin_use(struct amdgpu_ring *ring)
|
|||
|
||||
if (set_clocks) {
|
||||
amdgpu_gfx_off_ctrl(adev, false);
|
||||
if (adev->asic_type < CHIP_NAVI10 && adev->pm.dpm_enabled)
|
||||
if (adev->asic_type < CHIP_ARCTURUS && adev->pm.dpm_enabled)
|
||||
amdgpu_dpm_enable_uvd(adev, true);
|
||||
else
|
||||
amdgpu_device_ip_set_powergating_state(adev, AMD_IP_BLOCK_TYPE_VCN,
|
||||
|
|
Loading…
Add table
Reference in a new issue