Searched refs:eclass (Results 1 – 7 of 7) sorted by relevance
104 if (timeout < eclass->sched_props.job_timeout_min) in job_timeout_max_store()140 if (timeout > eclass->sched_props.job_timeout_max) in job_timeout_min_store()169 u32 min = eclass->sched_props.job_timeout_min; in job_timeout_store()170 u32 max = eclass->sched_props.job_timeout_max; in job_timeout_store()235 u32 min = eclass->sched_props.timeslice_min; in timeslice_duration_store()236 u32 max = eclass->sched_props.timeslice_max; in timeslice_duration_store()264 if (duration < eclass->sched_props.timeslice_min) in timeslice_duration_max_store()302 if (duration > eclass->sched_props.timeslice_max) in timeslice_duration_min_store()378 u32 min = eclass->sched_props.preempt_timeout_min; in preempt_timeout_store()379 u32 max = eclass->sched_props.preempt_timeout_max; in preempt_timeout_store()[all …]
521 hwe->eclass = >->eclass[hwe->class]; in hw_engine_init_early()522 if (!hwe->eclass->sched_props.job_timeout_ms) { in hw_engine_init_early()523 hwe->eclass->sched_props.job_timeout_ms = 5 * 1000; in hw_engine_init_early()524 hwe->eclass->sched_props.job_timeout_min = XE_HW_ENGINE_JOB_TIMEOUT_MIN; in hw_engine_init_early()525 hwe->eclass->sched_props.job_timeout_max = XE_HW_ENGINE_JOB_TIMEOUT_MAX; in hw_engine_init_early()526 hwe->eclass->sched_props.timeslice_us = 1 * 1000; in hw_engine_init_early()527 hwe->eclass->sched_props.timeslice_min = XE_HW_ENGINE_TIMESLICE_MIN; in hw_engine_init_early()528 hwe->eclass->sched_props.timeslice_max = XE_HW_ENGINE_TIMESLICE_MAX; in hw_engine_init_early()552 if (hwe->eclass->sched_props.preempt_timeout_us < min_preempt_timeout) { in hw_engine_init_early()553 hwe->eclass->sched_props.preempt_timeout_us = min_preempt_timeout; in hw_engine_init_early()[all …]
86 q->sched_props.timeslice_us = hwe->eclass->sched_props.timeslice_us; in __xe_exec_queue_alloc()88 hwe->eclass->sched_props.preempt_timeout_us; in __xe_exec_queue_alloc()90 hwe->eclass->sched_props.job_timeout_ms; in __xe_exec_queue_alloc()376 xe_exec_queue_get_prop_minmax(struct xe_hw_engine_class_intf *eclass, in xe_exec_queue_get_prop_minmax() argument382 *min = eclass->sched_props.job_timeout_min; in xe_exec_queue_get_prop_minmax()383 *max = eclass->sched_props.job_timeout_max; in xe_exec_queue_get_prop_minmax()386 *min = eclass->sched_props.timeslice_min; in xe_exec_queue_get_prop_minmax()387 *max = eclass->sched_props.timeslice_max; in xe_exec_queue_get_prop_minmax()390 *min = eclass->sched_props.preempt_timeout_min; in xe_exec_queue_get_prop_minmax()391 *max = eclass->sched_props.preempt_timeout_max; in xe_exec_queue_get_prop_minmax()[all …]
28 struct xe_hw_engine_class_intf *eclass; member35 return container_of(kobj, struct kobj_eclass, base)->eclass; in kobj_to_eclass()
148 struct xe_hw_engine_class_intf *eclass; member
334 struct xe_hw_engine_class_intf eclass[XE_ENGINE_CLASS_MAX]; member
1461 ret1 = q->ops->set_timeslice(q, stream->hwe->eclass->sched_props.timeslice_us); in xe_oa_enable_preempt_timeslice()1462 ret2 = q->ops->set_preempt_timeout(q, stream->hwe->eclass->sched_props.preempt_timeout_us); in xe_oa_enable_preempt_timeslice()
Completed in 29 milliseconds