mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amdgpu: add cleaner shader trace point
Note when the cleaner shader is executed. Signed-off-by: Christian König <christian.koenig@amd.com> Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
1bb1314d0b
commit
02ba7543f2
@@ -853,6 +853,7 @@ int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job,
|
||||
* finish before we push them to the HW.
|
||||
*/
|
||||
if (cleaner_shader_needed) {
|
||||
trace_amdgpu_cleaner_shader(ring, fence);
|
||||
mutex_lock(&adev->enforce_isolation_mutex);
|
||||
dma_fence_put(isolation->spearhead);
|
||||
isolation->spearhead = dma_fence_get(fence);
|
||||
|
||||
Reference in New Issue
Block a user