mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 16:07:17 -04:00
drm/amd/pm: update driver_if and ppsmc headers for coming wbrf feature
Add those data structures to support Wifi RFI mitigation feature. Signed-off-by: Evan Quan <quanliangl@hotmail.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1501,6 +1501,17 @@ enum smu_baco_seq {
|
||||
__dst_size); \
|
||||
})
|
||||
|
||||
typedef struct {
|
||||
uint16_t LowFreq;
|
||||
uint16_t HighFreq;
|
||||
} WifiOneBand_t;
|
||||
|
||||
typedef struct {
|
||||
uint32_t WifiBandEntryNum;
|
||||
WifiOneBand_t WifiBandEntry[11];
|
||||
uint32_t MmHubPadding[8];
|
||||
} WifiBandEntryTable_t;
|
||||
|
||||
#if !defined(SWSMU_CODE_LAYER_L2) && !defined(SWSMU_CODE_LAYER_L3) && !defined(SWSMU_CODE_LAYER_L4)
|
||||
int smu_get_power_limit(void *handle,
|
||||
uint32_t *limit,
|
||||
|
||||
@@ -1615,7 +1615,8 @@ typedef struct {
|
||||
#define TABLE_I2C_COMMANDS 9
|
||||
#define TABLE_DRIVER_INFO 10
|
||||
#define TABLE_ECCINFO 11
|
||||
#define TABLE_COUNT 12
|
||||
#define TABLE_WIFIBAND 12
|
||||
#define TABLE_COUNT 13
|
||||
|
||||
//IH Interupt ID
|
||||
#define IH_INTERRUPT_ID_TO_DRIVER 0xFE
|
||||
|
||||
@@ -1605,7 +1605,8 @@ typedef struct {
|
||||
#define TABLE_I2C_COMMANDS 9
|
||||
#define TABLE_DRIVER_INFO 10
|
||||
#define TABLE_ECCINFO 11
|
||||
#define TABLE_COUNT 12
|
||||
#define TABLE_WIFIBAND 12
|
||||
#define TABLE_COUNT 13
|
||||
|
||||
//IH Interupt ID
|
||||
#define IH_INTERRUPT_ID_TO_DRIVER 0xFE
|
||||
|
||||
@@ -138,10 +138,9 @@
|
||||
#define PPSMC_MSG_SetBadMemoryPagesRetiredFlagsPerChannel 0x4A
|
||||
#define PPSMC_MSG_SetPriorityDeltaGain 0x4B
|
||||
#define PPSMC_MSG_AllowIHHostInterrupt 0x4C
|
||||
|
||||
#define PPSMC_MSG_DALNotPresent 0x4E
|
||||
|
||||
#define PPSMC_Message_Count 0x4F
|
||||
#define PPSMC_MSG_EnableUCLKShadow 0x51
|
||||
#define PPSMC_Message_Count 0x52
|
||||
|
||||
//Debug Dump Message
|
||||
#define DEBUGSMC_MSG_TestMessage 0x1
|
||||
|
||||
@@ -134,6 +134,7 @@
|
||||
#define PPSMC_MSG_SetBadMemoryPagesRetiredFlagsPerChannel 0x4A
|
||||
#define PPSMC_MSG_SetPriorityDeltaGain 0x4B
|
||||
#define PPSMC_MSG_AllowIHHostInterrupt 0x4C
|
||||
#define PPSMC_Message_Count 0x4D
|
||||
#define PPSMC_MSG_EnableUCLKShadow 0x51
|
||||
#define PPSMC_Message_Count 0x52
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user