Home
last modified time | relevance | path

Searched refs:iolink (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ !
Dkfd_topology.c133 struct kfd_iolink_properties *iolink; in kfd_release_topology_device() local
154 iolink = container_of(dev->io_link_props.next, in kfd_release_topology_device()
156 list_del(&iolink->list); in kfd_release_topology_device()
157 kfree(iolink); in kfd_release_topology_device()
272 struct kfd_iolink_properties *iolink; in iolink_show() local
277 iolink = container_of(attr, struct kfd_iolink_properties, attr); in iolink_show()
278 if (iolink->gpu && kfd_devcgroup_check_permission(iolink->gpu)) in iolink_show()
280 sysfs_show_32bit_prop(buffer, offs, "type", iolink->iolink_type); in iolink_show()
281 sysfs_show_32bit_prop(buffer, offs, "version_major", iolink->ver_maj); in iolink_show()
282 sysfs_show_32bit_prop(buffer, offs, "version_minor", iolink->ver_min); in iolink_show()
[all …]
Dkfd_crat.c1140 static int kfd_parse_subtype_iolink(struct crat_subtype_iolink *iolink, in kfd_parse_subtype_iolink() argument
1148 id_from = iolink->proximity_domain_from; in kfd_parse_subtype_iolink()
1149 id_to = iolink->proximity_domain_to; in kfd_parse_subtype_iolink()
1161 props->ver_maj = iolink->version_major; in kfd_parse_subtype_iolink()
1162 props->ver_min = iolink->version_minor; in kfd_parse_subtype_iolink()
1163 props->iolink_type = iolink->io_interface_type; in kfd_parse_subtype_iolink()
1168 props->weight = iolink->weight_xgmi; in kfd_parse_subtype_iolink()
1172 props->min_latency = iolink->minimum_latency; in kfd_parse_subtype_iolink()
1173 props->max_latency = iolink->maximum_latency; in kfd_parse_subtype_iolink()
1174 props->min_bandwidth = iolink->minimum_bandwidth_mbs; in kfd_parse_subtype_iolink()
[all …]