summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2024-12-06 16:46:06 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-12-10 18:26:18 +0300
commitf4df208177d02f1c90f3644da3a2453080b8c24f (patch)
tree6fe80c31091f71072a3aaf6735a21dd5c3a80ed9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentee2003d5fd139f5c881b87615c216c0053b69093 (diff)
downloadlinux-f4df208177d02f1c90f3644da3a2453080b8c24f.tar.xz
drm/amdgpu: fix when the cleaner shader is emitted
Emitting the cleaner shader must come after the check if a VM switch is necessary or not. Otherwise we will emit the cleaner shader every time and not just when it is necessary because we switched between applications. This can otherwise crash on gang submit and probably decreases performance quite a bit. v2: squash in fix from Srini (Alex) Signed-off-by: Christian König <christian.koenig@amd.com> Fixes: ee7a846ea27b ("drm/amdgpu: Emit cleaner shader at end of IB submission") Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions