[PATCH 09/12] drm/amd/pm: Update PMFW headers for version 85.54
Alex Deucher
alexander.deucher at amd.com
Tue May 9 22:07:11 UTC 2023
From: Lijo Lazar <lijo.lazar at amd.com>
It adds message support for FW notification on driver unload.
Signed-off-by: Lijo Lazar <lijo.lazar at amd.com>
Reviewed-by: Le Ma <le.ma at amd.com>
Reviewed-by: Asad Kamal <asad.kamal at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
.../inc/pmfw_if/smu13_driver_if_v13_0_6.h | 18 ------------------
.../pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h | 3 ++-
2 files changed, 2 insertions(+), 19 deletions(-)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_6.h b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_6.h
index 8b7fa0fa59c3..de84fff39799 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_6.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_6.h
@@ -132,22 +132,4 @@ typedef struct {
#define THROTTLER_TEMP_AID_BIT 8
#define THROTTLER_VRHOT_BIT 9
-
-// These defines are used with the following messages:
-// SMC_MSG_TransferTableDram2Smu
-// SMC_MSG_TransferTableSmu2Dram
-// #define TABLE_PPTABLE 0
-// #define TABLE_AVFS_PSM_DEBUG 1
-// #define TABLE_AVFS_FUSE_OVERRIDE 2
-// #define TABLE_PMSTATUSLOG 3
-// #define TABLE_SMU_METRICS 4
-// #define TABLE_DRIVER_SMU_CONFIG 5
-// #define TABLE_I2C_COMMANDS 6
-// #define TABLE_COUNT 7
-
-// // Table transfer status
-// #define TABLE_TRANSFER_OK 0x0
-// #define TABLE_TRANSFER_FAILED 0xFF
-// #define TABLE_TRANSFER_PENDING 0xAB
-
#endif
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 b838e8db395a..ae4f44c4b877 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
@@ -82,7 +82,8 @@
#define PPSMC_MSG_SetSoftMaxGfxClk 0x31
#define PPSMC_MSG_GetMinGfxDpmFreq 0x32
#define PPSMC_MSG_GetMaxGfxDpmFreq 0x33
-#define PPSMC_Message_Count 0x34
+#define PPSMC_MSG_PrepareForDriverUnload 0x34
+#define PPSMC_Message_Count 0x35
//PPSMC Reset Types for driver msg argument
#define PPSMC_RESET_TYPE_DRIVER_MODE_1_RESET 0x1
--
2.40.1
More information about the amd-gfx
mailing list