Skip to content

Commit 834f65e

Browse files
jernejskmripard
authored andcommitted
clk: sunxi-ng: h6: Allow GPU to change parent rate
GPU PLL was designed with dynamic frequency switching in mind so driver can adjust rate based on the GPU load. Allow GPU clock to change parent rate (GPU PLL is the only possible parent of GPU clock). Signed-off-by: Jernej Skrabec <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
1 parent 3ee5f8a commit 834f65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/sunxi-ng/ccu-sun50i-h6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ static SUNXI_CCU_M_WITH_MUX_GATE(gpu_clk, "gpu", gpu_parents, 0x670,
299299
0, 3, /* M */
300300
24, 1, /* mux */
301301
BIT(31), /* gate */
302-
0);
302+
CLK_SET_RATE_PARENT);
303303

304304
static SUNXI_CCU_GATE(bus_gpu_clk, "bus-gpu", "psi-ahb1-ahb2",
305305
0x67c, BIT(0), 0);

0 commit comments

Comments
 (0)