From ca2ce4cc080e197b0374099b3e4b98bb14d4f273 Mon Sep 17 00:00:00 2001 From: Le Ma Date: Fri, 15 Sep 2023 16:21:18 +0800 Subject: [PATCH] drm/amd/pm: update pmfw headers for version 85.73.0 To add message to select PLPD mode. Signed-off-by: Le Ma Reviewed-by: Asad Kamal Reviewed-by: Lijo Lazar Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h index 021dcbe584736..509e3cd483fb0 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h @@ -90,6 +90,7 @@ #define PPSMC_MSG_ClearMcaOnRead 0x39 #define PPSMC_MSG_QueryValidMcaCeCount 0x3A #define PPSMC_MSG_McaBankCeDumpDW 0x3B +#define PPSMC_MSG_SelectPLPDMode 0x40 #define PPSMC_Message_Count 0x41 //PPSMC Reset Types for driver msg argument @@ -107,6 +108,10 @@ #define PPSMC_XCD_THM_TYPE 0x3 #define PPSMC_HBM_THM_TYPE 0x4 +//PLPD modes +#define PPSMC_PLPD_MODE_DEFAULT 0x1 +#define PPSMC_PLPD_MODE_OPTIMIZED 0x2 + typedef uint32_t PPSMC_Result; typedef uint32_t PPSMC_MSG; -- 2.30.2