Skip to content

Commit

Permalink
sdm845: overclock gpu to 833 mhz
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 authored and uwu-gl committed Jul 21, 2024
1 parent e49fe13 commit c25f479
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions arch/arm64/boot/dts/qcom/sdm845-v2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -567,23 +567,23 @@

qcom,gpu-pwrlevel@0 {
reg = <0>;
qcom,gpu-freq = <710000000>;
qcom,gpu-freq = <842000000>;
qcom,bus-freq = <12>;
qcom,bus-min = <12>;
qcom,bus-max = <12>;
};

qcom,gpu-pwrlevel@1 {
reg = <1>;
qcom,gpu-freq = <675000000>;
qcom,gpu-freq = <767000000>;
qcom,bus-freq = <12>;
qcom,bus-min = <10>;
qcom,bus-max = <12>;
};

qcom,gpu-pwrlevel@2 {
reg = <2>;
qcom,gpu-freq = <596000000>;
qcom,gpu-freq = <710000000>;
qcom,bus-freq = <10>;
qcom,bus-min = <9>;
qcom,bus-max = <12>;
Expand Down
10 changes: 5 additions & 5 deletions drivers/clk/qcom/gpucc-sdm845.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,9 @@ static const struct freq_tbl ftbl_gpu_cc_gx_gfx3d_clk_src_sdm845_v2[] = {
F(342000000, P_CRC_DIV, 1, 0, 0),
F(414000000, P_CRC_DIV, 1, 0, 0),
F(520000000, P_CRC_DIV, 1, 0, 0),
F(596000000, P_CRC_DIV, 1, 0, 0),
F(675000000, P_CRC_DIV, 1, 0, 0),
F(710000000, P_CRC_DIV, 1, 0, 0),
F(767000000, P_CRC_DIV, 1, 0, 0),
F(842000000, P_CRC_DIV, 1, 0, 0),
{ }
};

Expand Down Expand Up @@ -636,10 +636,10 @@ static void gpu_cc_gfx_sdm845_fixup_sdm845v2(void)
gpu_cc_gx_gfx3d_clk_src.clkr.hw.init->rate_max[VDD_GX_NOMINAL] =
520000000;
gpu_cc_gx_gfx3d_clk_src.clkr.hw.init->rate_max[VDD_GX_NOMINAL_L1] =
596000000;
gpu_cc_gx_gfx3d_clk_src.clkr.hw.init->rate_max[VDD_GX_HIGH] = 675000000;
gpu_cc_gx_gfx3d_clk_src.clkr.hw.init->rate_max[VDD_GX_HIGH_L1] =
710000000;
gpu_cc_gx_gfx3d_clk_src.clkr.hw.init->rate_max[VDD_GX_HIGH] = 767000000;
gpu_cc_gx_gfx3d_clk_src.clkr.hw.init->rate_max[VDD_GX_HIGH_L1] =
842000000; ;
}

static void gpu_cc_gfx_sdm845_fixup_sdm670(void)
Expand Down

0 comments on commit c25f479

Please sign in to comment.