]> 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)
commit2f4925d68c706ddb755a1da6622f37f2060d321b
tree05475346d99b445fe132a8c57e947be99621128d
parent91fc780e385a479a69256dedfb8331146101cf49
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