Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c57 if (timeout < eclass->sched_props.job_timeout_min) in job_timeout_max_store()
65 WRITE_ONCE(eclass->sched_props.job_timeout_max, timeout); in job_timeout_max_store()
75 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_max); in job_timeout_max_show()
93 if (timeout > eclass->sched_props.job_timeout_max) in job_timeout_min_store()
101 WRITE_ONCE(eclass->sched_props.job_timeout_min, timeout); in job_timeout_min_store()
111 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_min); in job_timeout_min_show()
122 u32 min = eclass->sched_props.job_timeout_min; in job_timeout_store()
123 u32 max = eclass->sched_props.job_timeout_max; in job_timeout_store()
134 WRITE_ONCE(eclass->sched_props.job_timeout_ms, timeout); in job_timeout_store()
144 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_ms); in job_timeout_show()
[all …]
H A Dxe_exec_queue.c82 q->sched_props.timeslice_us = hwe->eclass->sched_props.timeslice_us; in __xe_exec_queue_alloc()
83 q->sched_props.preempt_timeout_us = in __xe_exec_queue_alloc()
84 hwe->eclass->sched_props.preempt_timeout_us; in __xe_exec_queue_alloc()
85 q->sched_props.job_timeout_ms = in __xe_exec_queue_alloc()
86 hwe->eclass->sched_props.job_timeout_ms; in __xe_exec_queue_alloc()
89 q->sched_props.priority = XE_EXEC_QUEUE_PRIORITY_KERNEL; in __xe_exec_queue_alloc()
91 q->sched_props.priority = XE_EXEC_QUEUE_PRIORITY_NORMAL; in __xe_exec_queue_alloc()
336 q->sched_props.priority = value; in exec_queue_set_priority()
356 *min = eclass->sched_props.job_timeout_min; in xe_exec_queue_get_prop_minmax()
357 *max = eclass->sched_props.job_timeout_max; in xe_exec_queue_get_prop_minmax()
[all …]
H A Dxe_hw_engine.c520 if (!hwe->eclass->sched_props.job_timeout_ms) { in hw_engine_init_early()
521 hwe->eclass->sched_props.job_timeout_ms = 5 * 1000; in hw_engine_init_early()
522 hwe->eclass->sched_props.job_timeout_min = XE_HW_ENGINE_JOB_TIMEOUT_MIN; in hw_engine_init_early()
523 hwe->eclass->sched_props.job_timeout_max = XE_HW_ENGINE_JOB_TIMEOUT_MAX; in hw_engine_init_early()
524 hwe->eclass->sched_props.timeslice_us = 1 * 1000; in hw_engine_init_early()
525 hwe->eclass->sched_props.timeslice_min = XE_HW_ENGINE_TIMESLICE_MIN; in hw_engine_init_early()
526 hwe->eclass->sched_props.timeslice_max = XE_HW_ENGINE_TIMESLICE_MAX; in hw_engine_init_early()
527 hwe->eclass->sched_props.preempt_timeout_us = XE_HW_ENGINE_PREEMPT_TIMEOUT; in hw_engine_init_early()
528 hwe->eclass->sched_props.preempt_timeout_min = XE_HW_ENGINE_PREEMPT_TIMEOUT_MIN; in hw_engine_init_early()
529 hwe->eclass->sched_props.preempt_timeout_max = XE_HW_ENGINE_PREEMPT_TIMEOUT_MAX; in hw_engine_init_early()
[all …]
H A Dxe_guc_submit_types.h98 } sched_props; member
H A Dxe_exec_queue_types.h119 } 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/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