node_props 147 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.cpu_cores_count = cu->num_cpu_cores; node_props 148 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.cpu_core_id_base = cu->processor_id_low; node_props 150 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.capability |= HSA_CAP_ATS_PRESENT; node_props 159 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.simd_id_base = cu->processor_id_low; node_props 160 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.simd_count = cu->num_simd_cores; node_props 161 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.lds_size_in_kb = cu->lds_size_in_kb; node_props 162 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.max_waves_per_simd = cu->max_waves_simd; node_props 163 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.wave_front_size = cu->wave_front_size; node_props 164 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.array_count = cu->array_count; node_props 165 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.cu_per_simd_array = cu->num_cu_per_array; node_props 166 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.simd_per_cu = cu->num_simd_per_cu; node_props 167 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.max_slots_scratch_cu = cu->max_slots_scatch_cu; node_props 169 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.capability |= HSA_CAP_HOT_PLUGGABLE; node_props 230 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if (dev->node_props.cpu_cores_count == 0) { node_props 271 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.mem_banks_count++; node_props 296 drivers/gpu/drm/amd/amdkfd/kfd_crat.c total_num_of_cu = (dev->node_props.array_count * node_props 297 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.cu_per_simd_array); node_props 307 drivers/gpu/drm/amd/amdkfd/kfd_crat.c if ((id >= dev->node_props.cpu_core_id_base && node_props 308 drivers/gpu/drm/amd/amdkfd/kfd_crat.c id <= dev->node_props.cpu_core_id_base + node_props 309 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.cpu_cores_count) || node_props 310 drivers/gpu/drm/amd/amdkfd/kfd_crat.c (id >= dev->node_props.simd_id_base && node_props 311 drivers/gpu/drm/amd/amdkfd/kfd_crat.c id < dev->node_props.simd_id_base + node_props 337 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.caches_count++; node_props 390 drivers/gpu/drm/amd/amdkfd/kfd_crat.c dev->node_props.io_links_count++; node_props 414 drivers/gpu/drm/amd/amdkfd/kfd_crat.c to_dev->node_props.io_links_count++; node_props 345 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c if (!(kdev->node_props.capability & HSA_CAP_ATS_PRESENT)) node_props 424 drivers/gpu/drm/amd/amdkfd/kfd_topology.c return sysfs_show_str_val(buffer, dev->node_props.name); node_props 430 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.cpu_cores_count); node_props 432 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.simd_count); node_props 434 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.mem_banks_count); node_props 436 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.caches_count); node_props 438 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.io_links_count); node_props 440 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.cpu_core_id_base); node_props 442 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.simd_id_base); node_props 444 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.max_waves_per_simd); node_props 446 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.lds_size_in_kb); node_props 448 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.gds_size_in_kb); node_props 450 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.num_gws); node_props 452 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.wave_front_size); node_props 454 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.array_count); node_props 456 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.simd_arrays_per_engine); node_props 458 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.cu_per_simd_array); node_props 460 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.simd_per_cu); node_props 462 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.max_slots_scratch_cu); node_props 464 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.vendor_id); node_props 466 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.device_id); node_props 468 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.location_id); node_props 470 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.drm_render_minor); node_props 472 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.hive_id); node_props 474 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.num_sdma_engines); node_props 476 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.num_sdma_xgmi_engines); node_props 483 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= node_props 486 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= node_props 493 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= node_props 497 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.max_engine_clk_fcompute); node_props 505 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability); node_props 850 drivers/gpu/drm/amd/amdkfd/kfd_topology.c if (dev->node_props.cpu_cores_count && node_props 851 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.simd_count) { node_props 853 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.device_id, node_props 854 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.vendor_id); node_props 855 drivers/gpu/drm/amd/amdkfd/kfd_topology.c } else if (dev->node_props.cpu_cores_count) node_props 857 drivers/gpu/drm/amd/amdkfd/kfd_topology.c else if (dev->node_props.simd_count) node_props 859 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.device_id, node_props 860 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.vendor_id); node_props 941 drivers/gpu/drm/amd/amdkfd/kfd_topology.c if (dev->node_props.cpu_cores_count && node_props 942 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.simd_count) node_props 1108 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.cpu_cores_count) node_props 1111 drivers/gpu/drm/amd/amdkfd/kfd_topology.c if (!dev->gpu && (dev->node_props.simd_count > 0)) { node_props 1270 drivers/gpu/drm/amd/amdkfd/kfd_topology.c strncpy(dev->node_props.name, gpu->device_info->asic_name, node_props 1273 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.simd_arrays_per_engine = node_props 1276 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.vendor_id = gpu->pdev->vendor; node_props 1277 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.device_id = gpu->pdev->device; node_props 1278 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.location_id = pci_dev_id(gpu->pdev); node_props 1279 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.max_engine_clk_fcompute = node_props 1281 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.max_engine_clk_ccompute = node_props 1283 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.drm_render_minor = node_props 1286 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.hive_id = gpu->hive_id; node_props 1287 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.num_sdma_engines = gpu->device_info->num_sdma_engines; node_props 1288 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.num_sdma_xgmi_engines = node_props 1290 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.num_gws = (hws_gws_support && node_props 1301 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_PRE_1_0 << node_props 1312 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_1_0 << node_props 1322 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_2_0 << node_props 1336 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= HSA_CAP_ATS_PRESENT; node_props 1338 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability &= ~HSA_CAP_ATS_PRESENT; node_props 1346 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.simd_count = node_props 1348 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.max_waves_per_simd = 10; node_props 1354 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= node_props 1358 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= ((ctx->features & BIT(AMDGPU_RAS_BLOCK__UMC)) != 0) ? node_props 1361 drivers/gpu/drm/amd/amdkfd/kfd_topology.c dev->node_props.capability |= (ctx->features != 0) ? node_props 159 drivers/gpu/drm/amd/amdkfd/kfd_topology.h struct kfd_node_properties node_props;