aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_execbuffer.c
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2014-11-24 13:49:38 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-12-03 03:35:21 -0500
commit74328ee51051e73e4952876cc9061ff01530267c (patch)
treecd7bed75d34414e3ca84d52b0c1863a01ceff29f /drivers/gpu/drm/i915/i915_gem_execbuffer.c
parentf06cc1b9401cf0b60f3cd30d8127a8a4f088d4c3 (diff)
drm/i915: Convert trace functions from seqno to request
All the code above is now using requests not seqnos so it is possible to convert the trace functions across. Note that rather than get into problematic reference counting issues, the trace code only saves the seqno and ring values from the request structure not the structure pointer itself. For: VIZ-4377 Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Thomas Daniel <Thomas.Daniel@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_execbuffer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
index faada7544050..0c25f6202ca4 100644
--- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
@@ -1211,9 +1211,7 @@ i915_gem_ringbuffer_submission(struct drm_device *dev, struct drm_file *file,
1211 return ret; 1211 return ret;
1212 } 1212 }
1213 1213
1214 trace_i915_gem_ring_dispatch(ring, 1214 trace_i915_gem_ring_dispatch(intel_ring_get_request(ring), flags);
1215 i915_gem_request_get_seqno(intel_ring_get_request(ring)),
1216 flags);
1217 1215
1218 i915_gem_execbuffer_move_to_active(vmas, ring); 1216 i915_gem_execbuffer_move_to_active(vmas, ring);
1219 i915_gem_execbuffer_retire_commands(dev, file, ring, batch_obj); 1217 i915_gem_execbuffer_retire_commands(dev, file, ring, batch_obj);