[PATCH] drm/amd/swsmu: update Dpmclocks_t for smu v14.0.1

Zhang, Yifan Yifan1.Zhang at amd.com
Fri May 17 08:11:29 UTC 2024


[AMD Official Use Only - AMD Internal Distribution Only]

Reviewed-by: Yifan Zhang <yifan1.zhang at amd.com>

-----Original Message-----
From: Ma, Li <Li.Ma at amd.com>
Sent: Friday, May 17, 2024 4:07 PM
To: amd-gfx at lists.freedesktop.org
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Zhang, Yifan <Yifan1.Zhang at amd.com>; Ma, Li <Li.Ma at amd.com>
Subject: [PATCH] drm/amd/swsmu: update Dpmclocks_t for smu v14.0.1

MinGfxClk in Dpmclocks_t is wrong. According to pmfw, dropping an uint8_t spare in Dpmclocks_t.

Signed-off-by: Li Ma <li.ma at amd.com>
---
 .../gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0_0.h   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0_0.h b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0_0.h
index 97522c085258..1bc30db22f9c 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0_0.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0_0.h
@@ -169,7 +169,6 @@ typedef struct {
   uint8_t  VpeClkLevelsEnabled;
   uint8_t  NumMemPstatesEnabled;
   uint8_t  NumFclkLevelsEnabled;
-  uint8_t  spare;

   uint32_t MinGfxClk;
   uint32_t MaxGfxClk;
--
2.25.1



More information about the amd-gfx mailing list