mirror_ubuntu-kernels/drivers/gpu/drm/amd
Mario Limonciello 2757a848cb 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 <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-10-26 18:41:23 -04:00
..
acp
amdgpu drm/amd: Explicitly disable ASPM when dynamic switching disabled 2023-10-26 18:41:23 -04:00
amdkfd Revert "drm/amdkfd: Use partial migrations in GPU page faults" 2023-10-26 18:41:23 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Fix copyright notice in DC code 2023-10-26 18:41:23 -04:00
include drm/amdgpu: fix missing stuff in NBIO v7.11 2023-10-20 15:11:28 -04:00
pm drm/amd: Disable PP_PCIE_DPM_MASK when dynamic speed switching not supported 2023-10-26 18:41:23 -04:00