Lines Matching +full:fault +full:- +full:inject
1 /* SPDX-License-Identifier: MIT */
9 #include <linux/fault-inject.h>
18 for ((id__) = 0; (id__) < ARRAY_SIZE((gt__)->hw_engines); (id__)++) \
19 for_each_if(((hwe__) = (gt__)->hw_engines + (id__)) && \
22 #define CCS_MASK(gt) (((gt)->info.engine_mask & XE_HW_ENGINE_CCS_MASK) >> XE_HW_ENGINE_CCS0)
38 * xe_gt_record_user_engines - save data related to engines available to
42 * Walk the available HW engines from gt->info.engine_mask and calculate data
58 * xe_gt_wait_for_reset - wait for gt's async reset to finalize.
66 return flush_work(>->reset.worker); in xe_gt_wait_for_reset()
70 * xe_gt_reset - perform synchronous reset
83 * xe_gt_any_hw_engine_by_reset_domain - scan the list of engines and return the
92 * xe_gt_any_hw_engine - scan the list of engines and return the
105 return gt->info.has_indirect_ring_state && in xe_gt_has_indirect_ring_state()
111 return gt->info.type == XE_GT_TYPE_MAIN; in xe_gt_is_main_type()
116 return gt->info.type == XE_GT_TYPE_MEDIA; in xe_gt_is_media_type()
123 return xe->info.has_usm && hwe->class == XE_ENGINE_CLASS_COPY && in xe_gt_is_usm_hwe()
124 hwe->instance == gt->usm.reserved_bcs_instance; in xe_gt_is_usm_hwe()