Skip to content

Commit 8f18703

Browse files
Kenneth Fenggregkh
authored andcommitted
drm/amd/amdgpu: decouple ASPM with pcie dpm
[ Upstream commit df0e722fbdbedb6f2b682dc2fad9e0c221e3622d ] ASPM doesn't need to be disabled if pcie dpm is disabled. So ASPM can be independantly enabled. Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 2145a80 commit 8f18703

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,8 +1782,6 @@ bool amdgpu_device_should_use_aspm(struct amdgpu_device *adev)
17821782
}
17831783
if (adev->flags & AMD_IS_APU)
17841784
return false;
1785-
if (!(adev->pm.pp_feature & PP_PCIE_DPM_MASK))
1786-
return false;
17871785
return pcie_aspm_enabled(adev->pdev);
17881786
}
17891787

0 commit comments

Comments
 (0)