Skip to content

Commit c365621

Browse files
kholkbebarino
authored andcommitted
clk: qcom: gcc-sdm660: Mark GPU CFG AHB clock as critical
This clock is critical for any access to the GPU: gating it will crash the system when the GPU has been initialized (so, you cannot gate it unless you deinit the Adreno completely). So, to achieve a working state with GPU on, set the CLK_IS_CRITICAL flag to this clock. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Link: https://lore.kernel.org/r/20210113183817.447866-3-angelogioacchino.delregno@somainline.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent fe121bf commit c365621

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/clk/qcom/gcc-sdm660.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,6 +1571,7 @@ static struct clk_branch gcc_gpu_cfg_ahb_clk = {
15711571
.hw.init = &(struct clk_init_data){
15721572
.name = "gcc_gpu_cfg_ahb_clk",
15731573
.ops = &clk_branch2_ops,
1574+
.flags = CLK_IS_CRITICAL,
15741575
},
15751576
},
15761577
};

0 commit comments

Comments
 (0)