diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-08 09:41:21 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-11-08 09:41:21 +0000 |
commit | 93d8dddbb92431d6e2c48a17b71cac9f7047902e (patch) | |
tree | d4a68de3400280ad1c3294395e42a72f263058f4 | |
parent | 120fa0ef8d04f5e82e5f7a0636033d3d96efa1e8 (diff) |
sna: Set the known offset for the batch as well
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index 131a2098..e643b857 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; |