Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c104 if (timeout < eclass->sched_props.job_timeout_min) in job_timeout_max_store()
112 WRITE_ONCE(eclass->sched_props.job_timeout_max, timeout); 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()
[all …]
H A Dxe_exec_queue.c86 q->sched_props.timeslice_us = hwe->eclass->sched_props.timeslice_us; in __xe_exec_queue_alloc()
87 q->sched_props.preempt_timeout_us = in __xe_exec_queue_alloc()
88 hwe->eclass->sched_props.preempt_timeout_us; in __xe_exec_queue_alloc()
89 q->sched_props.job_timeout_ms = in __xe_exec_queue_alloc()
90 hwe->eclass->sched_props.job_timeout_ms; in __xe_exec_queue_alloc()
375 q->sched_props.priority = value; in exec_queue_set_priority()
395 *min = eclass->sched_props.job_timeout_min; in xe_exec_queue_get_prop_minmax()
396 *max = eclass->sched_props.job_timeout_max; in xe_exec_queue_get_prop_minmax()
399 *min = eclass->sched_props.timeslice_min; in xe_exec_queue_get_prop_minmax()
400 *max = eclass->sched_props.timeslice_max; in xe_exec_queue_get_prop_minmax()
[all …]
H A Dxe_hw_engine.c521 if (!hwe->eclass->sched_props.job_timeout_ms) { in hw_engine_init_early()
522 hwe->eclass->sched_props.job_timeout_ms = 5 * 1000; in hw_engine_init_early()
523 hwe->eclass->sched_props.job_timeout_min = XE_HW_ENGINE_JOB_TIMEOUT_MIN; in hw_engine_init_early()
524 hwe->eclass->sched_props.job_timeout_max = XE_HW_ENGINE_JOB_TIMEOUT_MAX; in hw_engine_init_early()
525 hwe->eclass->sched_props.timeslice_us = 1 * 1000; in hw_engine_init_early()
526 hwe->eclass->sched_props.timeslice_min = XE_HW_ENGINE_TIMESLICE_MIN; in hw_engine_init_early()
527 hwe->eclass->sched_props.timeslice_max = XE_HW_ENGINE_TIMESLICE_MAX; in hw_engine_init_early()
528 hwe->eclass->sched_props.preempt_timeout_us = XE_HW_ENGINE_PREEMPT_TIMEOUT; in hw_engine_init_early()
551 if (hwe->eclass->sched_props.preempt_timeout_us < min_preempt_timeout) { in hw_engine_init_early()
552 hwe->eclass->sched_props.preempt_timeout_us = min_preempt_timeout; in hw_engine_init_early()
[all …]
H A Dxe_guc_submit.c418 u32 timeslice_us = q->sched_props.timeslice_us; in init_policies()
932 u32 timeout_ms = q->sched_props.job_timeout_ms; in check_timeout()
1554 if (q->sched_props.priority == priority || in guc_exec_queue_set_priority()
1562 q->sched_props.priority = priority; in guc_exec_queue_set_priority()
1572 if (q->sched_props.timeslice_us == timeslice_us || in guc_exec_queue_set_timeslice()
1580 q->sched_props.timeslice_us = timeslice_us; in guc_exec_queue_set_timeslice()
2179 snapshot->sched_props.timeslice_us = q->sched_props.timeslice_us; in xe_guc_exec_queue_snapshot_capture()
2180 snapshot->sched_props.preempt_timeout_us = in xe_guc_exec_queue_snapshot_capture()
2181 q->sched_props.preempt_timeout_us; in xe_guc_exec_queue_snapshot_capture()
2270 snapshot->sched_props.timeslice_us); in xe_guc_exec_queue_snapshot_print()
[all …]
H A Dxe_guc_submit_types.h98 } sched_props; member
H A Dxe_exec_queue_types.h121 } sched_props; member
H A Dxe_hw_engine_types.h100 } sched_props, defaults; member
H A Dxe_execlist.c219 enum xe_exec_queue_priority priority = exl->q->sched_props.priority; in xe_execlist_make_active()
H A Dxe_oa.c1429 ret1 = q->ops->set_timeslice(q, stream->hwe->eclass->sched_props.timeslice_us); in xe_oa_enable_preempt_timeslice()
1430 ret2 = q->ops->set_preempt_timeout(q, stream->hwe->eclass->sched_props.preempt_timeout_us); in xe_oa_enable_preempt_timeslice()
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_sched.c1341 hw->num_tx_sched_layers = le16_to_cpu(buf->sched_props.logical_levels); in ice_sched_query_res_alloc()
1343 le16_to_cpu(buf->sched_props.phys_levels); in ice_sched_query_res_alloc()
1344 hw->flattened_layers = buf->sched_props.flattening_bitmap; in ice_sched_query_res_alloc()
1345 hw->max_cgds = buf->sched_props.max_pf_cgds; in ice_sched_query_res_alloc()
H A Dice_adminq_cmd.h1039 struct ice_aqc_generic_sched_props sched_props; member