mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 18:36:15 +00:00
igt: Mark gem_cs_tlb/gem_cs_prefetch as a pair of basic GTT layout tests
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
3990dd87b6
commit
e85c530eab
@ -151,6 +151,6 @@ igt_main
|
|||||||
igt_skip_on_simulation();
|
igt_skip_on_simulation();
|
||||||
|
|
||||||
for (e = intel_execution_engines; e->name; e++)
|
for (e = intel_execution_engines; e->name; e++)
|
||||||
igt_subtest_f("%s", e->name)
|
igt_subtest_f("%s%s", e->exec_id ? "" : "basic-", e->name)
|
||||||
test_ring(e->exec_id | e->flags);
|
test_ring(e->exec_id | e->flags);
|
||||||
}
|
}
|
||||||
|
@ -125,8 +125,6 @@ static void run_on_ring(int fd, unsigned ring_id, const char *ring_name)
|
|||||||
|
|
||||||
sprintf(buf, "Testing %s cs tlb coherency: ", ring_name);
|
sprintf(buf, "Testing %s cs tlb coherency: ", ring_name);
|
||||||
for (i = 0; i < BATCH_SIZE/64; i++) {
|
for (i = 0; i < BATCH_SIZE/64; i++) {
|
||||||
igt_progress(buf, i, BATCH_SIZE/64);
|
|
||||||
|
|
||||||
execobj.handle = obj[i&1].handle;
|
execobj.handle = obj[i&1].handle;
|
||||||
obj[i&1].batch[i*64/4] = MI_BATCH_BUFFER_END;
|
obj[i&1].batch[i*64/4] = MI_BATCH_BUFFER_END;
|
||||||
execbuf.batch_start_offset = i*64;
|
execbuf.batch_start_offset = i*64;
|
||||||
@ -151,7 +149,7 @@ igt_main
|
|||||||
fd = drm_open_driver(DRIVER_INTEL);
|
fd = drm_open_driver(DRIVER_INTEL);
|
||||||
|
|
||||||
for (e = intel_execution_engines; e->name; e++)
|
for (e = intel_execution_engines; e->name; e++)
|
||||||
igt_subtest_f("%s", e->name)
|
igt_subtest_f("%s%s", e->exec_id ? "" : "basic-", e->name)
|
||||||
run_on_ring(fd, e->exec_id | e->flags, e->name);
|
run_on_ring(fd, e->exec_id | e->flags, e->name);
|
||||||
|
|
||||||
igt_fixture
|
igt_fixture
|
||||||
|
Loading…
x
Reference in New Issue
Block a user