]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1491317753dd6331b14237f37889070cf7e567d
treefb420771916e5ce28a43373f156e3491e8de50bb
parente9e02ea9c2ec5186bb77a8d5bc3b7bee407a45bb
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: f4203ca91c55 ("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