summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2020-08-26 17:58:29 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-09-17 17:46:40 -0400
commit665945eb49d559588633ca8653d4e9e437161df8 (patch)
treec722dd8dfb8ef7d1e998e92084b2684ebb3779b2 /drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h
parent2379be2faf09b3e270796bb6a43941634d39c626 (diff)
downloadlinux-665945eb49d559588633ca8653d4e9e437161df8.tar.bz2
drm/amd/pm: implement a new umc cdr workaround
By uploading dummy pstate tables. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h')
-rw-r--r--drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h b/drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h
index fa0174dc7e0e..fc8594e9b2bd 100644
--- a/drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h
+++ b/drivers/gpu/drm/amd/pm/inc/smu_v11_0_ppsmc.h
@@ -125,7 +125,10 @@
#define PPSMC_MSG_SetMGpuFanBoostLimitRpm 0x4C
-#define PPSMC_Message_Count 0x4D
+#define PPSMC_MSG_SetDriverDummyTableDramAddrHigh 0x4E
+#define PPSMC_MSG_SetDriverDummyTableDramAddrLow 0x4F
+
+#define PPSMC_Message_Count 0x50
typedef uint32_t PPSMC_Result;
typedef uint32_t PPSMC_Msg;