diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2023-03-16 11:33:43 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-24 18:16:27 -0400 |
commit | 38be7796f310cd2bc84dcc40c4fd1964df39a5b0 (patch) | |
tree | 4f24e898ab247aac4c2458382fcd553bd9437780 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 46c1282e5a31c33a6973affbcc765eac1f3f5d1c (diff) | |
download | linux-38be7796f310cd2bc84dcc40c4fd1964df39a5b0.tar.gz linux-38be7796f310cd2bc84dcc40c4fd1964df39a5b0.tar.bz2 linux-38be7796f310cd2bc84dcc40c4fd1964df39a5b0.zip |
drm/amdgpu: don't require a job for cond_exec and shadow
We need to reset the shadow state every time we submit an
IB and there needs to be a COND_EXEC packet after the
SET_Q_PREEMPTION_MODE packet for it to work properly, so
we should emit both of these packets regardless of whether
there is a job present or not.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions