]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amd/pm: add unique_id for gfx12
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Tue, 11 Mar 2025 18:15:18 +0000 (14:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Mar 2025 03:09:49 +0000 (23:09 -0400)
Expose unique_id for gfx12

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c

index 1d04f1b79deded58ca0d29e62377a2a5f18fac33..2179344e78d942bbb2620b30ca6c9c49521f5c97 100644 (file)
@@ -2341,6 +2341,8 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_
                case IP_VERSION(11, 0, 1):
                case IP_VERSION(11, 0, 2):
                case IP_VERSION(11, 0, 3):
+               case IP_VERSION(12, 0, 0):
+               case IP_VERSION(12, 0, 1):
                        *states = ATTR_STATE_SUPPORTED;
                        break;
                default: