clk: tegra: Initialize secondary gr3d clock on Tegra30
authorThierry Reding <thierry.reding@gmail.com>
Tue, 29 Oct 2013 15:51:11 +0000 (16:51 +0100)
committerPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 26 Nov 2013 16:46:56 +0000 (18:46 +0200)
There are two GPUs on Tegra30 and each of them uses a separate clock, so
the secondary clock needs to be initialized in order for the gr3d module
to work properly.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-tegra30.c

index f7ebf2b..153ae1a 100644 (file)
@@ -1368,6 +1368,7 @@ static struct tegra_clk_init_table init_table[] __initdata = {
        {TEGRA30_CLK_TWD, TEGRA30_CLK_CLK_MAX, 0, 1},
        {TEGRA30_CLK_GR2D, TEGRA30_CLK_PLL_C, 300000000, 0},
        {TEGRA30_CLK_GR3D, TEGRA30_CLK_PLL_C, 300000000, 0},
+       {TEGRA30_CLK_GR3D2, TEGRA30_CLK_PLL_C, 300000000, 0},
        {TEGRA30_CLK_CLK_MAX, TEGRA30_CLK_CLK_MAX, 0, 0}, /* This MUST be the last entry. */
 };