]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84e63b174a740ccf1bb0e11f2dd07bb86e314481
tree0c6261597e4a2c0a4fe114dbbb8b17560b8532db
parent9ead8bc1b817dd85f30fde403566c63af983ac82
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