summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce84511)
raw | patch | inline | side by side (parent: ce84511)
author | Robert Noland <rnoland@2hip.net> | |
Fri, 5 Sep 2008 15:52:53 +0000 (11:52 -0400) | ||
committer | Robert Noland <rnoland@2hip.net> | |
Fri, 5 Sep 2008 16:38:41 +0000 (12:38 -0400) |
shared-core/i915_dma.c | patch | blob | history |
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index 5a69b1f309081b0a917c7363c7062952f7833eba..c874ce2887572013fe3006ae559e700214384121 100644 (file)
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
{
drm_i915_private_t *dev_priv = dev->dev_private;
drm_i915_ring_buffer_t *ring = &(dev_priv->ring);
- u32 tail = I915_READ(LP_RING+RING_TAIL) & HEAD_ADDR;
- u32 head = I915_READ(LP_RING+RING_HEAD) & HEAD_ADDR;
+ u32 tail = I915_READ(PRB0_TAIL) & HEAD_ADDR;
+ u32 head = I915_READ(PRB0_HEAD) & HEAD_ADDR;
if (tail != ring->tail) {
DRM_ERROR("%s:%d head sw %x, hw %x. tail sw %x hw %x\n",