struct xe_gt *xe_gt_alloc(struct xe_tile *tile); int xe_gt_init_early(struct xe_gt *gt); int xe_gt_init(struct xe_gt *gt); void xe_gt_mmio_init(struct xe_gt *gt); void xe_gt_declare_wedged(struct xe_gt *gt); int xe_gt_record_default_lrcs(struct xe_gt *gt);
/** * xe_gt_record_user_engines - save data related to engines available to * userspace * @gt: GT structure * * Walk the available HW engines from gt->info.engine_mask and calculate data * related to those engines that may be used by userspace. To be used whenever * available engines change in runtime (e.g. with ccs_mode) or during * initialization
*/ void xe_gt_record_user_engines(struct xe_gt *gt);
void xe_gt_suspend_prepare(struct xe_gt *gt); int xe_gt_suspend(struct xe_gt *gt); void xe_gt_shutdown(struct xe_gt *gt); int xe_gt_resume(struct xe_gt *gt); void xe_gt_reset_async(struct xe_gt *gt); void xe_gt_sanitize(struct xe_gt *gt); int xe_gt_sanitize_freq(struct xe_gt *gt);
/** * xe_gt_wait_for_reset - wait for gt's async reset to finalize. * @gt: GT structure * Return: * %true if it waited for the work to finish execution, * %false if there was no scheduled reset or it was done.
*/ staticinlinebool xe_gt_wait_for_reset(struct xe_gt *gt)
{ return flush_work(>->reset.worker);
}
/** * xe_gt_reset - perform synchronous reset * @gt: GT structure * Return: * %true if it waited for the reset to finish, * %false if there was no scheduled reset.
*/ staticinlinebool xe_gt_reset(struct xe_gt *gt)
{
xe_gt_reset_async(gt); return xe_gt_wait_for_reset(gt);
}
/** * xe_gt_any_hw_engine_by_reset_domain - scan the list of engines and return the * first that matches the same reset domain as @class * @gt: GT structure * @class: hw engine class to lookup
*/ struct xe_hw_engine *
xe_gt_any_hw_engine_by_reset_domain(struct xe_gt *gt, enum xe_engine_class class);
/** * xe_gt_any_hw_engine - scan the list of engines and return the * first available * @gt: GT structure
*/ struct xe_hw_engine *xe_gt_any_hw_engine(struct xe_gt *gt);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.