File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -1478,7 +1478,6 @@ static int amd_pstate_epp_cpu_init(struct cpufreq_policy *policy)
1478
1478
return - ENOMEM ;
1479
1479
1480
1480
cpudata -> cpu = policy -> cpu ;
1481
- cpudata -> epp_policy = 0 ;
1482
1481
1483
1482
ret = amd_pstate_init_perf (cpudata );
1484
1483
if (ret )
@@ -1585,8 +1584,6 @@ static int amd_pstate_epp_update_limit(struct cpufreq_policy *policy)
1585
1584
value &= ~AMD_CPPC_DES_PERF (~0L );
1586
1585
value |= AMD_CPPC_DES_PERF (0 );
1587
1586
1588
- cpudata -> epp_policy = cpudata -> policy ;
1589
-
1590
1587
/* Get BIOS pre-defined epp value */
1591
1588
epp = amd_pstate_get_epp (cpudata , value );
1592
1589
if (epp < 0 ) {
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ struct amd_aperf_mperf {
57
57
* @hw_prefcore: check whether HW supports preferred core featue.
58
58
* Only when hw_prefcore and early prefcore param are true,
59
59
* AMD P-State driver supports preferred core featue.
60
- * @epp_policy: Last saved policy used to set energy-performance preference
61
60
* @epp_cached: Cached CPPC energy-performance preference value
62
61
* @policy: Cpufreq policy value
63
62
* @cppc_cap1_cached Cached MSR_AMD_CPPC_CAP1 register value
@@ -94,7 +93,6 @@ struct amd_cpudata {
94
93
bool hw_prefcore ;
95
94
96
95
/* EPP feature related attributes*/
97
- s16 epp_policy ;
98
96
s16 epp_cached ;
99
97
u32 policy ;
100
98
u64 cppc_cap1_cached ;
You can’t perform that action at this time.
0 commit comments