]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08ab6cebe723f3c87ab6f5c9e7755ee4b6d71b72
treea355f5e6098fda0282e88d6dbd8563634f4e92c4
parente7a440cb76dfd28b762b29327b7bc9f9be49f3ba
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 3af0573ade69
("ARM: dts: exynos: Add G3D power domain to Exynos542x").

Reported-by: Marian Mihailescu <mihailescu2m@gmail.com>
Fixes: 5d5ae86cbce6 ("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