All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27  7:26 ` Paul Kocialkowski
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Kocialkowski @ 2018-06-27  7:26 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel, linux-kernel
  Cc: Rob Herring, Mark Rutland, Maxime Ripard, Chen-Yu Tsai,
	linux-sunxi, 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@bootlin.com>
---
 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] 9+ messages in thread

* [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27  7:26 ` Paul Kocialkowski
  0 siblings, 0 replies; 9+ 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] 9+ messages in thread

* [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27  7:26 ` Paul Kocialkowski
  0 siblings, 0 replies; 9+ messages in thread
From: Paul Kocialkowski @ 2018-06-27  7:26 UTC (permalink / raw)
  To: linux-arm-kernel

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@bootlin.com>
---
 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] 9+ messages in thread

* Re: [linux-sunxi] [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27 16:47   ` Jernej Škrabec
  0 siblings, 0 replies; 9+ messages in thread
From: Jernej Škrabec @ 2018-06-27 16:47 UTC (permalink / raw)
  To: linux-sunxi, paul.kocialkowski
  Cc: devicetree, linux-arm-kernel, linux-kernel, 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] 9+ messages in thread

* Re: [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27 16:47   ` Jernej Škrabec
  0 siblings, 0 replies; 9+ 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] 9+ messages in thread

* [linux-sunxi] [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27 16:47   ` Jernej Škrabec
  0 siblings, 0 replies; 9+ messages in thread
From: Jernej Škrabec @ 2018-06-27 16:47 UTC (permalink / raw)
  To: linux-arm-kernel

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] 9+ messages in thread

* Re: [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27 20:08   ` Maxime Ripard
  0 siblings, 0 replies; 9+ messages in thread
From: Maxime Ripard @ 2018-06-27 20:08 UTC (permalink / raw)
  To: Paul Kocialkowski
  Cc: devicetree, linux-arm-kernel, linux-kernel, Rob Herring,
	Mark Rutland, Chen-Yu Tsai, linux-sunxi, Thomas Petazzoni,
	Qiang Yu, Giulio Benetti, Jagan Teki

[-- Attachment #1: Type: text/plain, Size: 1337 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@bootlin.com>
> ---
>  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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27 20:08   ` Maxime Ripard
  0 siblings, 0 replies; 9+ 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] 9+ messages in thread

* [PATCH] ARM: dts: sun8i-h3: Increase the GPU clock to 576 MHz
@ 2018-06-27 20:08   ` Maxime Ripard
  0 siblings, 0 replies; 9+ messages in thread
From: Maxime Ripard @ 2018-06-27 20:08 UTC (permalink / raw)
  To: linux-arm-kernel

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@bootlin.com>
> ---
>  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180627/e712ed43/attachment.sig>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-06-27 20:08 UTC | newest]

Thread overview: 9+ 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
2018-06-27  7:26 ` Paul Kocialkowski
2018-06-27  7:26 ` Paul Kocialkowski
2018-06-27 16:47 ` [linux-sunxi] " Jernej Škrabec
2018-06-27 16:47   ` Jernej Škrabec
2018-06-27 16:47   ` Jernej Škrabec
2018-06-27 20:08 ` Maxime Ripard
2018-06-27 20:08   ` Maxime Ripard
2018-06-27 20:08   ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.