Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9312d9a6 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher
Browse files

drm/amd/powerplay: update vega10 smu interface version to E.



need update smu firmware to version 0x1c20.

Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewws-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 14641ac4
Loading
Loading
Loading
Loading
+19 −19
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
 * SMU TEAM: Always increment the interface version if
 * any structure is changed in this file
 */
#define SMU9_DRIVER_IF_VERSION 0xD
#define SMU9_DRIVER_IF_VERSION 0xE

#define PPTABLE_V10_SMU_VERSION 1

@@ -380,25 +380,25 @@ typedef struct {
  uint8_t  AvfsVersion;
  uint8_t  Padding[2];

  uint32_t VFT0_m1; /* Q16.16 */
  uint32_t VFT0_m2; /* Q16.16 */
  uint32_t VFT0_b;  /* Q16.16 */
  int32_t VFT0_m1; /* Q8.24 */
  int32_t VFT0_m2; /* Q12.12 */
  int32_t VFT0_b;  /* Q32 */

  uint32_t VFT1_m1; /* Q16.16 */
  uint32_t VFT1_m2; /* Q16.16 */
  uint32_t VFT1_b;  /* Q16.16 */
  int32_t VFT1_m1; /* Q8.16 */
  int32_t VFT1_m2; /* Q12.12 */
  int32_t VFT1_b;  /* Q32 */

  uint32_t VFT2_m1; /* Q16.16 */
  uint32_t VFT2_m2; /* Q16.16 */
  uint32_t VFT2_b;  /* Q16.16 */
  int32_t VFT2_m1; /* Q8.16 */
  int32_t VFT2_m2; /* Q12.12 */
  int32_t VFT2_b;  /* Q32 */

  uint32_t AvfsGb0_m1; /* Q16.16 */
  uint32_t AvfsGb0_m2; /* Q16.16 */
  uint32_t AvfsGb0_b;  /* Q16.16 */
  int32_t AvfsGb0_m1; /* Q8.16 */
  int32_t AvfsGb0_m2; /* Q12.12 */
  int32_t AvfsGb0_b;  /* Q32 */

  uint32_t AcBtcGb_m1; /* Q16.16 */
  uint32_t AcBtcGb_m2; /* Q16.16 */
  uint32_t AcBtcGb_b;  /* Q16.16 */
  int32_t AcBtcGb_m1; /* Q8.24 */
  int32_t AcBtcGb_m2; /* Q12.12 */
  int32_t AcBtcGb_b;  /* Q32 */

  uint32_t AvfsTempCold;
  uint32_t AvfsTempMid;
@@ -406,9 +406,9 @@ typedef struct {

  uint32_t InversionVoltage; /*  in mV with 2 fractional bits */

  uint32_t P2V_m1; /* Q16.16 */
  uint32_t P2V_m2; /* Q16.16 */
  uint32_t P2V_b;  /* Q16.16 */
  int32_t P2V_m1; /* Q8.24 */
  int32_t P2V_m2; /* Q12.12 */
  int32_t P2V_b;  /* Q32 */

  uint32_t P2VCharzFreq; /* in 10KHz units */