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()
1207 dev->node_props.cpu_cores_count) in kfd_assign_gpu()
1210 if (!dev->gpu && (dev->node_props.simd_count > 0)) { in kfd_assign_gpu()
1329 if (!peer_dev->gpu && !peer_dev->node_props.hive_id && in kfd_fill_iolink_non_crat_info()
1330 dev->node_props.hive_id && in kfd_fill_iolink_non_crat_info()
1332 peer_dev->node_props.hive_id = dev->node_props.hive_id; in kfd_fill_iolink_non_crat_info()
1377 dev->kobj_p2plink, "%d", dev->node_props.p2p_links_count - 1); in kfd_build_p2p_node_entry()
1448 kdev->node_props.p2p_links_count++; in kfd_create_indirect_link_prop()
1465 cpu_dev->node_props.p2p_links_count++; in kfd_create_indirect_link_prop()
1533 peer->node_props.p2p_links_count++; in kfd_add_peer_prop()
1681 dev->node_props.name[i] = __tolower(asic_name[i]); in kfd_topology_add_device()
1685 dev->node_props.name[i] = '\0'; in kfd_topology_add_device()
1687 dev->node_props.simd_arrays_per_engine = in kfd_topology_add_device()
1690 dev->node_props.gfx_target_version = gpu->device_info.gfx_target_version; in kfd_topology_add_device()
1691 dev->node_props.vendor_id = gpu->pdev->vendor; in kfd_topology_add_device()
1692 dev->node_props.device_id = gpu->pdev->device; in kfd_topology_add_device()
1693 dev->node_props.capability |= in kfd_topology_add_device()
1696 dev->node_props.location_id = pci_dev_id(gpu->pdev); in kfd_topology_add_device()
1697 dev->node_props.domain = pci_domain_nr(gpu->pdev->bus); in kfd_topology_add_device()
1698 dev->node_props.max_engine_clk_fcompute = in kfd_topology_add_device()
1700 dev->node_props.max_engine_clk_ccompute = in kfd_topology_add_device()
1702 dev->node_props.drm_render_minor = in kfd_topology_add_device()
1705 dev->node_props.hive_id = gpu->hive_id; in kfd_topology_add_device()
1706 dev->node_props.num_sdma_engines = kfd_get_num_sdma_engines(gpu); in kfd_topology_add_device()
1707 dev->node_props.num_sdma_xgmi_engines = in kfd_topology_add_device()
1709 dev->node_props.num_sdma_queues_per_engine = in kfd_topology_add_device()
1712 dev->node_props.num_gws = (dev->gpu->gws && in kfd_topology_add_device()
1715 dev->node_props.num_cp_queues = get_cp_queues_num(dev->gpu->dqm); in kfd_topology_add_device()
1724 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_PRE_1_0 << in kfd_topology_add_device()
1735 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_1_0 << in kfd_topology_add_device()
1741 dev->node_props.capability |= ((HSA_CAP_DOORBELL_TYPE_2_0 << in kfd_topology_add_device()
1754 dev->node_props.capability |= HSA_CAP_ATS_PRESENT; in kfd_topology_add_device()
1756 dev->node_props.capability &= ~HSA_CAP_ATS_PRESENT; in kfd_topology_add_device()
1764 dev->node_props.simd_count = in kfd_topology_add_device()
1766 dev->node_props.max_waves_per_simd = 10; in kfd_topology_add_device()
1770 dev->node_props.capability |= in kfd_topology_add_device()
1773 dev->node_props.capability |= in kfd_topology_add_device()
1778 dev->node_props.capability |= (dev->gpu->adev->ras_enabled != 0) ? in kfd_topology_add_device()
1782 dev->node_props.capability |= HSA_CAP_SVMAPI_SUPPORTED; in kfd_topology_add_device()
1828 dev->node_props.io_links_count--; in kfd_topology_update_io_links()
1844 dev->node_props.p2p_links_count--; in kfd_topology_update_io_links()
1964 if (dev->node_props.cpu_cores_count && in kfd_double_confirm_iommu_support()
1965 dev->node_props.simd_count && in kfd_double_confirm_iommu_support()