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:
Chris Wilson 2016-02-18 10:27:07 +00:00
parent 3990dd87b6
commit e85c530eab
2 changed files with 2 additions and 4 deletions

View File

@ -151,6 +151,6 @@ igt_main
igt_skip_on_simulation();
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);
}

View File

@ -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);
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*64/4] = MI_BATCH_BUFFER_END;
execbuf.batch_start_offset = i*64;
@ -151,7 +149,7 @@ igt_main
fd = drm_open_driver(DRIVER_INTEL);
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);
igt_fixture