summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKalev Lember <kalev@smartlink.ee>2009-03-13 21:32:08 +0200
committerCarl Worth <cworth@cworth.org>2009-03-16 14:13:21 -0700
commit72ab5ee2e1b459772641f3b6e347ef9389f24195 (patch)
tree4c1658f7e9926473aca7d5c0f37733d4cc64b032 /src
parentd7e1543a618c54f1baeea7dd1ac54bb37e309fec (diff)
Fix Xv crash with overlay video.
Bug #20585. (cherry picked from commit 2026c57cf0a352d9e6f9d208cfb7d4d550614477)
Diffstat (limited to 'src')
-rw-r--r--src/i830_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index daa2411b..3c6fbf36 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -1382,7 +1382,7 @@ I830CopyPlanarData(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv,
dst_base = pPriv->buf->virtual;
} else {
drm_intel_gem_bo_start_gtt_access(pPriv->buf, TRUE);
- dst_base = pI830->FbBase + pPriv->buf->offset;
+ dst_base = pI830->FbBase;
}
if (pPriv->currentBuf == 0)