]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cond_exec only for schedule with a job
authorMonk Liu <Monk.Liu@amd.com>
Fri, 19 Jan 2018 11:06:31 +0000 (19:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 19:18:04 +0000 (14:18 -0500)
commitaa0b76bfc903bfb4a788a16f8444b424590a6b9d
tree2d64ecf8daee6dd2b18bca5b816e017f47d1790b
parent18153f509df2c3d9831c4c74992b3f9317e5cd4d
drm/amdgpu: cond_exec only for schedule with a job

issue:
under SR-IOV sometimes the iB test will fail on
gfx ring

fix:
with cond_exec inserted in RB the gfx engine would
skip part packets if RLCV issue PREEMPT on gfx engine
if gfx engine is prior to COND_EXEC packet, this is
okay for regular command from UMD, but for the ib test
since the whole dma format doesn't support PREEMPT
so must remove the COND_EXEC from it.

Signed-off-by: Monk Liu <Monk.Liu@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