aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-09-26 17:59:53 -0500
committerAlex Deucher <[email protected]>2023-10-03 15:43:11 -0400
commitc4c8955b8acb4d88d2ca02a7dc6010e5f0c5288d (patch)
tree9af67ad1c3c22af49d5102df61f0b07e93e0e4ff /drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
parentade134ddaee5baa1fa35cc66a12d2489213a26e0 (diff)
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: [email protected] Suggested-by: Jun Ma <[email protected]> Tested-by: David Perry <[email protected]> Fixes: b10c1c5b3a4e ("drm/amdgpu: add check for ACPI power resources") Signed-off-by: Mario Limonciello <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c')
0 files changed, 0 insertions, 0 deletions