Skip to content

Commit

Permalink
clk-raspberrypi: Allow cpufreq driver to also adjust gpu clocks
Browse files Browse the repository at this point in the history
For performance/power it is beneficial to adjust gpu clocks with arm clock.
This is how the downstream cpufreq driver works

Signed-off-by: popcornmix <popcornmix@gmail.com>
  • Loading branch information
popcornmix authored and pelwell committed Apr 7, 2020
1 parent dc11cb9 commit 1e88f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/bcm/clk-raspberrypi.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static int raspberrypi_clock_property(struct rpi_firmware *firmware,
struct raspberrypi_firmware_prop msg = {
.id = cpu_to_le32(data->id),
.val = cpu_to_le32(*val),
.disable_turbo = cpu_to_le32(1),
.disable_turbo = cpu_to_le32(0),
};
int ret;

Expand Down

0 comments on commit 1e88f87

Please sign in to comment.