summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
authorChris Wilson2013-07-19 21:36:56 +0200
committerDaniel Vetter2013-07-25 15:22:07 +0200
commited71f1b48e95408d0b3ded014a15fb9d52ac5a86 (patch)
treefdb9503542836b76b9553762f4c466bce41242da /drivers/gpu/drm/i915/i915_debugfs.c
parentdrm/i915: Squash gen lookup through multiple indirections inside GT access (diff)
downloadkernel-qcow2-linux-ed71f1b48e95408d0b3ded014a15fb9d52ac5a86.tar.gz
kernel-qcow2-linux-ed71f1b48e95408d0b3ded014a15fb9d52ac5a86.tar.xz
kernel-qcow2-linux-ed71f1b48e95408d0b3ded014a15fb9d52ac5a86.zip
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 0e904986f3e9..ed72fe08217c 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -1004,7 +1004,7 @@ static int gen6_drpc_info(struct seq_file *m)
}
gt_core_status = readl(dev_priv->regs + GEN6_GT_CORE_STATUS);
- trace_i915_reg_rw(false, GEN6_GT_CORE_STATUS, gt_core_status, 4);
+ trace_i915_reg_rw(false, GEN6_GT_CORE_STATUS, gt_core_status, 4, true);
rpmodectl1 = I915_READ(GEN6_RP_CONTROL);
rcctl1 = I915_READ(GEN6_RC_CONTROL);