Commit 037a9c5
adreno_tz: Adjust GPU target frequency calculation
* based from [1], here we finetune the logic by adding a min_busy condition so that we will only upscale when FLOOR is exceeded (for power consumption).
* ratio: by increasing initial load + the quotient of the 120(max refresh)/60 ratio, so that this will definitely act as boost (which is needed for HFR/heavy load situations).
* 90hz ratio is used for conditions below FLOOR value
[1]: KasaOS/KASA_Surya@24c1487
Change-Id: I98be2f909b63e5fb3426a74ddb5f0412ecbc5a00
Signed-off-by: dlwlrma123 <alexfinhart@gmail.com>
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
Signed-off-by: Yahya Wessam <yahyawessam2002@gmail.com>1 parent 0a5db2c commit 037a9c5
1 file changed
+13
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 41 | | |
48 | 42 | | |
49 | 43 | | |
| |||
372 | 366 | | |
373 | 367 | | |
374 | 368 | | |
375 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
376 | 375 | | |
377 | 376 | | |
378 | 377 | | |
| |||
397 | 396 | | |
398 | 397 | | |
399 | 398 | | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
420 | 405 | | |
421 | 406 | | |
422 | 407 | | |
| |||
0 commit comments