]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite18dae5e90cb429cc5a4e21b4be45ec32cc38ce4
tree75363f17139842e4944643ac74b2a3bea594e295
parent0ed94ecafe7c3d2c350dc2141b7dd343ea0001c0
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