aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2019-05-02 02:38:11 +0300
committerMyungJoo Ham <[email protected]>2019-08-24 20:11:12 +0900
commit546ff09381370015ffaf4d139aae671a0bb66af2 (patch)
tree2b3167f1b5999c124a7720017069e0e33d039235 /scripts/gdb/linux/modules.py
parent5a7e10c89501ec69adc5c39b24d7d69a223bf275 (diff)
PM / devfreq: tegra: Reconfigure hardware on governor's restart
Move hardware configuration to governor's start/resume methods. This allows to re-initialize hardware counters and reconfigure cleanly if governor was stopped/paused. That is needed because we are not aware of all hardware changes that happened while governor was stopped and the paused state may get out of sync with reality, hence it's better to start with a clean slate after the pause. In a result there is no memory bandwidth starvation after resume from suspend-to-ram that results in display controller underflowing that happens on resume because of improper decision made by devfreq about the required memory frequency. This change also cleans up code a tad by moving hardware-configuration code into a single location. Reviewed-by: Chanwoo Choi <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions