summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2026-05-20 10:46:18 -0500
committerAlex Deucher <alexander.deucher@amd.com>2026-06-03 13:55:45 -0400
commitc21487ce5fa112b6faef271e4a97c5e4a8d7194c (patch)
treeec9ff22ce08e7b4c24a6f108eee936d82e227816 /include/linux
parent10358a396d9779c995ca8ecdbf3c50e6c0977b66 (diff)
drm/amdgpu: Adjust _PR3 detection
_PR3 detection was changed in commit 134b8c5d8674 ("drm/amd: Fix detection of _PR3 on the PCIe root port") to look at the root port of the topology containing the GPU. This however was too far because it ignored whether or not all the intermediary bridges could power off the device. The original design in commit b10c1c5b3a4e ("drm/amdgpu: add check for ACPI power resources") was too narrow because it matched the switches internal to the GPU. Use the goldilocks approach and look for the first bridge outside of the GPU and check for _PR3 on that device. Fixes: 134b8c5d8674 ("drm/amd: Fix detection of _PR3 on the PCIe root port") Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions