mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-18 21:36:27 +00:00
igt/gem_cs_tlb: Increase BB start alignment to 64bytes
Ironlake requires 64byte alignment for its MI_BATCH_BUFFER_START. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
89f81e0396
commit
d63e72f0ad
@ -124,12 +124,12 @@ static void run_on_ring(int fd, unsigned ring_id, const char *ring_name)
|
||||
execobj.flags = EXEC_OBJECT_PINNED;
|
||||
|
||||
sprintf(buf, "Testing %s cs tlb coherency: ", ring_name);
|
||||
for (i = 0; i < BATCH_SIZE/8; i++) {
|
||||
igt_progress(buf, i, BATCH_SIZE/8);
|
||||
for (i = 0; i < BATCH_SIZE/64; i++) {
|
||||
igt_progress(buf, i, BATCH_SIZE/64);
|
||||
|
||||
execobj.handle = obj[i&1].handle;
|
||||
obj[i&1].batch[i*2] = MI_BATCH_BUFFER_END;
|
||||
execbuf.batch_start_offset = i*8;
|
||||
obj[i&1].batch[i*64/4] = MI_BATCH_BUFFER_END;
|
||||
execbuf.batch_start_offset = i*64;
|
||||
|
||||
gem_execbuf(fd, &execbuf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user