]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use vm status_lock to protect vm idle list
authorPhilip Yang <Philip.Yang@amd.com>
Fri, 16 Sep 2022 02:54:01 +0000 (22:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Sep 2022 19:25:29 +0000 (15:25 -0400)
commit35b72b3e7a78f8c4084d6f446754a461049b8a3e
treeaaf40863070dc5767a35ea64114b98675662176b
parent6713a524cadec49bb81cb2160541cd1e97ed8ee8
drm/amdgpu: Use vm status_lock to protect vm idle list

Use vm_status_lock to protect all vm_status state transitions to allow
them to happen without a reservation lock in unlocked page table
updates.

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