mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 14:02:37 -04:00
Revert "drm/amdkfd: Add partition id field to location_id"
This reverts commit c37ce764cd.
RCCL library is currently not treating spatial partitions differently,
hence this change is causing issues. Revert temporarily till RCCL
implementation is ready for spatial partitions.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -2003,9 +2003,8 @@ int kfd_topology_add_device(struct kfd_node *gpu)
|
||||
HSA_CAP_ASIC_REVISION_MASK);
|
||||
|
||||
dev->node_props.location_id = pci_dev_id(gpu->adev->pdev);
|
||||
/* On multi-partition nodes, node id = location_id[31:28] */
|
||||
if (gpu->kfd->num_nodes > 1)
|
||||
dev->node_props.location_id |= (dev->gpu->node_id << 28);
|
||||
if (KFD_GC_VERSION(dev->gpu->kfd) == IP_VERSION(9, 4, 3))
|
||||
dev->node_props.location_id |= dev->gpu->node_id;
|
||||
|
||||
dev->node_props.domain = pci_domain_nr(gpu->adev->pdev->bus);
|
||||
dev->node_props.max_engine_clk_fcompute =
|
||||
|
||||
Reference in New Issue
Block a user