]> Pileus Git - ~andy/linux/commit
drm/i915: Convert the register access tracepoint to be conditional
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Jul 2013 19:36:56 +0000 (20:36 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Jul 2013 13:22:07 +0000 (15:22 +0200)
commited71f1b48e95408d0b3ded014a15fb9d52ac5a86
treefdb9503542836b76b9553762f4c466bce41242da
parenta7f31ee0b00203fcf47fb74a1d61a1c9be8d142e
drm/i915: Convert the register access tracepoint to be conditional

The TRACE_EVENT_CONDITION is supposed to generate more efficient code
than if (cond) trace(), which is what we are currently using inside the
register access functions.

v2: Rebase onto uncore

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_trace.h
drivers/gpu/drm/i915/intel_uncore.c