Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
From 8c584addfb80b83745eb9415f5f0e1c86704fd58 Mon Sep 17 00:00:00 2001
|
||||
From: Maxime Ripard <maxime@cerno.tech>
|
||||
Date: Fri, 17 Feb 2023 15:29:52 +0100
|
||||
Subject: [PATCH 0609/1085] drm/vc4: drv: Support BCM2712
|
||||
|
||||
The BCM2712 has an improved display pipeline, most notably with a
|
||||
different HVS and only HDMI and writeback outputs.
|
||||
|
||||
Let's introduce it as a new VideoCore generation and compatible.
|
||||
|
||||
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
|
||||
---
|
||||
drivers/gpu/drm/vc4/vc4_drv.c | 5 ++++-
|
||||
drivers/gpu/drm/vc4/vc4_drv.h | 1 +
|
||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/drivers/gpu/drm/vc4/vc4_drv.c
|
||||
+++ b/drivers/gpu/drm/vc4/vc4_drv.c
|
||||
@@ -309,7 +309,9 @@ static int vc4_drm_bind(struct device *d
|
||||
|
||||
dev->coherent_dma_mask = DMA_BIT_MASK(32);
|
||||
|
||||
- if (of_device_is_compatible(dev->of_node, "brcm,bcm2711-vc5"))
|
||||
+ if (of_device_is_compatible(dev->of_node, "brcm,bcm2712-vc6"))
|
||||
+ gen = VC4_GEN_6;
|
||||
+ else if (of_device_is_compatible(dev->of_node, "brcm,bcm2711-vc5"))
|
||||
gen = VC4_GEN_5;
|
||||
else
|
||||
gen = VC4_GEN_4;
|
||||
@@ -471,6 +473,7 @@ static void vc4_platform_drm_remove(stru
|
||||
|
||||
static const struct of_device_id vc4_of_match[] = {
|
||||
{ .compatible = "brcm,bcm2711-vc5", },
|
||||
+ { .compatible = "brcm,bcm2712-vc6", },
|
||||
{ .compatible = "brcm,bcm2835-vc4", },
|
||||
{ .compatible = "brcm,cygnus-vc4", },
|
||||
{},
|
||||
--- a/drivers/gpu/drm/vc4/vc4_drv.h
|
||||
+++ b/drivers/gpu/drm/vc4/vc4_drv.h
|
||||
@@ -84,6 +84,7 @@ struct vc4_perfmon {
|
||||
enum vc4_gen {
|
||||
VC4_GEN_4,
|
||||
VC4_GEN_5,
|
||||
+ VC4_GEN_6,
|
||||
};
|
||||
|
||||
struct vc4_dev {
|
||||
Reference in New Issue
Block a user