]> 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>
Wed, 22 Aug 2018 21:05:20 +0000 (16:05 -0500)
commita709f4f91ef17f10112ad7269e9281a00c70e857
treea0cf984a6daec954dcff4f0290915b169b22a771
parentbead45d56b95992d8823821aad2a7f3b9ef3696d
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