]> 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)
commit276a05b0c7b1f963e0aead34bba6c35d896101fe
tree36132e5021df69846d36415dca85a03951416d18
parent76070108e81a60cf832a526250a397b05784a574
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