Home
last modified time | relevance | path

Searched refs:I915_RESET_ENGINE (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Digt_reset.c26 while (test_and_set_bit(I915_RESET_ENGINE + id, in igt_global_reset_lock()
28 wait_on_bit(&gt->reset.flags, I915_RESET_ENGINE + id, in igt_global_reset_lock()
39 clear_and_wake_up_bit(I915_RESET_ENGINE + id, &gt->reset.flags); in igt_global_reset_unlock()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_reset_types.h45 #define I915_RESET_ENGINE 2 macro
H A Dintel_reset.c1287 GEM_BUG_ON(!test_bit(I915_RESET_ENGINE + engine->id, &gt->reset.flags)); in __intel_engine_reset_bh()
1440 BUILD_BUG_ON(I915_RESET_MODESET >= I915_RESET_ENGINE); in intel_gt_handle_error()
1441 if (test_and_set_bit(I915_RESET_ENGINE + engine->id, in intel_gt_handle_error()
1448 clear_and_wake_up_bit(I915_RESET_ENGINE + engine->id, in intel_gt_handle_error()
1473 while (test_and_set_bit(I915_RESET_ENGINE + engine->id, in intel_gt_handle_error()
1476 I915_RESET_ENGINE + engine->id, in intel_gt_handle_error()
1488 clear_bit_unlock(I915_RESET_ENGINE + engine->id, in intel_gt_handle_error()
1562 BUILD_BUG_ON(I915_RESET_ENGINE + I915_NUM_ENGINES > in intel_gt_set_wedged_on_init()
H A Dselftest_hangcheck.c461 GEM_BUG_ON(test_and_set_bit(I915_RESET_ENGINE + id, in igt_reset_nop_engine()
519 clear_and_wake_up_bit(I915_RESET_ENGINE + id, &gt->reset.flags); in igt_reset_nop_engine()
573 GEM_BUG_ON(test_and_set_bit(I915_RESET_ENGINE + id, in igt_reset_fail_engine()
671 clear_and_wake_up_bit(I915_RESET_ENGINE + id, &gt->reset.flags); in igt_reset_fail_engine()
726 GEM_BUG_ON(test_and_set_bit(I915_RESET_ENGINE + id, in __igt_reset_engine()
817 clear_and_wake_up_bit(I915_RESET_ENGINE + id, &gt->reset.flags); in __igt_reset_engine()
1045 GEM_BUG_ON(test_and_set_bit(I915_RESET_ENGINE + id, in __igt_reset_engines()
1169 clear_and_wake_up_bit(I915_RESET_ENGINE + id, &gt->reset.flags); in __igt_reset_engines()
H A Dselftest_lrc.c1716 const unsigned int bit = I915_RESET_ENGINE + engine->id; in garbage_reset()
H A Dselftest_execlists.c558 if (test_and_set_bit(I915_RESET_ENGINE + engine->id, in engine_lock_reset_tasklet()
572 clear_and_wake_up_bit(I915_RESET_ENGINE + engine->id, in engine_unlock_reset_tasklet()
H A Dintel_execlists_submission.c2391 const unsigned int bit = I915_RESET_ENGINE + engine->id; in execlists_reset()