RE: [PATCH] drm/amd/pm: Update aldebaran pmfw interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

 

Reviewed-by: Feifei Xu <Feifei.Xu@xxxxxxx>

 

From: Lazar, Lijo <Lijo.Lazar@xxxxxxx>
Sent: Tuesday, March 23, 2021 9:07 PM
To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx
Cc: Zhang, Hawking <Hawking.Zhang@xxxxxxx>; Xu, Feifei <Feifei.Xu@xxxxxxx>; Feng, Kenneth <Kenneth.Feng@xxxxxxx>; Wang, Kevin(Yang) <Kevin1.Wang@xxxxxxx>
Subject: [PATCH] drm/amd/pm: Update aldebaran pmfw interface

 

[AMD Public Use]

 

Update aldebaran PMFW interfaces to version 0x6

 

Signed-off-by: Lijo Lazar lijo.lazar@xxxxxxx

---

.../gpu/drm/amd/pm/inc/smu13_driver_if_aldebaran.h    | 11 +++++++++--

drivers/gpu/drm/amd/pm/inc/smu_v13_0.h                |  2 +-

2 files changed, 10 insertions(+), 3 deletions(-)

 

diff --git a/drivers/gpu/drm/amd/pm/inc/smu13_driver_if_aldebaran.h b/drivers/gpu/drm/amd/pm/inc/smu13_driver_if_aldebaran.h

index df2ead254f37..d23533bda002 100644

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

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

@@ -435,8 +435,12 @@ typedef struct {

   uint8_t  GpioI2cSda; // Serial Data

   uint16_t spare5;

 

+  uint16_t XgmiMaxCurrent; // in Amps

+  int8_t   XgmiOffset;     // in Amps

+  uint8_t  Padding_TelemetryXgmi;

+

   //reserved

-  uint32_t reserved[16];

+  uint32_t reserved[15];

 

 } PPTable_t;

 

@@ -481,7 +485,10 @@ typedef struct {

   uint16_t TemperatureAllHBM[4]  ;

   uint32_t GfxBusyAcc            ;

   uint32_t DramBusyAcc           ;

-  uint32_t Spare[4];

+  uint32_t EnergyAcc64bitLow     ; //15.259uJ resolution

+  uint32_t EnergyAcc64bitHigh    ;

+  uint32_t TimeStampLow          ; //10ns resolution

+  uint32_t TimeStampHigh         ;

 

   // Padding - ignore

   uint32_t     MmHubPadding[8]; // SMU internal use

diff --git a/drivers/gpu/drm/amd/pm/inc/smu_v13_0.h b/drivers/gpu/drm/amd/pm/inc/smu_v13_0.h

index 6db3464c09d6..8145e1cbf181 100644

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

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

@@ -26,7 +26,7 @@

#include "amdgpu_smu.h"

 

 #define SMU13_DRIVER_IF_VERSION_INV 0xFFFFFFFF

-#define SMU13_DRIVER_IF_VERSION_ALDE 0x5

+#define SMU13_DRIVER_IF_VERSION_ALDE 0x6

 

 /* MP Apertures */

#define MP0_Public                                      0x03800000

--

2.17.1

 

_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux