Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c446 return sysfs_show_str_val(buffer, offs, dev->node_props.name); in node_show()
454 dev->node_props.cpu_cores_count); in node_show()
456 dev->gpu ? dev->node_props.simd_count : 0); in node_show()
458 dev->node_props.mem_banks_count); in node_show()
460 dev->node_props.caches_count); in node_show()
462 dev->node_props.io_links_count); in node_show()
464 dev->node_props.p2p_links_count); in node_show()
466 dev->node_props.cpu_core_id_base); in node_show()
468 dev->node_props.simd_id_base); in node_show()
470 dev->node_props.max_waves_per_simd); in node_show()
[all …]
Dkfd_queue.c268 if (properties->eop_ring_buffer_size != topo_dev->node_props.eop_buffer_size) { in kfd_queue_acquire_buffers()
271 topo_dev->node_props.eop_buffer_size); in kfd_queue_acquire_buffers()
282 if (properties->ctl_stack_size != topo_dev->node_props.ctl_stack_size) { in kfd_queue_acquire_buffers()
285 topo_dev->node_props.ctl_stack_size); in kfd_queue_acquire_buffers()
290 if (properties->ctx_save_restore_area_size != topo_dev->node_props.cwsr_size) { in kfd_queue_acquire_buffers()
293 topo_dev->node_props.cwsr_size); in kfd_queue_acquire_buffers()
298 total_cwsr_size = (topo_dev->node_props.cwsr_size + topo_dev->node_props.debug_memory_size) in kfd_queue_acquire_buffers()
345 total_cwsr_size = (topo_dev->node_props.cwsr_size + topo_dev->node_props.debug_memory_size) in kfd_queue_release_buffers()
419 struct kfd_node_properties *props = &dev->node_props; in kfd_queue_ctx_save_restore_size()
Dkfd_crat.c1023 dev->node_props.cpu_cores_count = cu->num_cpu_cores; in kfd_populated_cu_info_cpu()
1024 dev->node_props.cpu_core_id_base = cu->processor_id_low; in kfd_populated_cu_info_cpu()
1026 dev->node_props.capability |= HSA_CAP_ATS_PRESENT; in kfd_populated_cu_info_cpu()
1035 dev->node_props.simd_id_base = cu->processor_id_low; in kfd_populated_cu_info_gpu()
1036 dev->node_props.simd_count = cu->num_simd_cores; in kfd_populated_cu_info_gpu()
1037 dev->node_props.lds_size_in_kb = cu->lds_size_in_kb; in kfd_populated_cu_info_gpu()
1038 dev->node_props.max_waves_per_simd = cu->max_waves_simd; in kfd_populated_cu_info_gpu()
1039 dev->node_props.wave_front_size = cu->wave_front_size; in kfd_populated_cu_info_gpu()
1040 dev->node_props.array_count = cu->array_count; in kfd_populated_cu_info_gpu()
1041 dev->node_props.cu_per_simd_array = cu->num_cu_per_array; in kfd_populated_cu_info_gpu()
[all …]
Dkfd_debug.c504 uint32_t caps = topo_dev->node_props.capability; in kfd_dbg_trap_set_flags()
1066 device_info.location_id = topo_dev->node_props.location_id; in kfd_dbg_trap_device_snapshot()
1067 device_info.vendor_id = topo_dev->node_props.vendor_id; in kfd_dbg_trap_device_snapshot()
1068 device_info.device_id = topo_dev->node_props.device_id; in kfd_dbg_trap_device_snapshot()
1074 topo_dev->node_props.gfx_target_version; in kfd_dbg_trap_device_snapshot()
1075 device_info.simd_count = topo_dev->node_props.simd_count; in kfd_dbg_trap_device_snapshot()
1077 topo_dev->node_props.max_waves_per_simd; in kfd_dbg_trap_device_snapshot()
1078 device_info.array_count = topo_dev->node_props.array_count; in kfd_dbg_trap_device_snapshot()
1080 topo_dev->node_props.simd_arrays_per_engine; in kfd_dbg_trap_device_snapshot()
1082 device_info.capability = topo_dev->node_props.capability; in kfd_dbg_trap_device_snapshot()
[all …]
Dkfd_topology.h146 struct kfd_node_properties node_props; member