Re: [PATCH 1/7] drm/amd/pm: update pmfw headers for version 85.73.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 9/25/2023 9:57 AM, Le Ma wrote:
To add message to select PLPD mode.

Signed-off-by: Le Ma <le.ma@xxxxxxx>
Reviewed-by: Asad Kamal <asad.kamal@xxxxxxx>

Series is -
	Reviewed-by: Lijo Lazar <lijo.lazar@xxxxxxx>

Thanks,
Lijo

---
  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 021dcbe58473..509e3cd483fb 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;



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux