clk: qcom: gcc-sdm660: Mark GPU CFG AHB clock as critical
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Wed, 13 Jan 2021 18:38:10 +0000 (19:38 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sun, 14 Feb 2021 20:56:54 +0000 (12:56 -0800)
commitc3656218386a40d884d8a757e1683028147c6e1c
tree9ae22ca788756b327818dc8303a8b8efd6df310c
parentfe121bfe261717e930abdb4a905e5c01b7f47cc3
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>
drivers/clk/qcom/gcc-sdm660.c