]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix amdgpu_vm_pasid_fault_credit
authorChristian König <christian.koenig@amd.com>
Tue, 9 Jan 2018 18:18:59 +0000 (19:18 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jan 2018 20:35:26 +0000 (15:35 -0500)
commitc3d2532b5444f839d6802276b8636180551e19d0
tree05475346d99b445fe132a8c57e947be99621128d
parentd989b4e67485c1eceb11ba9c52fab45a6c2e7380
drm/amdgpu: fix amdgpu_vm_pasid_fault_credit

As soon as the lock is dropped the VM pointer can be invalid.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c