S666LN: powerhint: End INTERACTION hint on EXPENSIVE_RENDERING

* When blur is being rendered, there's a possibility we tapped the screen
  while the blur is still shown, which overrides our EXPENSIVE_RENDERING
  CPU freq boosts with the values from interaction, which are lower.

* Ensure CPU freq. remain high during blur (or other expensive renders)
  by ending the INTERACTION hint.

test:
 - open qs (or other actions that produce blur)
 - cat /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
 - should output 2000000
Change-Id: If0094c5e1013c092a057d66faa2d1280450523f4
Signed-off-by: claxten10 <claxten10@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
Signed-off-by: KimelaZX <mmikailrei@gmail.com>
This commit is contained in:
claxten10
2025-12-17 21:54:16 +07:00
committed by KimelaZX
parent 56cd925097
commit 7469bfddad

View File

@@ -516,6 +516,11 @@
"Node": "DoubleTapToWake",
"Duration": 0,
"Value": "cc1"
},
{
"PowerHint": "EXPENSIVE_RENDERING",
"Type": "EndHint",
"Value": "INTERACTION"
}
]
}