summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2023-03-10 18:11:25 +0530
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 09:55:01 -0400
commitfe9e5f56feb287b3f14b0a5892061a1da2b89b5b (patch)
treee96d8277f5d7d73c23a0c6b829aa68e493b52ea0 /drivers
parentbfb4fd20b3e6997876068f469c14d963b227d896 (diff)
drm/amd/pm: Update PMFW headers for version 85.54
It adds message support for FW notification on driver unload. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Le Ma <le.ma@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_6.h18
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h3
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