projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8251a65
)
clk-raspberrypi: Allow cpufreq driver to also adjust gpu clocks
author
popcornmix
<popcornmix@gmail.com>
Mon, 9 Sep 2019 14:49:56 +0000
(15:49 +0100)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:04 +0000
(19:13 +0000)
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>
drivers/clk/bcm/clk-raspberrypi.c
patch
|
blob
|
history
diff --git
a/drivers/clk/bcm/clk-raspberrypi.c
b/drivers/clk/bcm/clk-raspberrypi.c
index
f89b9cf
..
f4884a5
100644
(file)
--- a/
drivers/clk/bcm/clk-raspberrypi.c
+++ b/
drivers/clk/bcm/clk-raspberrypi.c
@@
-97,7
+97,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;