drm/amdgpu: wrap kiq ring ops with kiq spinlock
authorNirmoy Das <nirmoy.das@amd.com>
Fri, 12 Mar 2021 09:42:41 +0000 (10:42 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:35:31 +0000 (16:35 -0400)
commit5a8cd98e6e335ad03493502b3479fcbadcb4889e
tree0c6261597e4a2c0a4fe114dbbb8b17560b8532db
parentfe68ceef3412544aa8e2e2ff397f76edfedf6bd9
drm/amdgpu: wrap kiq ring ops with kiq spinlock

KIQ ring is being operated by kfd as well as amdgpu.
KFD is using kiq lock, we should the same from amdgpu side
as well.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c