]> git.baikalelectronics.ru Git - kernel.git/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)
commite91a977c4e570709f7e28e5f37d8cf1f1881b2e2
treefdb9503542836b76b9553762f4c466bce41242da
parent2f7d3acf5cc463b7aa775e509415067346f08016
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