]> 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>
Tue, 18 Mar 2025 20:26:53 +0000 (16:26 -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>
(cherry picked from commit 16fbc18cb07470cd33fb5f37ad181b51583e6dc0)
Cc: stable@vger.kernel.org # 6.12.x
drivers/gpu/drm/amd/pm/amdgpu_pm.c

index e8ae7681bf0a38a16beccf77f2e4f6685da474f9..77b1f061bbf0b434b7efd596dc9ed1e4d1a8eee7 100644 (file)
@@ -2421,6 +2421,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: