From: John Harrison Date: Fri, 13 Feb 2015 11:48:11 +0000 (+0000) Subject: drm/i915: Add missing trace point to LRC execbuff code path X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5e4be7bda1e3ca00c6f49a74991f438c720c6f4e;p=linux-beck.git drm/i915: Add missing trace point to LRC execbuff code path There is a trace point in the legacy execbuffer execution path that is missing from the execlist path. Trace points are extremely useful for debugging and are used by various automated validation tests. Hence, this patch adds the missing trace point back in. OTC-Jira: VIZ-5115 Signed-off-by: John Harrison Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index 82c6aaf05803..09af288da6d4 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c @@ -710,6 +710,8 @@ int intel_execlists_submission(struct drm_device *dev, struct drm_file *file, if (ret) return ret; + trace_i915_gem_ring_dispatch(intel_ring_get_request(ring), dispatch_flags); + i915_gem_execbuffer_move_to_active(vmas, ring); i915_gem_execbuffer_retire_commands(dev, file, ring, batch_obj);