mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
igt/gem_exec_whisper: Move testing of "default" engine to standalone
Exclude the symbolic "default" engine from the interengine sync testing, and move it onto the standalone testing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
c8d5c353bf
commit
5df2de7e14
@ -96,7 +96,13 @@ static int __gem_context_create(int fd, uint32_t *ctx_id)
|
|||||||
|
|
||||||
static bool ignore_engine(int gen, unsigned engine)
|
static bool ignore_engine(int gen, unsigned engine)
|
||||||
{
|
{
|
||||||
return gen == 6 && (engine & ~(3<<13)) == I915_EXEC_BSD;
|
if (engine == 0)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (gen == 6 && (engine & ~(3<<13)) == I915_EXEC_BSD)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define CONTEXTS 0x1
|
#define CONTEXTS 0x1
|
||||||
@ -128,7 +134,6 @@ static void whisper(int fd, unsigned engine, unsigned flags)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
igt_require(gem_has_ring(fd, engine));
|
igt_require(gem_has_ring(fd, engine));
|
||||||
igt_require(!ignore_engine(gen, engine));
|
|
||||||
engines[nengine++] = engine;
|
engines[nengine++] = engine;
|
||||||
}
|
}
|
||||||
igt_require(nengine);
|
igt_require(nengine);
|
||||||
@ -348,9 +353,6 @@ igt_main
|
|||||||
|
|
||||||
for (const struct intel_execution_engine *e = intel_execution_engines;
|
for (const struct intel_execution_engine *e = intel_execution_engines;
|
||||||
e->name; e++) {
|
e->name; e++) {
|
||||||
if (e->exec_id == 0)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
igt_subtest_f("normal-%s", e->name)
|
igt_subtest_f("normal-%s", e->name)
|
||||||
whisper(fd, e->exec_id | e->flags, 0);
|
whisper(fd, e->exec_id | e->flags, 0);
|
||||||
igt_subtest_f("contexts-%s", e->name)
|
igt_subtest_f("contexts-%s", e->name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user