Commit afe260d
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>1 parent 922f0e0 commit afe260d
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6451 | 6451 | | |
6452 | 6452 | | |
6453 | 6453 | | |
| 6454 | + | |
| 6455 | + | |
| 6456 | + | |
6454 | 6457 | | |
6455 | 6458 | | |
6456 | 6459 | | |
| |||
0 commit comments