aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-08-04 13:53:21 +0530
committerAlex Deucher <alexander.deucher@amd.com>2025-08-06 14:34:47 -0400
commit0b4d79dafae6a5b626037b4a5dafaf9f09cc1945 (patch)
tree39e8a933752e904b94d7a03791d4e4e234f4b567 /drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
parentdrm/amd/pm: Add unique ids for SMUv13.0.12 SOCs (diff)
downloadlinux-0b4d79dafae6a5b626037b4a5dafaf9f09cc1945.tar.gz
linux-0b4d79dafae6a5b626037b4a5dafaf9f09cc1945.zip
drm/amdgpu: Assign unique id to compute partition
Assign unique id to compute partition. This is the unique id of the first XCD instance belonging to the partition. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
index 70a0f8400b57..1928d9e224fc 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h
@@ -112,6 +112,7 @@ struct amdgpu_xcp {
struct amdgpu_sched gpu_sched[AMDGPU_HW_IP_NUM][AMDGPU_RING_PRIO_MAX];
struct amdgpu_xcp_mgr *xcp_mgr;
struct kobject kobj;
+ uint64_t unique_id;
};
struct amdgpu_xcp_mgr {