diff options
author | Philippe Simons <simons.philippe@gmail.com> | 2025-02-20 12:38:08 +0100 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2025-02-23 23:56:08 +0800 |
commit | eb963d7948ce6571939c6875424b557b25f16610 (patch) | |
tree | 8eb1e8bb1aa1003ffce0eb9790baf27c4a29b24e /scripts/lib | |
parent | 730feeaea72f1260548e57d35dd49603cd86a7e4 (diff) |
clk: sunxi-ng: h616: Reparent GPU clock during frequency changes
The H616 manual does not state that the GPU PLL supports
dynamic frequency configuration, so we must take extra care when changing
the frequency. Currently any attempt to do device DVFS on the GPU lead
to panfrost various ooops, and GPU hangs.
The manual describes the algorithm for changing the PLL
frequency, which the CPU PLL notifier code already support, so we reuse
that to reparent the GPU clock to GPU1 clock during frequency
changes.
Signed-off-by: Philippe Simons <simons.philippe@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20250220113808.1122414-2-simons.philippe@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions