Home
last modified time | relevance | path

Searched refs:eclass (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.c96 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); in job_timeout_max_store() local
104 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()
120 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); in job_timeout_max_show() local
122 return sysfs_emit(buf, "%u\n", eclass->sched_props.job_timeout_max); in job_timeout_max_show()
132 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); in job_timeout_min_store() local
140 if (timeout > eclass->sched_props.job_timeout_max) in job_timeout_min_store()
148 WRITE_ONCE(eclass->sched_props.job_timeout_min, timeout); in job_timeout_min_store()
156 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); in job_timeout_min_show() local
158 return sysfs_emit(buf, "%u\n", eclass in job_timeout_min_show()
168 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); job_timeout_store() local
189 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); job_timeout_show() local
200 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); job_timeout_default() local
211 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); job_timeout_min_default() local
222 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); job_timeout_max_default() local
234 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); timeslice_duration_store() local
256 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); timeslice_duration_max_store() local
281 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); timeslice_duration_max_show() local
294 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); timeslice_duration_min_store() local
319 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); timeslice_duration_min_show() local
331 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); timeslice_duration_show() local
343 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); timeslice_default() local
354 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); timeslice_min_default() local
365 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); timeslice_max_default() local
377 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); preempt_timeout_store() local
398 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); preempt_timeout_show() local
410 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); preempt_timeout_default() local
422 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); preempt_timeout_min_default() local
434 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj->parent); preempt_timeout_max_default() local
446 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); preempt_timeout_max_store() local
470 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); preempt_timeout_max_show() local
483 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); preempt_timeout_min_store() local
507 struct xe_hw_engine_class_intf *eclass = kobj_to_eclass(kobj); preempt_timeout_min_show() local
[all...]
H A Dxe_hw_engine.c521 hwe->eclass = &gt->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()
529 hwe->eclass in hw_engine_init_early()
[all...]
H A Dxe_hw_engine_class_sysfs.h18 * struct kobj_eclass - A eclass's kobject struct that connects the kobject and the
19 * eclass.
21 * When dealing with multiple eclass, this struct helps to understand which eclass
27 /** @eclass: A pointer to the hw engine class interface */
28 struct xe_hw_engine_class_intf *eclass; member
35 return container_of(kobj, struct kobj_eclass, base)->eclass; in kobj_to_eclass()
H A Dxe_exec_queue.c86 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() argument
382 *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 in xe_exec_queue_get_prop_minmax()
[all...]
H A Dxe_hw_engine_types.h147 /** @eclass: pointer to per hw engine class interface */
148 struct xe_hw_engine_class_intf *eclass; member
H A Dxe_gt_types.h333 /** @eclass: per hardware engine class interface on the GT */
334 struct xe_hw_engine_class_intf eclass[XE_ENGINE_CLASS_MAX]; member
H A Dxe_oa.c1461 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()
/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py4769 eclass = ord(header[4])
4773 eclass = header[4]
4776 if magic == chr(127) + "ELF" and eclass > 0 and eclass < 3 and encoding > 0 and encoding < 3 and version == 1:
4777 result = True if eclass == 2 else False