diff options
| author | Guchun Chen <[email protected]> | 2021-09-18 05:43:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-09-23 20:34:28 +0000 |
| commit | 6effad8abe0ba4db3d9c58ed585127858a990f35 (patch) | |
| tree | c9b58c86627f48c6d2fb9308aaab03e5fbec459d /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | drm/amd/display: Fix wrong format specifier in amdgpu_dm.c (diff) | |
| download | kernel-6effad8abe0ba4db3d9c58ed585127858a990f35.tar.gz kernel-6effad8abe0ba4db3d9c58ed585127858a990f35.zip | |
drm/amdgpu: move amdgpu_virt_release_full_gpu to fini_early stage
adev->rmmio is set to be NULL in amdgpu_device_unmap_mmio to prevent
access after pci_remove, however, in SRIOV case, amdgpu_virt_release_full_gpu
will still use adev->rmmio for access after amdgpu_device_unmap_mmio.
The patch is to move such SRIOV calling earlier to fini_early stage.
Fixes: 07775fc13878 ("drm/amdgpu: Unmap all MMIO mappings")
Cc: Andrey Grodzovsky <[email protected]>
Signed-off-by: Leslie Shi <[email protected]>
Signed-off-by: Guchun Chen <[email protected]>
Reviewed-by: Andrey Grodzovsky <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
