]> 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>
Tue, 14 Jul 2020 19:07:46 +0000 (15:07 -0400)
commit23cb20ad5fc5ba5041a7e94f908ee84a128c24ff
tree8a24f05918242c2e4474a65d0fa6a85e35cf7494
parentc384e306af5d3035742d180a7064bbe5bec71d7c
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