Skip to content

Commit

Permalink
clk: qcom: Avoid SMMU/cx gdsc corner cases
Browse files Browse the repository at this point in the history
Mark the msm8998 cpu CX gdsc as votable and use the hw control to avoid
corner cases with SMMU per hardware documentation.

Fixes: 3f7df5b ("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>
  • Loading branch information
Jeffrey Hugo authored and Stephen Boyd committed Dec 19, 2019
1 parent 8d20c39 commit 781d8ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/clk/qcom/gpucc-msm8998.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 781d8ce

Please sign in to comment.