summaryrefslogtreecommitdiff
path: root/src/i915_video.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-06-06 15:27:44 -0700
committerEric Anholt <eric@anholt.net>2008-06-10 11:37:03 -0700
commitecf19e1cda60a938d41413075ae6e00f24e0ec1a (patch)
tree52cc63541edf693bf518a55f7bf4b67bf69110d4 /src/i915_video.c
parentbade7d7d2505a10a8a7d24b084aff9742e2d6d64 (diff)
Change most usage of pixmap offsets to using a reloc macro.
This is based on airlied's RING->BATCH commit. The 965 code still needs to be fixed up for relocations.
Diffstat (limited to 'src/i915_video.c')
-rw-r--r--src/i915_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i915_video.c b/src/i915_video.c
index aeb37293..e27854ee 100644
--- a/src/i915_video.c
+++ b/src/i915_video.c
@@ -130,7 +130,7 @@ I915DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id,
OUT_BATCH(_3DSTATE_BUF_INFO_CMD);
OUT_BATCH(BUF_3D_ID_COLOR_BACK | BUF_3D_USE_FENCE |
BUF_3D_PITCH(intel_get_pixmap_pitch(pPixmap)));
- OUT_BATCH(BUF_3D_ADDR(intel_get_pixmap_offset(pPixmap)));
+ OUT_RELOC_PIXMAP(pPixmap, 0);
ADVANCE_BATCH();
if (!planar) {