diff options
author | Mario Limonciello <[email protected]> | 2023-10-23 15:50:05 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-10-26 18:41:23 -0400 |
commit | 2757a848cb0f184850d3e0a33b4a69e8014fdc5d (patch) | |
tree | c236ccc21e39ebe0a4f76add0b4f7f736cefbd20 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 1a6513de493d13f8d7501611fcc5bbaea4c799b3 (diff) |
drm/amd: Explicitly disable ASPM when dynamic switching disabled
Currently there are separate but related checks:
* amdgpu_device_should_use_aspm()
* amdgpu_device_aspm_support_quirk()
* amdgpu_device_pcie_dynamic_switching_supported()
Simplify into checking whether DPM was enabled or not in the auto
case. This works because amdgpu_device_pcie_dynamic_switching_supported()
populates that value.
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions