diff options
author | Jeffrey Hugo <jeffrey.l.hugo@gmail.com> | 2019-12-17 20:19:05 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-12-19 09:02:27 +0300 |
commit | 781d8cea68ac41d11a80df2a5f5babd584f86447 (patch) | |
tree | 16ca5e9b2e5c66934ecd42fd35ec2c8b0682e499 /drivers/clk | |
parent | 8d20c39f063ed33012d7461c77fd5b89665e5163 (diff) | |
download | linux-781d8cea68ac41d11a80df2a5f5babd584f86447.tar.xz |
clk: qcom: Avoid SMMU/cx gdsc corner cases
Mark the msm8998 cpu CX gdsc as votable and use the hw control to avoid
corner cases with SMMU per hardware documentation.
Fixes: 3f7df5baa259 ("clk: qcom: Add MSM8998 GPU Clock Controller (GPUCC) driver")
Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Link: https://lkml.kernel.org/r/20191217171905.5619-1-jeffrey.l.hugo@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/qcom/gpucc-msm8998.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/qcom/gpucc-msm8998.c b/drivers/clk/qcom/gpucc-msm8998.c index e5e2492b20c5..9b3923af02a1 100644 --- a/drivers/clk/qcom/gpucc-msm8998.c +++ b/drivers/clk/qcom/gpucc-msm8998.c @@ -242,10 +242,12 @@ static struct clk_branch gfx3d_isense_clk = { static struct gdsc gpu_cx_gdsc = { .gdscr = 0x1004, + .gds_hw_ctrl = 0x1008, .pd = { .name = "gpu_cx", }, .pwrsts = PWRSTS_OFF_ON, + .flags = VOTABLE, }; static struct gdsc gpu_gx_gdsc = { |