]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu: fix multi-process hang issue
authorEmily Deng <Emily.Deng@amd.com>
Wed, 22 Aug 2018 12:18:25 +0000 (20:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:09:40 +0000 (11:09 -0500)
commit129bc950b72aaa800671a86497a6c6c5248f6cb5
tree923b6d3643aa468e027af5563d1ad230a4c353f0
parent590ceeead7bd8096dccf0b162a89d24e32655781
amdgpu: fix multi-process hang issue

SWDEV-146499: hang during multi vulkan process testing

cause:
the second frame's PREAMBLE_IB have clear-state
and LOAD actions, those actions ruin the pipeline
that is still doing process in the previous frame's
work-load IB.

fix:
need insert pipeline sync if have context switch for
SRIOV (because only SRIOV will report PREEMPTION flag
to UMD)

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Emily Deng <Emily.Deng@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_ib.c