[PATCH] drm/sun4i: tcon: Prepare and enable TCON channel 0 clock at init
Maxime Ripard
maxime.ripard at bootlin.com
Fri Feb 1 13:12:18 UTC 2019
On Thu, Jan 31, 2019 at 02:25:50PM +0100, Paul Kocialkowski wrote:
> When initializing clocks, a reference to the TCON channel 0 clock is
> obtained. However, the clock is never prepared and enabled later.
> Switching from simplefb to DRM actually disables the clock (that was
> usually configured by U-Boot) because of that.
>
> On the V3s, this results in a hang when writing to some mixer registers
> when switching over to DRM from simplefb.
>
> Fix this by preparing and enabling the clock when initializing other
> clocks. Waiting for sun4i_tcon_channel_enable to enable the clock is
> apparently too late and results in the same mixer register access hang.
>
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski at bootlin.com>
Applied, thanks!
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190201/36df4bca/attachment.sig>
More information about the dri-devel
mailing list