aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
diff options
context:
space:
mode:
authorGuchun Chen <[email protected]>2021-09-18 05:43:41 +0000
committerAlex Deucher <[email protected]>2021-09-23 20:34:28 +0000
commit6effad8abe0ba4db3d9c58ed585127858a990f35 (patch)
treec9b58c86627f48c6d2fb9308aaab03e5fbec459d /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
parentdrm/amd/display: Fix wrong format specifier in amdgpu_dm.c (diff)
downloadkernel-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