xf86-video-intel: src/sna/kgem.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu Nov 8 01:42:30 PST 2012
src/sna/kgem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 93d8dddbb92431d6e2c48a17b71cac9f7047902e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Nov 8 09:41:21 2012 +0000
sna: Set the known offset for the batch as well
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 131a209..e643b85 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -2287,7 +2287,7 @@ void _kgem_submit(struct kgem *kgem)
kgem->exec[i].relocation_count = kgem->nreloc;
kgem->exec[i].relocs_ptr = (uintptr_t)kgem->reloc;
kgem->exec[i].alignment = 0;
- kgem->exec[i].offset = 0;
+ kgem->exec[i].offset = rq->bo->presumed_offset;
kgem->exec[i].flags = 0;
kgem->exec[i].rsvd1 = 0;
kgem->exec[i].rsvd2 = 0;
More information about the xorg-commit
mailing list