I915_SELFTEST_ONLY
!I915_SELFTEST_ONLY(force_different_devices)) {
if (I915_SELFTEST_ONLY(fail_gpu_migration))
!I915_SELFTEST_ONLY(fail_gpu_migration))
if (unlikely(fence->error || I915_SELFTEST_ONLY(fail_gpu_migration))) {
return ERR_PTR(I915_SELFTEST_ONLY(fail_gpu_migration) ? -EINVAL :
return I915_SELFTEST_ONLY(ban_memcpy) ? false : true;
!I915_SELFTEST_ONLY(fail_gpu_migration ||
if (!I915_SELFTEST_ONLY(fail_work_allocation))
fence = ERR_PTR(I915_SELFTEST_ONLY(fail_gpu_migration) ?
if (I915_SELFTEST_ONLY(evict && fail_gpu_migration))
if (I915_SELFTEST_ONLY(vm->scrub_64K)) {
if (I915_SELFTEST_ONLY(!engine->mmio_base))
(void)I915_SELFTEST_ONLY(execlists->preempt_hang.count++);
return I915_SELFTEST_ONLY(gt->awake == INTEL_WAKEREF_MOCK_GT);
if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1)))
if (I915_SELFTEST_ONLY(should_fail(&engine->reset_timeout, 1)))
if (I915_SELFTEST_ONLY(igt_evict_ctl.fail_if_busy))