clk: samsung: exynos542x: Move G3D subsystem clocks to its sub-CMU
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 23 Oct 2019 07:41:18 +0000 (09:41 +0200)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 23 Oct 2019 16:26:21 +0000 (18:26 +0200)
commitc9f7567aff31348a3dcf54845f7e389f5df0c0c1
treea355f5e6098fda0282e88d6dbd8563634f4e92c4
parentfaac3604d05e8015567124e5ee79edc3f1568a89
clk: samsung: exynos542x: Move G3D subsystem clocks to its sub-CMU

G3D clocks require special handling of their parent bus clock during power
domain on/off sequences. Those clocks were not initially added to the
sub-CMU handler, because that time there was no open-source driver for the
G3D (MALI Panfrost) hardware module and it was not possible to test it.

This patch fixes this issue. Parent clock for G3D hardware block is now
properly preserved during G3D power domain on/off sequence. This restores
proper MALI Panfrost performance broken by commit 8686764fc071
("ARM: dts: exynos: Add G3D power domain to Exynos542x").

Reported-by: Marian Mihailescu <mihailescu2m@gmail.com>
Fixes: b06a532bf1fa ("clk: samsung: Add Exynos5 sub-CMU clock driver")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marian Mihailescu <mihailescu2m@gmail.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos5420.c