Commit 9661bf68 authored by Lijo Lazar's avatar Lijo Lazar Committed by Alex Deucher
Browse files

drm/amd/pm: Keep interface version in PMFW header



Use the interface version directly from PMFW interface header file rather
than keeping another definition in common smu13 file.

Signed-off-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Reviewed-by: default avatarAsad kamal <asad.kamal@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 676915e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@
#ifndef SMU13_DRIVER_IF_ALDEBARAN_H
#define SMU13_DRIVER_IF_ALDEBARAN_H

#define SMU13_DRIVER_IF_VERSION_ALDE 0x08

#define NUM_VCLK_DPM_LEVELS   8
#define NUM_DCLK_DPM_LEVELS   8
#define NUM_SOCCLK_DPM_LEVELS 8
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@
#ifndef SMU13_DRIVER_IF_V13_0_0_H
#define SMU13_DRIVER_IF_V13_0_0_H

#define SMU13_0_0_DRIVER_IF_VERSION 0x32

//Increment this version if SkuTable_t or BoardTable_t change
#define PPTABLE_VERSION 0x26

+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
// *** IMPORTANT ***
// SMU TEAM: Always increment the interface version if
// any structure is changed in this file
#define PMFW_DRIVER_IF_VERSION 8
#define SMU13_0_4_DRIVER_IF_VERSION 8

typedef struct {
  int32_t value;
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
#ifndef __SMU13_DRIVER_IF_V13_0_5_H__
#define __SMU13_DRIVER_IF_V13_0_5_H__

#define PMFW_DRIVER_IF_VERSION 4
#define SMU13_0_5_DRIVER_IF_VERSION 4

// Throttler Status Bitmask
#define THROTTLER_STATUS_BIT_SPL            0
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@

// *** IMPORTANT ***
// PMFW TEAM: Always increment the interface version on any change to this file
#define SMU13_DRIVER_IF_VERSION  0x35
#define SMU13_0_7_DRIVER_IF_VERSION  0x35

//Increment this version if SkuTable_t or BoardTable_t change
#define PPTABLE_VERSION 0x27
Loading