I've decided to split the GPU off previous series:
https://lore.kernel.org/linux-rockchip/2147216.TLkxdtWsSY@diego/
This series now contains only the GPU support, as the VPU
needs a tiny rework.
This is compiled tested only, in this case. Similar patches
have been tested on a v5.10-based kernel, so I'd say it's good
to go.
The mesa side is merged https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10771
and can be tested without a display, using something like weston --backend=headless-backend.so,
which provides an environment for GL to work.
Ezequiel Garcia (4):
dt-bindings: gpu: mali-bifrost: Allow up to two clocks
dt-bindings: gpu: mali-bifrost: Add RK3568 compatible
arm64: dts: rockchip: Add GPU node for rk3568
arm64: dts: rockchip: Enable the GPU on Quartz64 Model A
.../bindings/gpu/arm,mali-bifrost.yaml | 8 ++-
.../boot/dts/rockchip/rk3566-quartz64-a.dts | 5 ++
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 50 +++++++++++++++++++
3 files changed, 62 insertions(+), 1 deletion(-)
--
2.32.0
The Rockchip RK3568 SoC has a Bifrost Mali-G52 GPU,
add a compatible string for it.
Signed-off-by: Ezequiel Garcia <redacted>
---
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
1 file changed, 1 insertion(+)
Rockchip SoCs RK3566 and RK3568 have a Mali Gondul core
which is based on the Bifrost architecture. It has
one shader core and two execution engines.
Quoting the datasheet:
Mali-G52 1-Core-2EE
* Support 1600Mpix/s fill rate when 800MHz clock frequency
* Support 38.4GLOPs when 800MHz clock frequency
Signed-off-by: Ezequiel Garcia <redacted>
---
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 50 ++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Enable the GPU core on the Pine64 Quartz64 Model A.
Signed-off-by: Ezequiel Garcia <redacted>
---
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 5 +++++
1 file changed, 5 insertions(+)
From: Rob Herring <robh@kernel.org> Date: 2021-08-13 17:45:23
On Wed, 04 Aug 2021 23:59:46 -0300, Ezequiel Garcia wrote:
The Rockchip RK3568 SoC has a Bifrost Mali-G52 GPU,
add a compatible string for it.
Signed-off-by: Ezequiel Garcia <redacted>
---
Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 +
1 file changed, 1 insertion(+)
From: Johan Jonker <hidden> Date: 2021-08-20 15:08:19
Hi Ezequiel,
Some more comments. Have a look if it is useful.
On 8/5/21 4:59 AM, Ezequiel Garcia wrote:
quoted hunk
Rockchip SoCs RK3566 and RK3568 have a Mali Gondul core
which is based on the Bifrost architecture. It has
one shader core and two execution engines.
Quoting the datasheet:
Mali-G52 1-Core-2EE
* Support 1600Mpix/s fill rate when 800MHz clock frequency
* Support 38.4GLOPs when 800MHz clock frequency
Signed-off-by: Ezequiel Garcia <redacted>
---
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 50 ++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Not a big issue, but things with "#" are only needed for dt
interpretation (not a real property). I try to drop them as far down the
list when not sort alphabetically or connected to a real property.