* [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27 7:26 Paul Kocialkowski
[not found] ` <20180627072635.3592-1-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Paul Kocialkowski @ 2018-06-27 7:26 UTC (permalink / raw)
To: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Cc: Rob Herring, Mark Rutland, Maxime Ripard, Chen-Yu Tsai,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Thomas Petazzoni, Qiang Yu,
Giulio Benetti, Jagan Teki, Paul Kocialkowski
It was reported (based on declarations from the Allwiner BSP) that the
Mali 400 found on the H3 can be clocked up to 576 MHz.
The frequency was tested using the r6p2 out-of-tree driver and a Kodi
userspace with associated r6p2 blobs, leading to a working result.
This increases the clock to 576 MHz, which directly increases the pixel
throughput of the GPU (given the 1 pixel-per-cycle rate).
Signed-off-by: Paul Kocialkowski <paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
---
arch/arm/boot/dts/sun8i-h3.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 41d57c76f290..a14a63092dc6 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -133,7 +133,7 @@
resets = <&ccu RST_BUS_GPU>;
assigned-clocks = <&ccu CLK_GPU>;
- assigned-clock-rates = <384000000>;
+ assigned-clock-rates = <576000000>;
};
};
};
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
[not found] ` <20180627072635.3592-1-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
@ 2018-06-27 16:47 ` Jernej Škrabec
2018-06-27 20:08 ` Maxime Ripard
1 sibling, 0 replies; 3+ messages in thread
From: Jernej Škrabec @ 2018-06-27 16:47 UTC (permalink / raw)
To: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland,
Maxime Ripard, Chen-Yu Tsai, Thomas Petazzoni, Qiang Yu,
Giulio Benetti, Jagan Teki
Hi!
Dne sreda, 27. junij 2018 ob 09:26:35 CEST je Paul Kocialkowski napisal(a):
> It was reported (based on declarations from the Allwiner BSP) that the
> Mali 400 found on the H3 can be clocked up to 576 MHz.
>
> The frequency was tested using the r6p2 out-of-tree driver and a Kodi
> userspace with associated r6p2 blobs, leading to a working result.
>
> This increases the clock to 576 MHz, which directly increases the pixel
> throughput of the GPU (given the 1 pixel-per-cycle rate).
I think that current clock speed is on a bit conservative side because there
is no thermal throttling support yet.
Best regards,
Jernej
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
[not found] ` <20180627072635.3592-1-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-06-27 16:47 ` Jernej Škrabec
@ 2018-06-27 20:08 ` Maxime Ripard
1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2018-06-27 20:08 UTC (permalink / raw)
To: Paul Kocialkowski
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland,
Chen-Yu Tsai, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw,
Thomas Petazzoni, Qiang Yu, Giulio Benetti, Jagan Teki
[-- Attachment #1: Type: text/plain, Size: 1328 bytes --]
On Wed, Jun 27, 2018 at 09:26:35AM +0200, Paul Kocialkowski wrote:
> It was reported (based on declarations from the Allwiner BSP) that the
> Mali 400 found on the H3 can be clocked up to 576 MHz.
>
> The frequency was tested using the r6p2 out-of-tree driver and a Kodi
> userspace with associated r6p2 blobs, leading to a working result.
>
> This increases the clock to 576 MHz, which directly increases the pixel
> throughput of the GPU (given the 1 pixel-per-cycle rate).
>
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
> ---
> arch/arm/boot/dts/sun8i-h3.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
> index 41d57c76f290..a14a63092dc6 100644
> --- a/arch/arm/boot/dts/sun8i-h3.dtsi
> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
> @@ -133,7 +133,7 @@
> resets = <&ccu RST_BUS_GPU>;
>
> assigned-clocks = <&ccu CLK_GPU>;
> - assigned-clock-rates = <384000000>;
> + assigned-clock-rates = <576000000>;
This should really be fixed through the driver or through OPPs,
instead of just coding it here and hoping that it will remain set to
that rate.
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-27 20:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-27 7:26 [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz Paul Kocialkowski
[not found] ` <20180627072635.3592-1-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-06-27 16:47 ` Jernej Škrabec
2018-06-27 20:08 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).