Skip to content

Commit 6e6fe7c

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amd/pm: Update aldebaran pmfw interface
Update aldebaran driver-PMFW interface to version 0x07 Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 0aa0725 commit 6e6fe7c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

drivers/gpu/drm/amd/pm/inc/smu13_driver_if_aldebaran.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
#define FEATURE_SMUIO_CG_BIT 28
6565
#define FEATURE_THM_CG_BIT 29
6666
#define FEATURE_CLK_CG_BIT 30
67-
#define FEATURE_SPARE_31_BIT 31
67+
#define FEATURE_EDC_BIT 31
6868
#define FEATURE_SPARE_32_BIT 32
6969
#define FEATURE_SPARE_33_BIT 33
7070
#define FEATURE_SPARE_34_BIT 34
@@ -439,8 +439,11 @@ typedef struct {
439439
int8_t XgmiOffset; // in Amps
440440
uint8_t Padding_TelemetryXgmi;
441441

442+
uint16_t EdcPowerLimit;
443+
uint16_t spare6;
444+
442445
//reserved
443-
uint32_t reserved[15];
446+
uint32_t reserved[14];
444447

445448
} PPTable_t;
446449

drivers/gpu/drm/amd/pm/inc/smu_v13_0.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include "amdgpu_smu.h"
2727

2828
#define SMU13_DRIVER_IF_VERSION_INV 0xFFFFFFFF
29-
#define SMU13_DRIVER_IF_VERSION_ALDE 0x6
29+
#define SMU13_DRIVER_IF_VERSION_ALDE 0x07
3030

3131
/* MP Apertures */
3232
#define MP0_Public 0x03800000

0 commit comments

Comments
 (0)