Thread (13 messages) 13 messages, 3 authors, 2018-02-02

[PATCH] clk: sunxi-ng: ccu-sun4i-a10: Fix mali changing dclk frequency

From: Maxime Ripard <hidden>
Date: 2018-01-31 08:44:26
Also in: linux-clk, lkml

Hi,

On Wed, Jan 31, 2018 at 12:23:59AM +0100, Giulio Benetti wrote:
When mali.ko is inserted, it set default clocks and call all parent
clocks to stay into range, causing pll-video0 to change and
subsequently to change dclk to wrong frequencies.
This is what you should fix.
"gpu" clock has lot of parent plls inside driver, but on sun7i
pll8-gpu does not depend on pll-video0, pll-ve, pll-video1.

It only depends on 24Mhz main clock.
I don't really know why you are mentionning that. The GPU clock has
all the parents described in the driver. And the parents' parents are
irrelevant to this particular issue.
Remove all pll parents from gpu_parents_sun7i except "pll-gpu".
However, this is not a proper fix for your issue.

What kernel version did you use?

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180131/f36c9a5b/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help