OSDN Git Service

drm/amdgpu: add VM eviction lock v3
authorChristian König <christian.koenig@amd.com>
Wed, 4 Dec 2019 12:29:49 +0000 (13:29 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Dec 2019 22:02:26 +0000 (17:02 -0500)
commitb4ff0f8a85f3c523942e57b716e8722e7f6799cc
treecc5be8d2b48a5aec50e0fc4813e26b3429da88b2
parent90b69cdc5f159be09d799257661e119a26ea4233
drm/amdgpu: add VM eviction lock v3

This allows to invalidate VM entries without taking the reservation lock.

v3: use -EBUSY

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