Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95c24161 authored by John Harrison's avatar John Harrison Committed by Daniel Vetter
Browse files

drm/i915: Update the dispatch tracepoint to use params->request



Updated a couple of trace points to use the now cached request pointer rather
than extracting it from the ring.

For: VIZ-5115
Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Reviewed-by: default avatarTomas Elf <tomas.elf@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 6a6ae79a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1340,7 +1340,7 @@ i915_gem_ringbuffer_submission(struct i915_execbuffer_params *params,
			return ret;
	}

	trace_i915_gem_ring_dispatch(intel_ring_get_request(ring), params->dispatch_flags);
	trace_i915_gem_ring_dispatch(params->request, params->dispatch_flags);

	i915_gem_execbuffer_move_to_active(vmas, ring);
	i915_gem_execbuffer_retire_commands(params);
+1 −1
Original line number Diff line number Diff line
@@ -944,7 +944,7 @@ int intel_execlists_submission(struct i915_execbuffer_params *params,
	if (ret)
		return ret;

	trace_i915_gem_ring_dispatch(intel_ring_get_request(ring), params->dispatch_flags);
	trace_i915_gem_ring_dispatch(params->request, params->dispatch_flags);

	i915_gem_execbuffer_move_to_active(vmas, ring);
	i915_gem_execbuffer_retire_commands(params);