mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 10:26:12 +00:00
igt/gem_busy: Avoid BSD emission on gen6
Remember to skip using BSD on gen6, unless you want to kill the machine. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95134 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
81864b55b0
commit
102943d1ba
@ -178,7 +178,7 @@ AM_CONDITIONAL(HAVE_VC4, [test "x$VC4" = xyes])
|
|||||||
# Define a configure option for the shader debugger
|
# Define a configure option for the shader debugger
|
||||||
AC_ARG_ENABLE(shader-debugger, AS_HELP_STRING([--enable-shader-debugger],
|
AC_ARG_ENABLE(shader-debugger, AS_HELP_STRING([--enable-shader-debugger],
|
||||||
[Enable shader debugging support [autodetected]]),
|
[Enable shader debugging support [autodetected]]),
|
||||||
[BUILD_SHADER_DEBUGGER="$enableval"], [BUILD_SHADER_DEBUGGER=$build_x86])
|
[BUILD_SHADER_DEBUGGER="$enableval"], [BUILD_SHADER_DEBUGGER=no])
|
||||||
|
|
||||||
# Shader debugger depends on python3, intel-genasm and objcopy
|
# Shader debugger depends on python3, intel-genasm and objcopy
|
||||||
if test "x$BUILD_SHADER_DEBUGGER" != xno; then
|
if test "x$BUILD_SHADER_DEBUGGER" != xno; then
|
||||||
|
@ -318,6 +318,12 @@ static void one(int fd, unsigned ring, uint32_t flags, unsigned test_flags)
|
|||||||
if (e->exec_id == 0 || e->exec_id == ring)
|
if (e->exec_id == 0 || e->exec_id == ring)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (e->exec_id == I915_EXEC_BSD && gen == 6)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if (!gem_has_ring(fd, e->exec_id | e->flags))
|
||||||
|
continue;
|
||||||
|
|
||||||
igt_debug("Testing %s in parallel\n", e->name);
|
igt_debug("Testing %s in parallel\n", e->name);
|
||||||
one(fd, e->exec_id, e->flags, 0);
|
one(fd, e->exec_id, e->flags, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user