Searched refs:eclass (Results 1 – 7 of 7) sorted by relevance
92 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); in job_timeout_max_store() local100 if (timeout < eclass->sched_props.job_timeout_min) in job_timeout_max_store()108 WRITE_ONCE(eclass->sched_props.job_timeout_max, timeout); in job_timeout_max_store()116 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); in job_timeout_max_show() local118 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_max); in job_timeout_max_show()128 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); in job_timeout_min_store() local136 if (timeout > eclass->sched_props.job_timeout_max) in job_timeout_min_store()144 WRITE_ONCE(eclass->sched_props.job_timeout_min, timeout); in job_timeout_min_store()152 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); in job_timeout_min_show() local154 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_min); in job_timeout_min_show()[all …]
531 hwe->eclass = >->eclass[hwe->class]; in hw_engine_init_early()532 if (!hwe->eclass->sched_props.job_timeout_ms) { in hw_engine_init_early()533 hwe->eclass->sched_props.job_timeout_ms = 5 * 1000; in hw_engine_init_early()534 hwe->eclass->sched_props.job_timeout_min = XE_HW_ENGINE_JOB_TIMEOUT_MIN; in hw_engine_init_early()535 hwe->eclass->sched_props.job_timeout_max = XE_HW_ENGINE_JOB_TIMEOUT_MAX; in hw_engine_init_early()536 hwe->eclass->sched_props.timeslice_us = 1 * 1000; in hw_engine_init_early()537 hwe->eclass->sched_props.timeslice_min = XE_HW_ENGINE_TIMESLICE_MIN; in hw_engine_init_early()538 hwe->eclass->sched_props.timeslice_max = XE_HW_ENGINE_TIMESLICE_MAX; in hw_engine_init_early()539 hwe->eclass->sched_props.preempt_timeout_us = XE_HW_ENGINE_PREEMPT_TIMEOUT; in hw_engine_init_early()540 hwe->eclass->sched_props.preempt_timeout_min = XE_HW_ENGINE_PREEMPT_TIMEOUT_MIN; in hw_engine_init_early()[all …]
237 q->sched_props.timeslice_us = hwe->eclass->sched_props.timeslice_us; in __xe_exec_queue_alloc()239 hwe->eclass->sched_props.preempt_timeout_us; in __xe_exec_queue_alloc()241 hwe->eclass->sched_props.job_timeout_ms; in __xe_exec_queue_alloc()722 xe_exec_queue_get_prop_minmax(struct xe_hw_engine_class_intf *eclass, in xe_exec_queue_get_prop_minmax() argument728 *min = eclass->sched_props.job_timeout_min; in xe_exec_queue_get_prop_minmax()729 *max = eclass->sched_props.job_timeout_max; in xe_exec_queue_get_prop_minmax()732 *min = eclass->sched_props.timeslice_min; in xe_exec_queue_get_prop_minmax()733 *max = eclass->sched_props.timeslice_max; in xe_exec_queue_get_prop_minmax()736 *min = eclass->sched_props.preempt_timeout_min; in xe_exec_queue_get_prop_minmax()737 *max = eclass->sched_props.preempt_timeout_max; in xe_exec_queue_get_prop_minmax()[all …]
148 struct xe_hw_engine_class_intf *eclass; member
266 struct xe_hw_engine_class_intf eclass[XE_ENGINE_CLASS_MAX]; member
1474 ret1 = q->ops->set_timeslice(q, stream->hwe->eclass->sched_props.timeslice_us); in xe_oa_enable_preempt_timeslice()1475 ret2 = q->ops->set_preempt_timeout(q, stream->hwe->eclass->sched_props.preempt_timeout_us); in xe_oa_enable_preempt_timeslice()
4769 eclass = ord(header[4])4773 eclass = header[4]4776 …if magic == chr(127) + "ELF" and eclass > 0 and eclass < 3 and encoding > 0 and encoding < 3 and v…4777 result = True if eclass == 2 else False