diff options
author | Jesse Barnes <jbarnes@hobbes.(none)> | 2008-06-24 12:50:29 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-24 12:51:29 -0700 |
commit | 893cd01a1d6bed9740e9bfccde07f41ee401f898 (patch) | |
tree | 0399fe7055fac3d47871f6af166c252debe74299 /linux-core | |
parent | 01e8f0ea426970859bafba72e067590df1a64eb0 (diff) |
i915: register definition & header file cleanup
It would be nice if one day the DRM driver was the canonical source for
register definitions and core macros. To that end, this patch cleans things up
quite a bit, removing redundant definitions (some with different names
referring to the same register) and generally tidying up the header file.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/i915_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/i915_fence.c b/linux-core/i915_fence.c index e403be6a..45613c3a 100644 --- a/linux-core/i915_fence.c +++ b/linux-core/i915_fence.c @@ -46,7 +46,7 @@ static inline void i915_initiate_rwflush(struct drm_i915_private *dev_priv, dev_priv->flush_sequence = (uint32_t) READ_BREADCRUMB(dev_priv); dev_priv->flush_flags = fc->pending_flush; dev_priv->saved_flush_status = READ_HWSP(dev_priv, 0); - I915_WRITE(I915REG_INSTPM, (1 << 5) | (1 << 21)); + I915_WRITE(INSTPM, (1 << 5) | (1 << 21)); dev_priv->flush_pending = 1; fc->pending_flush &= ~DRM_I915_FENCE_TYPE_RW; } |