Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdkfd: assign AID to uuid in topology for SPX mode

XCD id is assigned to uuid, which causes some performance
drop in SPX mode, assigning AID back will resolve the
issue.

Fixes: 3a75edf93aae ("drm/amdkfd: set uuid for each partition in topology")
Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Eric Huang and committed by
Alex Deucher
08970263 83d16119

+3 -1
+3 -1
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
··· 530 530 sysfs_show_32bit_prop(buffer, offs, "sdma_fw_version", 531 531 dev->gpu->kfd->sdma_fw_version); 532 532 sysfs_show_64bit_prop(buffer, offs, "unique_id", 533 - dev->gpu->xcp ? 533 + dev->gpu->xcp && 534 + (dev->gpu->xcp->xcp_mgr->mode != 535 + AMDGPU_SPX_PARTITION_MODE) ? 534 536 dev->gpu->xcp->unique_id : 535 537 dev->gpu->adev->unique_id); 536 538 sysfs_show_32bit_prop(buffer, offs, "num_xcc",