commit | ee8bcc2333cc9e24e260e590131fa21c003e41ba | [log] [tgz] |
---|---|---|
author | Pelloux-prayer, Pierre-eric <Pierre-eric.Pelloux-prayer@amd.com> | Wed Oct 23 12:02:45 2019 +0000 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Oct 25 16:47:07 2019 -0400 |
tree | 5fa6daaccc6c6bfaa739709fac1f11f3ad04e3cc | |
parent | 4ff17a1df7d550257972a838220a8af4611c8f2c [diff] |
drm/amdgpu: call amdgpu_vm_prt_fini before deleting the root PD amdgpu_vm_prt_fini uses "vm->root.base.bo" so it must still be valid when we call it. Fixes: b65709a92156 ("drm/amdgpu: reserve the root PD while freeing PASIDs") Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>