drm/amdgpu: add generic pci reset as an option
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Feb 2021 15:29:19 +0000 (10:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:29:54 +0000 (15:29 -0500)
commitaf484df800e356725c39f52e7cbe8b47f1753453
tree9d4160e7b9dc105c77c9a5f88da0d9bd7d48980a
parentd5ab066917a5438459e5464fd17432685a2aedc7
drm/amdgpu: add generic pci reset as an option

This allows us to use generic PCI reset mechanisms (FLR, SBR) as
a reset mechanism to verify that the generic PCI reset mechanisms
are working properly.

Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c