Home
last modified time | relevance | path

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

/drivers/misc/habanalabs/common/
Dhw_queue.c1088 q->queue_type = asic->hw_queues_props[i].type; in hl_hw_queues_create()
1090 asic->hw_queues_props[i].supports_sync_stream; in hl_hw_queues_create()
1091 q->collective_mode = asic->hw_queues_props[i].collective_mode; in hl_hw_queues_create()
Dcommand_submission.c996 hw_queue_prop = &asic->hw_queues_props[chunk->queue_index]; in validate_queue_index()
1786 hw_queue_prop = &hdev->asic_prop.hw_queues_props[q_idx]; in cs_ioctl_reserve_signals()
1981 hw_queue_prop = &hdev->asic_prop.hw_queues_props[q_idx]; in cs_ioctl_signal_wait()
Dhabanalabs.h517 struct hw_queue_properties *hw_queues_props; member
/drivers/misc/habanalabs/goya/
Dgoya.c366 prop->hw_queues_props = kcalloc(prop->max_queues, in goya_set_fixed_properties()
370 if (!prop->hw_queues_props) in goya_set_fixed_properties()
374 prop->hw_queues_props[i].type = QUEUE_TYPE_EXT; in goya_set_fixed_properties()
375 prop->hw_queues_props[i].driver_only = 0; in goya_set_fixed_properties()
376 prop->hw_queues_props[i].cb_alloc_flags = CB_ALLOC_KERNEL; in goya_set_fixed_properties()
380 prop->hw_queues_props[i].type = QUEUE_TYPE_CPU; in goya_set_fixed_properties()
381 prop->hw_queues_props[i].driver_only = 1; in goya_set_fixed_properties()
382 prop->hw_queues_props[i].cb_alloc_flags = CB_ALLOC_KERNEL; in goya_set_fixed_properties()
387 prop->hw_queues_props[i].type = QUEUE_TYPE_INT; in goya_set_fixed_properties()
388 prop->hw_queues_props[i].driver_only = 0; in goya_set_fixed_properties()
[all …]
/drivers/misc/habanalabs/gaudi/
Dgaudi.c527 prop->hw_queues_props = kcalloc(prop->max_queues, in gaudi_set_fixed_properties()
531 if (!prop->hw_queues_props) in gaudi_set_fixed_properties()
536 prop->hw_queues_props[i].type = QUEUE_TYPE_EXT; in gaudi_set_fixed_properties()
537 prop->hw_queues_props[i].driver_only = 0; in gaudi_set_fixed_properties()
538 prop->hw_queues_props[i].supports_sync_stream = 1; in gaudi_set_fixed_properties()
539 prop->hw_queues_props[i].cb_alloc_flags = in gaudi_set_fixed_properties()
543 prop->hw_queues_props[i].type = QUEUE_TYPE_CPU; in gaudi_set_fixed_properties()
544 prop->hw_queues_props[i].driver_only = 1; in gaudi_set_fixed_properties()
545 prop->hw_queues_props[i].supports_sync_stream = 0; in gaudi_set_fixed_properties()
546 prop->hw_queues_props[i].cb_alloc_flags = in gaudi_set_fixed_properties()
[all …]