]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 21:04:57 +0000 (22:04 +0100)
commit 19b53f96856b5316ee1fd6ca485af0889e001677 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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: