Lines Matching refs:node_props
461 return sysfs_show_str_val(buffer, offs, dev->node_props.name); in node_show()
469 dev->node_props.cpu_cores_count); in node_show()
471 dev->gpu ? dev->node_props.simd_count : 0); in node_show()
473 dev->node_props.mem_banks_count); in node_show()
475 dev->node_props.caches_count); in node_show()
477 dev->node_props.io_links_count); in node_show()
479 dev->node_props.p2p_links_count); in node_show()
481 dev->node_props.cpu_core_id_base); in node_show()
483 dev->node_props.simd_id_base); in node_show()
485 dev->node_props.max_waves_per_simd); in node_show()
487 dev->node_props.lds_size_in_kb); in node_show()
489 dev->node_props.gds_size_in_kb); in node_show()
491 dev->node_props.num_gws); in node_show()
493 dev->node_props.wave_front_size); in node_show()
495 dev->node_props.array_count); in node_show()
497 dev->node_props.simd_arrays_per_engine); in node_show()
499 dev->node_props.cu_per_simd_array); in node_show()
501 dev->node_props.simd_per_cu); in node_show()
503 dev->node_props.max_slots_scratch_cu); in node_show()
505 dev->node_props.gfx_target_version); in node_show()
507 dev->node_props.vendor_id); in node_show()
509 dev->node_props.device_id); in node_show()
511 dev->node_props.location_id); in node_show()
513 dev->node_props.domain); in node_show()
515 dev->node_props.drm_render_minor); in node_show()
517 dev->node_props.hive_id); in node_show()
519 dev->node_props.num_sdma_engines); in node_show()
521 dev->node_props.num_sdma_xgmi_engines); in node_show()
523 dev->node_props.num_sdma_queues_per_engine); in node_show()
525 dev->node_props.num_cp_queues); in node_show()
532 dev->node_props.capability |= in node_show()
535 dev->node_props.capability |= in node_show()
542 dev->node_props.capability |= in node_show()
546 dev->node_props.max_engine_clk_fcompute); in node_show()
553 dev->node_props.capability); in node_show()
949 if (dev->node_props.cpu_cores_count && in kfd_debug_print_topology()
950 dev->node_props.simd_count) { in kfd_debug_print_topology()
952 dev->node_props.device_id, in kfd_debug_print_topology()
953 dev->node_props.vendor_id); in kfd_debug_print_topology()
954 } else if (dev->node_props.cpu_cores_count) in kfd_debug_print_topology()
956 else if (dev->node_props.simd_count) in kfd_debug_print_topology()
958 dev->node_props.device_id, in kfd_debug_print_topology()
959 dev->node_props.vendor_id); in kfd_debug_print_topology()
1040 if (dev->node_props.cpu_cores_count && in kfd_is_acpi_crat_invalid()
1041 dev->node_props.simd_count) in kfd_is_acpi_crat_invalid()
1205 dev->node_props.cpu_cores_count) in kfd_assign_gpu()
1208 if (!dev->gpu && (dev->node_props.simd_count > 0)) { in kfd_assign_gpu()
1326 if (!peer_dev->gpu && !peer_dev->node_props.hive_id && in kfd_fill_iolink_non_crat_info()
1327 dev->node_props.hive_id && in kfd_fill_iolink_non_crat_info()
1329 peer_dev->node_props.hive_id = dev->node_props.hive_id; in kfd_fill_iolink_non_crat_info()
1374 dev->kobj_p2plink, "%d", dev->node_props.p2p_links_count - 1); in kfd_build_p2p_node_entry()
1445 kdev->node_props.p2p_links_count++; in kfd_create_indirect_link_prop()
1462 cpu_dev->node_props.p2p_links_count++; in kfd_create_indirect_link_prop()
1530 peer->node_props.p2p_links_count++; in kfd_add_peer_prop()
1745 gpu_processor_id = dev->node_props.simd_id_base; in kfd_fill_cache_non_crat_info()
1804 dev->node_props.caches_count += num_of_entries; in kfd_fill_cache_non_crat_info()
1910 dev->node_props.name[i] = __tolower(asic_name[i]); in kfd_topology_add_device()
1914 dev->node_props.name[i] = '\0'; in kfd_topology_add_device()
1916 dev->node_props.simd_arrays_per_engine = in kfd_topology_add_device()
1919 dev->node_props.gfx_target_version = gpu->device_info.gfx_target_version; in kfd_topology_add_device()
1920 dev->node_props.vendor_id = gpu->adev->pdev->vendor; in kfd_topology_add_device()
1921 dev->node_props.device_id = gpu->adev->pdev->device; in kfd_topology_add_device()
1922 dev->node_props.capability |= in kfd_topology_add_device()
1925 dev->node_props.location_id = pci_dev_id(gpu->adev->pdev); in kfd_topology_add_device()
1926 dev->node_props.domain = pci_domain_nr(gpu->adev->pdev->bus); in kfd_topology_add_device()
1927 dev->node_props.max_engine_clk_fcompute = in kfd_topology_add_device()
1929 dev->node_props.max_engine_clk_ccompute = in kfd_topology_add_device()
1931 dev->node_props.drm_render_minor = in kfd_topology_add_device()
1934 dev->node_props.hive_id = gpu->hive_id; in kfd_topology_add_device()
1935 dev->node_props.num_sdma_engines = kfd_get_num_sdma_engines(gpu); in kfd_topology_add_device()
1936 dev->node_props.num_sdma_xgmi_engines = in kfd_topology_add_device()
1938 dev->node_props.num_sdma_queues_per_engine = in kfd_topology_add_device()
1941 dev->node_props.num_gws = (dev->gpu->gws && in kfd_topology_add_device()
1944 dev->node_props.num_cp_queues = get_cp_queues_num(dev->gpu->dqm); in kfd_topology_add_device()
1953 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_PRE_1_0 << in kfd_topology_add_device()
1964 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_1_0 << in kfd_topology_add_device()
1970 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_2_0 << in kfd_topology_add_device()
1983 dev->node_props.capability |= HSA_CAP_ATS_PRESENT; in kfd_topology_add_device()
1985 dev->node_props.capability &= ~HSA_CAP_ATS_PRESENT; in kfd_topology_add_device()
1993 dev->node_props.simd_count = in kfd_topology_add_device()
1995 dev->node_props.max_waves_per_simd = 10; in kfd_topology_add_device()
1999 dev->node_props.capability |= in kfd_topology_add_device()
2002 dev->node_props.capability |= in kfd_topology_add_device()
2007 dev->node_props.capability |= (dev->gpu->adev->ras_enabled != 0) ? in kfd_topology_add_device()
2011 dev->node_props.capability |= HSA_CAP_SVMAPI_SUPPORTED; in kfd_topology_add_device()
2055 dev->node_props.io_links_count--; in kfd_topology_update_io_links()
2071 dev->node_props.p2p_links_count--; in kfd_topology_update_io_links()
2191 if (dev->node_props.cpu_cores_count && in kfd_double_confirm_iommu_support()
2192 dev->node_props.simd_count && in kfd_double_confirm_iommu_support()