Commit f4df2081 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Fixes: ee7a846e ("drm/amdgpu: Emit cleaner shader at end of IB submission")
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent ee2003d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment