Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c373 prop->hw_queues_props = kcalloc(prop->max_queues, in gaudi_get_fixed_properties()
377 if (!prop->hw_queues_props) in gaudi_get_fixed_properties()
382 prop->hw_queues_props[i].type = QUEUE_TYPE_EXT; in gaudi_get_fixed_properties()
383 prop->hw_queues_props[i].driver_only = 0; in gaudi_get_fixed_properties()
384 prop->hw_queues_props[i].requires_kernel_cb = 1; in gaudi_get_fixed_properties()
385 prop->hw_queues_props[i].supports_sync_stream = 1; in gaudi_get_fixed_properties()
388 prop->hw_queues_props[i].type = QUEUE_TYPE_CPU; in gaudi_get_fixed_properties()
389 prop->hw_queues_props[i].driver_only = 1; in gaudi_get_fixed_properties()
390 prop->hw_queues_props[i].requires_kernel_cb = 0; in gaudi_get_fixed_properties()
391 prop->hw_queues_props[i].supports_sync_stream = 0; in gaudi_get_fixed_properties()
[all …]
/Linux-v5.10/drivers/misc/habanalabs/goya/
Dgoya.c366 prop->hw_queues_props = kcalloc(prop->max_queues, in goya_get_fixed_properties()
370 if (!prop->hw_queues_props) in goya_get_fixed_properties()
374 prop->hw_queues_props[i].type = QUEUE_TYPE_EXT; in goya_get_fixed_properties()
375 prop->hw_queues_props[i].driver_only = 0; in goya_get_fixed_properties()
376 prop->hw_queues_props[i].requires_kernel_cb = 1; in goya_get_fixed_properties()
380 prop->hw_queues_props[i].type = QUEUE_TYPE_CPU; in goya_get_fixed_properties()
381 prop->hw_queues_props[i].driver_only = 1; in goya_get_fixed_properties()
382 prop->hw_queues_props[i].requires_kernel_cb = 0; in goya_get_fixed_properties()
387 prop->hw_queues_props[i].type = QUEUE_TYPE_INT; in goya_get_fixed_properties()
388 prop->hw_queues_props[i].driver_only = 0; in goya_get_fixed_properties()
[all …]
/Linux-v5.10/drivers/misc/habanalabs/common/
Dhw_queue.c867 q->queue_type = asic->hw_queues_props[i].type; in hl_hw_queues_create()
869 asic->hw_queues_props[i].supports_sync_stream; in hl_hw_queues_create()
Dcommand_submission.c535 hw_queue_prop = &asic->hw_queues_props[chunk->queue_index]; in validate_queue_index()
819 hw_queue_prop = &hdev->asic_prop.hw_queues_props[q_idx]; in cs_ioctl_signal_wait()
Dhabanalabs.h327 struct hw_queue_properties *hw_queues_props; member