I915_RESET_ENGINE
const unsigned int bit = I915_RESET_ENGINE + engine->id;
GEM_BUG_ON(!test_bit(I915_RESET_ENGINE + engine->id, >->reset.flags));
BUILD_BUG_ON(I915_RESET_BACKOFF >= I915_RESET_ENGINE);
if (test_and_set_bit(I915_RESET_ENGINE + engine->id,
clear_and_wake_up_bit(I915_RESET_ENGINE + engine->id,
while (test_and_set_bit(I915_RESET_ENGINE + engine->id,
I915_RESET_ENGINE + engine->id,
clear_bit_unlock(I915_RESET_ENGINE + engine->id,
BUILD_BUG_ON(I915_RESET_ENGINE + I915_NUM_ENGINES >
if (test_and_set_bit(I915_RESET_ENGINE + engine->id,
clear_and_wake_up_bit(I915_RESET_ENGINE + engine->id,
GEM_BUG_ON(test_and_set_bit(I915_RESET_ENGINE + id,
clear_and_wake_up_bit(I915_RESET_ENGINE + id, >->reset.flags);
GEM_BUG_ON(test_and_set_bit(I915_RESET_ENGINE + id,
clear_and_wake_up_bit(I915_RESET_ENGINE + id, >->reset.flags);
GEM_BUG_ON(test_and_set_bit(I915_RESET_ENGINE + id,
clear_and_wake_up_bit(I915_RESET_ENGINE + id, >->reset.flags);
GEM_BUG_ON(test_and_set_bit(I915_RESET_ENGINE + id,
clear_and_wake_up_bit(I915_RESET_ENGINE + id, >->reset.flags);
const unsigned int bit = I915_RESET_ENGINE + engine->id;
while (test_and_set_bit(I915_RESET_ENGINE + id,
wait_on_bit(>->reset.flags, I915_RESET_ENGINE + id,
clear_and_wake_up_bit(I915_RESET_ENGINE + id, >->reset.flags);