Home
last modified time | relevance | path

Searched refs:sched_props (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c100 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()
118 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_max); in job_timeout_max_show()
136 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()
154 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_min); in job_timeout_min_show()
165 u32 min = eclass->sched_props.job_timeout_min; in job_timeout_store()
166 u32 max = eclass->sched_props.job_timeout_max; in job_timeout_store()
177 WRITE_ONCE(eclass->sched_props.job_timeout_ms, timeout); in job_timeout_store()
187 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_ms); in job_timeout_show()
[all …]
H A Dxe_hw_engine.c537 if (!hwe->eclass->sched_props.job_timeout_ms) { in hw_engine_init_early()
538 hwe->eclass->sched_props.job_timeout_ms = 5 * 1000; in hw_engine_init_early()
539 hwe->eclass->sched_props.job_timeout_min = XE_HW_ENGINE_JOB_TIMEOUT_MIN; in hw_engine_init_early()
540 hwe->eclass->sched_props.job_timeout_max = XE_HW_ENGINE_JOB_TIMEOUT_MAX; in hw_engine_init_early()
541 hwe->eclass->sched_props.timeslice_us = 1 * 1000; in hw_engine_init_early()
542 hwe->eclass->sched_props.timeslice_min = XE_HW_ENGINE_TIMESLICE_MIN; in hw_engine_init_early()
543 hwe->eclass->sched_props.timeslice_max = XE_HW_ENGINE_TIMESLICE_MAX; in hw_engine_init_early()
544 hwe->eclass->sched_props.preempt_timeout_us = XE_HW_ENGINE_PREEMPT_TIMEOUT; in hw_engine_init_early()
545 hwe->eclass->sched_props.preempt_timeout_min = XE_HW_ENGINE_PREEMPT_TIMEOUT_MIN; in hw_engine_init_early()
546 hwe->eclass->sched_props.preempt_timeout_max = XE_HW_ENGINE_PREEMPT_TIMEOUT_MAX; in hw_engine_init_early()
[all …]
H A Dxe_hw_engine_types.h100 } sched_props, defaults; member
H A Dxe_oa.c1504 ret1 = q->ops->set_timeslice(q, stream->hwe->eclass->sched_props.timeslice_us); in xe_oa_enable_preempt_timeslice()
1505 ret2 = q->ops->set_preempt_timeout(q, stream->hwe->eclass->sched_props.preempt_timeout_us); in xe_oa_enable_preempt_timeslice()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.c1364 hw->num_tx_sched_layers = le16_to_cpu(buf->sched_props.logical_levels); in ice_sched_query_res_alloc()
1366 le16_to_cpu(buf->sched_props.phys_levels); in ice_sched_query_res_alloc()
1367 hw->flattened_layers = buf->sched_props.flattening_bitmap; in ice_sched_query_res_alloc()
1368 hw->max_cgds = buf->sched_props.max_pf_cgds; in ice_sched_query_res_alloc()