Home
last modified time | relevance | path

Searched refs:kfd_topology_device (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c49 struct kfd_topology_device *kfd_topology_device_by_proximity_domain( in kfd_topology_device_by_proximity_domain()
52 struct kfd_topology_device *top_dev; in kfd_topology_device_by_proximity_domain()
53 struct kfd_topology_device *device = NULL; in kfd_topology_device_by_proximity_domain()
68 struct kfd_topology_device *kfd_topology_device_by_id(uint32_t gpu_id) in kfd_topology_device_by_id()
70 struct kfd_topology_device *top_dev = NULL; in kfd_topology_device_by_id()
71 struct kfd_topology_device *ret = NULL; in kfd_topology_device_by_id()
88 struct kfd_topology_device *top_dev; in kfd_device_by_id()
99 struct kfd_topology_device *top_dev; in kfd_device_by_pci_dev()
117 struct kfd_topology_device *top_dev; in kfd_device_by_kgd()
134 static void kfd_release_topology_device(struct kfd_topology_device *de
[all...]
H A Dkfd_iommu.h41 int kfd_iommu_add_perf_counters(struct kfd_topology_device *kdev);
76 static inline int kfd_iommu_add_perf_counters(struct kfd_topology_device *kdev) in kfd_iommu_add_perf_counters()
H A Dkfd_topology.h165 struct kfd_topology_device { struct
202 struct kfd_topology_device *kfd_create_topology_device(
H A Dkfd_crat.c145 static void kfd_populated_cu_info_cpu(struct kfd_topology_device *dev, in kfd_populated_cu_info_cpu()
157 static void kfd_populated_cu_info_gpu(struct kfd_topology_device *dev, in kfd_populated_cu_info_gpu()
180 struct kfd_topology_device *dev; in kfd_parse_subtype_cu()
200 struct kfd_topology_device *dev) in find_subtype_mem()
220 struct kfd_topology_device *dev; in kfd_parse_subtype_mem()
289 struct kfd_topology_device *dev; in kfd_parse_subtype_cache()
355 struct kfd_topology_device *dev, *to_dev; in kfd_parse_subtype_iolink()
477 * create a kfd_topology_device and add in to device_list. Also parse
478 * CRAT subtypes and attach it to appropriate kfd_topology_device
480 * @device_list - [OUT] list of kfd_topology_device generate
[all...]
H A Dkfd_iommu.c342 int kfd_iommu_add_perf_counters(struct kfd_topology_device *kdev) in kfd_iommu_add_perf_counters()
H A Dkfd_priv.h929 struct kfd_topology_device *kfd_topology_device_by_proximity_domain(
931 struct kfd_topology_device *kfd_topology_device_by_id(uint32_t gpu_id);
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c52 struct kfd_topology_device *kfd_topology_device_by_proximity_domain_no_lock( in kfd_topology_device_by_proximity_domain_no_lock()
55 struct kfd_topology_device *top_dev; in kfd_topology_device_by_proximity_domain_no_lock()
56 struct kfd_topology_device *device = NULL; in kfd_topology_device_by_proximity_domain_no_lock()
67 struct kfd_topology_device *kfd_topology_device_by_proximity_domain( in kfd_topology_device_by_proximity_domain()
70 struct kfd_topology_device *device = NULL; in kfd_topology_device_by_proximity_domain()
81 struct kfd_topology_device *kfd_topology_device_by_id(uint32_t gpu_id) in kfd_topology_device_by_id()
83 struct kfd_topology_device *top_dev = NULL; in kfd_topology_device_by_id()
84 struct kfd_topology_device *ret = NULL; in kfd_topology_device_by_id()
101 struct kfd_topology_device *top_dev; in kfd_device_by_id()
112 struct kfd_topology_device *top_de in kfd_device_by_pci_dev()
[all...]
H A Dkfd_topology.h137 struct kfd_topology_device { struct
174 struct kfd_topology_device *kfd_create_topology_device(
H A Dkfd_crat.c931 static void kfd_populated_cu_info_cpu(struct kfd_topology_device *dev, in kfd_populated_cu_info_cpu()
943 static void kfd_populated_cu_info_gpu(struct kfd_topology_device *dev, in kfd_populated_cu_info_gpu()
966 struct kfd_topology_device *dev; in kfd_parse_subtype_cu()
986 struct kfd_topology_device *dev) in find_subtype_mem()
1006 struct kfd_topology_device *dev; in kfd_parse_subtype_mem()
1075 struct kfd_topology_device *dev; in kfd_parse_subtype_cache()
1144 struct kfd_topology_device *dev, *to_dev; in kfd_parse_subtype_iolink()
1264 * create a kfd_topology_device and add in to device_list. Also parse
1265 * CRAT subtypes and attach it to appropriate kfd_topology_device
1267 * @device_list - [OUT] list of kfd_topology_device generate
[all...]
H A Dkfd_priv.h1113 struct kfd_topology_device *kfd_topology_device_by_proximity_domain(
1115 struct kfd_topology_device *kfd_topology_device_by_proximity_domain_no_lock(
1117 struct kfd_topology_device *kfd_topology_device_by_id(uint32_t gpu_id);
H A Dkfd_debug.c1041 struct kfd_topology_device *topo_dev = kfd_topology_device_by_id(pdd->dev->id); in kfd_dbg_trap_device_snapshot()

Completed in 13 milliseconds