blob: 5ea2b036304c9060bb193e3d8f6e3f8433cf1ed3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
From 75a6bbbc4d5cd9f848f8b828f1cf963eb5835e64 Mon Sep 17 00:00:00 2001
From: Kenneth Feng <kenneth.feng@amd.com>
Date: Tue, 16 Apr 2019 16:33:43 +0800
Subject: [PATCH 2306/2940] drm/amd/powerplay: update smu11_driver_if_navi10.h
update the smu11_driver_if_navi10.h since navi10 smu fw
update to 42.15.0
Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
.../amd/powerplay/inc/smu11_driver_if_navi10.h | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h
index 25b7c8c496f7..83ef0e26c051 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h
@@ -4,7 +4,7 @@
// *** IMPORTANT ***
// SMU TEAM: Always increment the interface version if
// any structure is changed in this file
-#define SMU11_DRIVER_IF_VERSION 0x2E
+#define SMU11_DRIVER_IF_VERSION 0x2F
#define PPTABLE_NV10_SMU_VERSION 8
@@ -689,8 +689,11 @@ typedef struct {
// BTC Setting
uint32_t BtcConfig;
+ uint16_t SsFmin[10]; // PPtable value to function similar to VFTFmin for SS Curve; Size is PPCLK_COUNT rounded to nearest multiple of 2
+ uint16_t DcBtcGb[AVFS_VOLTAGE_COUNT];
+
// SECTION: Board Reserved
- uint32_t Reserved[14];
+ uint32_t Reserved[8];
// SECTION: BOARD PARAMETERS
// I2C Control
@@ -1027,17 +1030,9 @@ typedef struct {
//RLC Pace Table total number of levels
#define RLC_PACE_TABLE_NUM_LEVELS 16
-#define RLC_PACE_RATIO_NUM_LEVELS 8
-
-typedef struct {
- uint8_t ByteRatioLow;
- uint8_t FlopsRatioLow;
- uint8_t ByteRatioHigh;
- uint8_t FlopsRatioHigh;
-} RlcPaceFlopsPerByte_t;
typedef struct {
- RlcPaceFlopsPerByte_t FlopsPerByteTable[RLC_PACE_RATIO_NUM_LEVELS];
+ float FlopsPerByteTable[RLC_PACE_TABLE_NUM_LEVELS];
uint32_t MmHubPadding[8]; // SMU internal use
} RlcPaceFlopsPerByteOverride_t;
--
2.17.1
|