Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: msm8916: Fix bimc gpu clock ops

The clock bimc_gpu_clk_src is incorrectly set to use the shared rcg2
ops, which are for RCGs with child branches controlled by different
CPUs.

The result of the incorrect ops is that the GPU's PM runtime may leave
this clock set at a very low rate. Fix this issue by using the correct
rcg2 ops.

Fixes: a2e8272f3f89 ("clk: qcom: Add MSM8916 gpu clocks")
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

authored by

Georgi Djakov and committed by
Stephen Boyd
de224554 7cc566a8

+1 -1
+1 -1
drivers/clk/qcom/gcc-msm8916.c
··· 1176 1176 .parent_names = gcc_xo_gpll0_bimc, 1177 1177 .num_parents = 3, 1178 1178 .flags = CLK_GET_RATE_NOCACHE, 1179 - .ops = &clk_rcg2_shared_ops, 1179 + .ops = &clk_rcg2_ops, 1180 1180 }, 1181 1181 }; 1182 1182