Skip to content
This repository was archived by the owner on Aug 8, 2021. It is now read-only.

Commit 9b98ee3

Browse files
committed
Revert efficient frequency table
d38174e630410 Revert "ARM: dts: msm8998: Use efficient CPU frequencies and busy costs" 713b25cd04144 Revert "ARM: dts: msm8998: Add a lower efficient CPU frequency for each cluster" We need all freqs for benchmarking. Signed-off-by: Danny Lin <[email protected]>
1 parent 29b315c commit 9b98ee3

File tree

2 files changed

+153
-19
lines changed

2 files changed

+153
-19
lines changed

arch/arm/boot/dts/qcom/msm8998-v2.dtsi

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,18 +220,66 @@
220220

221221
&msm_cpufreq {
222222
qcom,cpufreq-table-0 =
223+
< 300000 >,
224+
< 364800 >,
225+
< 441600 >,
226+
< 518400 >,
227+
< 595200 >,
228+
< 672000 >,
229+
< 748800 >,
230+
< 825600 >,
231+
< 883200 >,
232+
< 960000 >,
233+
< 1036800 >,
234+
< 1094400 >,
235+
< 1171200 >,
236+
< 1248000 >,
237+
< 1324800 >,
238+
< 1401600 >,
223239
< 1478400 >,
240+
< 1555200 >,
241+
< 1670400 >,
242+
< 1747200 >,
224243
< 1824000 >,
225244
< 1900800 >;
226245

227246
qcom,cpufreq-table-4 =
247+
< 300000 >,
248+
< 345600 >,
249+
< 422400 >,
250+
< 499200 >,
251+
< 576000 >,
252+
< 652800 >,
253+
< 729600 >,
254+
< 806400 >,
255+
< 902400 >,
256+
< 979200 >,
257+
< 1056000 >,
258+
< 1132800 >,
259+
< 1190400 >,
260+
< 1267200 >,
261+
< 1344000 >,
262+
< 1420800 >,
228263
< 1497600 >,
264+
< 1574400 >,
265+
< 1651200 >,
266+
< 1728000 >,
229267
< 1804800 >,
268+
< 1881600 >,
230269
< 1958400 >,
270+
< 2035200 >,
231271
< 2112000 >,
272+
< 2208000 >,
232273
< 2265600 >,
274+
< 2304000 >,
233275
< 2323200 >,
234-
< 2457600 >;
276+
< 2342400 >,
277+
< 2361600 >,
278+
< 2419200 >,
279+
< 2457600 >,
280+
< 2476800 >,
281+
< 2496000 >,
282+
< 2592000 >;
235283
};
236284

237285
&bwmon {

arch/arm/boot/dts/qcom/msm8998.dtsi

Lines changed: 104 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -281,22 +281,65 @@
281281
energy-costs {
282282
CPU_COST_0: core-cost0 {
283283
busy-cost-data = <
284-
386 484
285-
476 575
286-
497 619
284+
65 11
285+
80 20
286+
96 25
287+
113 30
288+
130 33
289+
147 35
290+
164 36
291+
181 42
292+
194 47
293+
211 54
294+
228 62
295+
243 67
296+
258 73
297+
275 79
298+
292 88
299+
308 95
300+
326 104
301+
342 111
302+
368 134
303+
384 155
304+
401 178
305+
419 201
287306
>;
288307
idle-cost-data = <
289308
4 4 0 0
290309
>;
291310
};
292311
CPU_COST_1: core-cost1 {
293312
busy-cost-data = <
294-
645 669
295-
782 799
296-
848 1013
297-
916 1103
298-
982 1374
299-
1007 1476
313+
129 56
314+
148 76
315+
182 91
316+
216 105
317+
247 118
318+
278 135
319+
312 150
320+
344 162
321+
391 181
322+
419 196
323+
453 214
324+
487 229
325+
509 248
326+
546 280
327+
581 316
328+
615 354
329+
650 392
330+
676 439
331+
712 495
332+
739 565
333+
776 622
334+
803 691
335+
834 792
336+
881 889
337+
914 1059
338+
957 1244
339+
975 1375
340+
996 1549
341+
1016 1617
342+
1021 1677
300343
1024 1683
301344
>;
302345
idle-cost-data = <
@@ -305,22 +348,65 @@
305348
};
306349
CLUSTER_COST_0: cluster-cost0 {
307350
busy-cost-data = <
308-
386 42
309-
476 59
310-
497 66
351+
65 17
352+
80 18
353+
96 18
354+
113 20
355+
130 21
356+
147 22
357+
164 23
358+
181 24
359+
194 27
360+
211 29
361+
228 30
362+
243 32
363+
258 33
364+
275 35
365+
292 38
366+
308 39
367+
326 42
368+
342 46
369+
368 48
370+
384 53
371+
401 59
372+
419 66
311373
>;
312374
idle-cost-data = <
313375
31 31 31 0
314376
>;
315377
};
316378
CLUSTER_COST_1: cluster-cost1 {
317379
busy-cost-data = <
318-
645 63
319-
782 87
320-
848 104
321-
916 130
322-
982 178
323-
1007 185
380+
129 24
381+
148 25
382+
182 26
383+
216 29
384+
247 30
385+
278 33
386+
312 35
387+
344 37
388+
391 38
389+
419 40
390+
453 43
391+
487 44
392+
509 46
393+
546 50
394+
581 54
395+
615 60
396+
650 63
397+
676 70
398+
712 74
399+
739 80
400+
776 87
401+
803 96
402+
834 104
403+
881 120
404+
914 130
405+
957 171
406+
975 178
407+
996 185
408+
1016 200
409+
1021 202
324410
1024 203
325411
>;
326412
idle-cost-data = <

0 commit comments

Comments
 (0)