Searched refs:sched_props (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_hw_engine_class_sysfs.c | 100 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 D | xe_hw_engine.c | 537 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 D | xe_guc_submit.c | 510 enum xe_exec_queue_priority prio = q->sched_props.priority; in init_policies() 511 u32 timeslice_us = q->sched_props.timeslice_us; in init_policies() 513 u32 preempt_timeout_us = q->sched_props.preempt_timeout_us; in init_policies() 1373 u32 timeout_ms = q->sched_props.job_timeout_ms; in check_timeout() 2013 msecs_to_jiffies(q->sched_props.job_timeout_ms); in guc_exec_queue_init() 2153 if (q->sched_props.priority == priority || in guc_exec_queue_set_priority() 2161 q->sched_props.priority = priority; in guc_exec_queue_set_priority() 2171 if (q->sched_props.timeslice_us == timeslice_us || in guc_exec_queue_set_timeslice() 2179 q->sched_props.timeslice_us = timeslice_us; in guc_exec_queue_set_timeslice() 2190 if (q->sched_props.preempt_timeout_us == preempt_timeout_us || in guc_exec_queue_set_preempt_timeout() [all …]
|
| H A D | xe_hw_engine_types.h | 100 } sched_props, defaults; member
|
| H A D | xe_oa.c | 1511 ret1 = q->ops->set_timeslice(q, stream->hwe->eclass->sched_props.timeslice_us); in xe_oa_enable_preempt_timeslice() 1512 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 D | ice_sched.c | 1364 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()
|