summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/swsmu/inc
diff options
context:
space:
mode:
authorKenneth Feng <kenneth.feng@amd.com>2024-04-26 16:02:16 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-05-02 16:18:16 -0400
commitee7c6979f17e79ec675398b9d465810ab94c899a (patch)
treea821b3179c2decdf3628acfc5373d98e8d4878a8 /drivers/gpu/drm/amd/pm/swsmu/inc
parent01a0bae9fbdcf1489b1a2df3f085008b8e6c8483 (diff)
drm/amd/pm: add tool log support on smu v14.0.2/3
add tool log support on smu v14.0.2/3 Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Jack Gui <Jack.Gui@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/swsmu/inc')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h
index 1fc4557e6fb4..2617d94b4c4d 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h
@@ -46,6 +46,8 @@
#define MAX_DPM_LEVELS 16
#define MAX_PCIE_CONF 3
+#define SMU14_TOOL_SIZE 0x19000
+
struct smu_14_0_max_sustainable_clocks {
uint32_t display_clock;
uint32_t phy_clock;