Skip to content

Commit

Permalink
drm/i915: Add untraced register read/write interface
Browse files Browse the repository at this point in the history
This will be used later to hide the frequently written registers
from debug traces in order to increase the signal-to-noise.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
  • Loading branch information
Yuanhan Liu authored and Chris Wilson committed Nov 8, 2010
1 parent ba4f01a commit 65e5ecb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/i915/i915_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,11 @@ i915_write(struct drm_i915_private *dev_priv, u32 reg, u64 val, int len)
#define POSTING_READ(reg) (void)I915_READ(reg)
#define POSTING_READ16(reg) (void)I915_READ16(reg)

#define I915_READ_NOTRACE(reg) readl(dev_priv->regs + (reg))
#define I915_WRITE_NOTRACE(reg, val) writel(val, dev_priv->regs + (reg))
#define POSTING_READ_NOTRACE(reg) (void)I915_READ_NOTRACE(reg)


#define BEGIN_LP_RING(n) \
intel_ring_begin(&dev_priv->render_ring, (n))

Expand Down

0 comments on commit 65e5ecb

Please sign in to comment.