]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add spin lock to protect freed list in vm (v2)
authorjimqu <Jim.Qu@amd.com>
Fri, 4 Dec 2015 09:17:00 +0000 (17:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Dec 2015 18:08:13 +0000 (13:08 -0500)
commit8adbf6b240dc9f255ea35cfb1bf8a7d35cd2f9a8
treefcdfce8c4b048aab55b101845e8a53155eb7c55e
parent45d6466241cf95dccf9cf97d671271844e391fc7
drm/amdgpu: add spin lock to protect freed list in vm (v2)

there is a protection fault about freed list when OCL test.
add a spin lock to protect it.

v2: drop changes in vm_fini

Signed-off-by: JimQu <jim.qu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c