]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gfx10: fix race condition for kiq
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 10 Jul 2020 04:18:22 +0000 (12:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jul 2020 21:42:50 +0000 (17:42 -0400)
commit2d3d0e8dd1dbe6c268e377dfabb94cf32d2879c2
tree75a170c931f1a7d070979ca9236a06b43262bd20
parent88443e8818bc416a1dc9d2d76d5966b5cb911551
drm/amdgpu/gfx10: fix race condition for kiq

During preemption test for gfx10, it uses kiq to trigger
gfx preemption, which would result in race condition
with flushing TLB for kiq.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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/gfx_v10_0.c