OSDN Git Service

drm/amdgpu: Exclude PCI reset method for now.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 24 Feb 2022 18:00:28 +0000 (13:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 Feb 2022 22:25:20 +0000 (17:25 -0500)
commit2656fd230d21ab765eaea24f6b264a744919f13a
tree4f75b902cd90e9115d0b5ea3146611abbfea082d
parent158a05a0b885f456a86720b9b6b4571943d2e307
drm/amdgpu: Exclude PCI reset method for now.

According to my investigation of the state of PCI
reset recently it's not working. The reason is
due to the fact the kernel PCI code rejects SBR
when there are more then one PF under same bridge
which we always have (at least AUDIO PF but usually
more) and that because SBR will reset all the PFS
and devices under the same bridge as you and you
cannot assume they support SBR.
Once we anble FLR support we can reenable this option as
FLR is doable on single PF and doens't have this
restriction.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c