diff options
author | Horatio Zhang <[email protected]> | 2023-05-29 14:23:37 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-06-07 16:53:03 -0400 |
commit | 2a1eb1a343208ce7d6839b73d62aece343e693ff (patch) | |
tree | 367302762f8c0e279a397d76f77e91375b654a6c /lib/mpi/mpi-sub-ui.c | |
parent | 30c3d3b70aba2464ee8c91025e91428f92464077 (diff) |
drm/amdgpu: fix Null pointer dereference error in amdgpu_device_recover_vram
Use the function of amdgpu_bo_vm_destroy to handle the resource release
of shadow bo. During the amdgpu_mes_self_test, shadow bo released, but
vmbo->shadow_list was not, which caused a null pointer reference error
in amdgpu_device_recover_vram when GPU reset.
Fixes: 6c032c37ac3e ("drm/amdgpu: Fix vram recover doesn't work after whole GPU reset (v2)")
Signed-off-by: xinhui pan <[email protected]>
Signed-off-by: Horatio Zhang <[email protected]>
Acked-by: Feifei Xu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions