drm/i915: Move the conditional seqno query into the tracepoint
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Sep 2013 20:33:19 +0000 (17:33 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:22 +0000 (07:45 +0200)
commit814e9b57c0cb56ef1f56c3099f130a3e5373564e
tree75363f17139842e4944643ac74b2a3bea594e295
parente2d05a8b1e4a7f6feae89a59543b1edbece1bda3
drm/i915: Move the conditional seqno query into the tracepoint

We only wish to know the value of seqno when emitting the tracepoint, so
move the query from a parameter to the macro to inside the conditional
macro body so that the query is only evaluated when required.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_trace.h