]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdkfd: Use functions from amdgpu to invalidate vmid in kfd
authorYong Zhao <Yong.Zhao@amd.com>
Fri, 12 Oct 2018 21:23:09 +0000 (17:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:16 +0000 (14:21 -0500)
commitafd545f673ad40bc0d3d6ecae686ca6fc44d1743
tree442d31b071f13cdac083930c6403228b71228f20
parent2a79d86897afd54778d44019dcc9327e0188e69f
drm/amdkfd: Use functions from amdgpu to invalidate vmid in kfd

As part of the change, we stop taking the srbm lock, and start to use
the same invalidation engine and software lock as amdgpu.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-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_amdkfd_gfx_v9.c