Skip to content
Snippets Groups Projects
Commit 781d8cea authored by Jeffrey Hugo's avatar Jeffrey Hugo Committed by Stephen Boyd
Browse files

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: 3f7df5ba ("clk: qcom: Add MSM8998 GPU Clock Controller (GPUCC) driver")
Signed-off-by: default avatarJeffrey Hugo <jeffrey.l.hugo@gmail.com>
Link: https://lkml.kernel.org/r/20191217171905.5619-1-jeffrey.l.hugo@gmail.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 8d20c39f
No related branches found
No related tags found
No related merge requests found
...@@ -242,10 +242,12 @@ static struct clk_branch gfx3d_isense_clk = { ...@@ -242,10 +242,12 @@ static struct clk_branch gfx3d_isense_clk = {
static struct gdsc gpu_cx_gdsc = { static struct gdsc gpu_cx_gdsc = {
.gdscr = 0x1004, .gdscr = 0x1004,
.gds_hw_ctrl = 0x1008,
.pd = { .pd = {
.name = "gpu_cx", .name = "gpu_cx",
}, },
.pwrsts = PWRSTS_OFF_ON, .pwrsts = PWRSTS_OFF_ON,
.flags = VOTABLE,
}; };
static struct gdsc gpu_gx_gdsc = { static struct gdsc gpu_gx_gdsc = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment