]> Git Repo - linux.git/commit
drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov
authorVictor Zhao <[email protected]>
Thu, 24 Oct 2024 05:40:39 +0000 (13:40 +0800)
committerAlex Deucher <[email protected]>
Mon, 4 Nov 2024 17:05:30 +0000 (12:05 -0500)
commitafe260df55ac280cd56306248cb6d8a6b0db095c
tree1999afe08dfba871a33802127d5b44239e72ae44
parent922f0e00017b09d9d47e3efac008c8b20ed546a0
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 <[email protected]>
Acked-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
This page took 0.054141 seconds and 4 git commands to generate.