gpu: ipu-v3: pre: only use internal clock gating
authorLucas Stach <l.stach@pengutronix.de>
Wed, 3 May 2017 08:38:18 +0000 (10:38 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 6 Jun 2017 08:21:10 +0000 (10:21 +0200)
commit47c298f792992c6eda26fc4e4630c7ca54dcec47
treefb420771916e5ce28a43373f156e3491e8de50bb
parent3c2993b8c6143d8a5793746a54eba8f86f95240f
gpu: ipu-v3: pre: only use internal clock gating

By setting the SFTRST bit, the PRE will be held in the lowest power state
with clocks to the internal blocks gated. When external clock gating is
used (from the external clock controller, or by setting the CLKGATE bit)
the PRE will sporadically fail to start.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Fixes: d2a34232580a ("gpu: ipu-v3: add driver for Prefetch Resolve Engine")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-pre.c