]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add function to add/remove gws to kfd process
authorOak Zeng <Oak.Zeng@amd.com>
Wed, 8 May 2019 21:14:45 +0000 (16:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 May 2019 19:44:18 +0000 (14:44 -0500)
commitc63889517a86f6a7a1437f109500b491ec6e8b0f
tree36132e5021df69846d36415dca85a03951416d18
parent569052eb221c1884cbedec424410bfa586c2eacb
drm/amdgpu: Add function to add/remove gws to kfd process

GWS bo is shared between all kfd processes. Add function to add gws
to kfd process's bo list so gws can be evicted from and restored
for process.

Signed-off-by: Oak Zeng <Oak.Zeng@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_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c