[AMD Official Use Only - AMD Internal Distribution Only]

Reviewed-by: Yang Wang <[email protected]>

Best Regards,
Kevin

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Harish 
Kasiviswanathan
Sent: Wednesday, March 12, 2025 02:17
To: [email protected]
Cc: Kasiviswanathan, Harish <[email protected]>
Subject: [PATCH] drm/amd/pm: add unique_id for gfx12

Expose unique_id for gfx12

Signed-off-by: Harish Kasiviswanathan <[email protected]>
---
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c 
b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
index 1d04f1b79ded..2179344e78d9 100644
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c
@@ -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:
--
2.34.1

Reply via email to