diff options
author | Victor Zhao <Victor.Zhao@amd.com> | 2024-10-24 13:40:39 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-11-04 12:05:30 -0500 |
commit | afe260df55ac280cd56306248cb6d8a6b0db095c (patch) | |
tree | 1999afe08dfba871a33802127d5b44239e72ae44 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
parent | 922f0e00017b09d9d47e3efac008c8b20ed546a0 (diff) |
drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov
Under sriov, host driver will save and restore vf pci cfg space during
reset. And during device init, under sriov, pci_restore_state happens after
fullaccess released, and it can have race condition with mmio protection
enable from host side leading to missing interrupts.
So skip amdgpu_device_cache_pci_state for sriov.
Signed-off-by: Victor Zhao <Victor.Zhao@amd.com>
Acked-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions