diff options
author | Evan Quan <evan.quan@amd.com> | 2020-09-25 06:30:22 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-27 16:58:45 +0100 |
commit | 8f0804c6b7d091d9a26932d7e5224cc8317f7855 (patch) | |
tree | 8c59260740cd52f41461210607ec4d23e7a8b915 /drivers/gpu/drm/amd/pm/inc | |
parent | drm/amd/pm: setup zero rpm parameters for polaris10 (diff) | |
download | linux-8f0804c6b7d091d9a26932d7e5224cc8317f7855.tar.xz linux-8f0804c6b7d091d9a26932d7e5224cc8317f7855.zip |
drm/amd/pm: add edc leakage controller setting
Enable edc controller table setting.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-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')
-rw-r--r-- | drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h b/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h index 0454ec990a5e..97302aae4b27 100644 --- a/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h +++ b/drivers/gpu/drm/amd/pm/inc/smu7_ppsmc.h @@ -404,6 +404,9 @@ typedef uint16_t PPSMC_Result; #define PPSMC_MSG_EnableDpmDidt ((uint16_t) 0x309) #define PPSMC_MSG_DisableDpmDidt ((uint16_t) 0x30A) +#define PPSMC_MSG_EnableEDCController ((uint16_t) 0x316) +#define PPSMC_MSG_DisableEDCController ((uint16_t) 0x317) + #define PPSMC_MSG_SecureSRBMWrite ((uint16_t) 0x600) #define PPSMC_MSG_SecureSRBMRead ((uint16_t) 0x601) #define PPSMC_MSG_SetAddress ((uint16_t) 0x800) |