Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c151 struct kfd_iolink_properties *iolink; in kfd_release_topology_device() local
172 iolink = container_of(dev->io_link_props.next, in kfd_release_topology_device()
174 list_del(&iolink->list); in kfd_release_topology_device()
175 kfree(iolink); in kfd_release_topology_device()
290 struct kfd_iolink_properties *iolink; in iolink_show() local
295 iolink = container_of(attr, struct kfd_iolink_properties, attr); in iolink_show()
296 if (iolink->gpu && kfd_devcgroup_check_permission(iolink->gpu)) in iolink_show()
298 sysfs_show_32bit_prop(buffer, offs, "type", iolink->iolink_type); in iolink_show()
299 sysfs_show_32bit_prop(buffer, offs, "version_major", iolink->ver_maj); in iolink_show()
300 sysfs_show_32bit_prop(buffer, offs, "version_minor", iolink->ver_min); in iolink_show()
[all …]
Dkfd_crat.c1142 static int kfd_parse_subtype_iolink(struct crat_subtype_iolink *iolink, in kfd_parse_subtype_iolink() argument
1150 id_from = iolink->proximity_domain_from; in kfd_parse_subtype_iolink()
1151 id_to = iolink->proximity_domain_to; in kfd_parse_subtype_iolink()
1163 props->ver_maj = iolink->version_major; in kfd_parse_subtype_iolink()
1164 props->ver_min = iolink->version_minor; in kfd_parse_subtype_iolink()
1165 props->iolink_type = iolink->io_interface_type; in kfd_parse_subtype_iolink()
1170 props->weight = 15 * iolink->num_hops_xgmi; in kfd_parse_subtype_iolink()
1174 props->min_latency = iolink->minimum_latency; in kfd_parse_subtype_iolink()
1175 props->max_latency = iolink->maximum_latency; in kfd_parse_subtype_iolink()
1176 props->min_bandwidth = iolink->minimum_bandwidth_mbs; in kfd_parse_subtype_iolink()
[all …]