[Intel-gfx] [PATCH 02/13] Xv: fixup relocation in i965_video.c
Daniel Vetter
daniel.vetter at ffwll.ch
Tue Mar 2 09:22:33 CET 2010
Makes more sense this way round.
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
src/i965_video.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/i965_video.c b/src/i965_video.c
index 0ba9511..05dd2c3 100644
--- a/src/i965_video.c
+++ b/src/i965_video.c
@@ -1228,7 +1228,7 @@ I965DisplayVideoTextured(ScrnInfoPtr scrn,
OUT_RELOC(vb_bo, I915_GEM_DOMAIN_VERTEX, 0, 0);
if (IS_IGDNG(intel))
OUT_RELOC(vb_bo, I915_GEM_DOMAIN_VERTEX, 0,
- (vb_bo->offset + i) * 4);
+ i * 4);
else
OUT_BATCH(3); /* four corners to our rectangle */
OUT_BATCH(0); /* reserved */
--
1.6.6.1
More information about the Intel-gfx
mailing list