mirror_ubuntu-kernels/drivers/gpu/drm/amd
Mario Limonciello c4c8955b8a drm/amd: Fix detection of _PR3 on the PCIe root port
On some systems with Navi3x dGPU will attempt to use BACO for runtime
PM but fails to resume properly.  This is because on these systems
the root port goes into D3cold which is incompatible with BACO.

This happens because in this case dGPU is connected to a bridge between
root port which causes BOCO detection logic to fail.  Fix the intent of
the logic by looking at root port, not the immediate upstream bridge for
_PR3.

Cc: stable@vger.kernel.org
Suggested-by: Jun Ma <Jun.Ma2@amd.com>
Tested-by: David Perry <David.Perry@amd.com>
Fixes: b10c1c5b3a ("drm/amdgpu: add check for ACPI power resources")
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-03 15:43:11 -04:00
..
acp
amdgpu drm/amd: Fix detection of _PR3 on the PCIe root port 2023-10-03 15:43:11 -04:00
amdkfd drm/amdkfd: drop struct kfd_cu_info 2023-10-03 15:41:13 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Disable DWB frame capture to emulate oneshot 2023-10-03 15:42:56 -04:00
include drm/amdkfd: drop struct kfd_cu_info 2023-10-03 15:41:13 -04:00
pm drm/amd: Fix logic error in sienna_cichlid_update_pcie_parameters() 2023-10-03 15:43:05 -04:00