clk: imx6: initialize GPU clocks
authorLucas Stach <l.stach@pengutronix.de>
Fri, 16 Sep 2016 09:16:11 +0000 (11:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 07:01:26 +0000 (03:01 -0400)
commitaed6dd564609e5c234f2c6c0240e873c4a7df0d7
tree8178ba97d323ebdc40d84e876cc973624b9b3538
parent5122ea50c63e41a2548ee9e08f343a7fb1847839
clk: imx6: initialize GPU clocks

commit d8846023aed1293e54d33499558fc2aa2b2f393f upstream.

Initialize the GPU clock muxes to sane inputs. Until now they have
not been changed from their default values, which means that both
GPU3D shader and GPU2D core were fed by clock inputs whose rates
exceed the maximium allowed frequency of the cores by as much as
200MHz.

This fixes a severe GPU stability issue on i.MX6DL.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/imx/clk-imx6q.c