Lines Matching refs:engine_mask
168 intel_engine_mask_t engine_mask, in i915_do_reset() argument
197 intel_engine_mask_t engine_mask, in g33_do_reset() argument
207 intel_engine_mask_t engine_mask, in g4x_do_reset() argument
243 static int ilk_do_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask, in ilk_do_reset() argument
304 intel_engine_mask_t engine_mask, in __gen6_reset_engines() argument
310 if (engine_mask == ALL_ENGINES) { in __gen6_reset_engines()
316 for_each_engine_masked(engine, gt, engine_mask, tmp) { in __gen6_reset_engines()
325 intel_engine_mask_t engine_mask, in gen6_reset_engines() argument
332 ret = __gen6_reset_engines(gt, engine_mask, retry); in gen6_reset_engines()
505 intel_engine_mask_t engine_mask, in __gen11_reset_engines() argument
513 if (engine_mask == ALL_ENGINES) { in __gen11_reset_engines()
517 for_each_engine_masked(engine, gt, engine_mask, tmp) { in __gen11_reset_engines()
594 intel_engine_mask_t engine_mask, in gen8_reset_engines() argument
605 for_each_engine_masked(engine, gt, engine_mask, tmp) { in gen8_reset_engines()
631 if (IS_DG2(gt->i915) && engine_mask == ALL_ENGINES) in gen8_reset_engines()
632 __gen11_reset_engines(gt, gt->info.engine_mask, 0); in gen8_reset_engines()
635 ret = __gen11_reset_engines(gt, engine_mask, retry); in gen8_reset_engines()
637 ret = __gen6_reset_engines(gt, engine_mask, retry); in gen8_reset_engines()
640 for_each_engine_masked(engine, gt, engine_mask, tmp) in gen8_reset_engines()
656 intel_engine_mask_t engine_mask,
681 int __intel_gt_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask) in __intel_gt_reset() argument
683 const int retries = engine_mask == ALL_ENGINES ? RESET_MAX_RETRIES : 1; in __intel_gt_reset()
698 GT_TRACE(gt, "engine_mask=%x\n", engine_mask); in __intel_gt_reset()
700 ret = reset(gt, engine_mask, retry); in __intel_gt_reset()
1266 u32 engine_mask, in intel_gt_reset_global() argument
1277 GT_TRACE(gt, "resetting chip, engines=%x\n", engine_mask); in intel_gt_reset_global()
1287 intel_gt_reset(gt, engine_mask, reason); in intel_gt_reset_global()
1310 intel_engine_mask_t engine_mask, in intel_gt_handle_error() argument
1339 engine_mask &= gt->info.engine_mask; in intel_gt_handle_error()
1342 i915_capture_error_state(gt, engine_mask, CORE_DUMP_FLAG_NONE); in intel_gt_handle_error()
1343 intel_gt_clear_error_registers(gt, engine_mask); in intel_gt_handle_error()
1353 for_each_engine_masked(engine, gt, engine_mask, tmp) { in intel_gt_handle_error()
1360 engine_mask &= ~engine->mask; in intel_gt_handle_error()
1368 if (!engine_mask) in intel_gt_handle_error()
1395 intel_gt_reset_global(gt, engine_mask, msg); in intel_gt_handle_error()