Commit e5a06898 authored by Peter Robinson's avatar Peter Robinson Committed by Melissa Wen

drm/v3d: Add support for bcm2711

Add compatible string and Kconfig options and help for bcm2711.
Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: default avatarPeter Robinson <pbrobinson@gmail.com>
Reviewed-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Signed-off-by: default avatarMelissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220603092610.1909675-4-pbrobinson@gmail.com
parent 90a64adb
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config DRM_V3D config DRM_V3D
tristate "Broadcom V3D 3.x and newer" tristate "Broadcom V3D 3.x and newer"
depends on ARCH_BCM || ARCH_BRCMSTB || COMPILE_TEST depends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST
depends on DRM depends on DRM
depends on COMMON_CLK depends on COMMON_CLK
depends on MMU depends on MMU
...@@ -9,4 +9,5 @@ config DRM_V3D ...@@ -9,4 +9,5 @@ config DRM_V3D
select DRM_GEM_SHMEM_HELPER select DRM_GEM_SHMEM_HELPER
help help
Choose this option if you have a system that has a Broadcom Choose this option if you have a system that has a Broadcom
V3D 3.x or newer GPU, such as BCM7268. V3D 3.x or newer GPUs. SoCs supported include the BCM2711,
BCM7268 and BCM7278.
...@@ -191,6 +191,7 @@ static const struct drm_driver v3d_drm_driver = { ...@@ -191,6 +191,7 @@ static const struct drm_driver v3d_drm_driver = {
}; };
static const struct of_device_id v3d_of_match[] = { static const struct of_device_id v3d_of_match[] = {
{ .compatible = "brcm,2711-v3d" },
{ .compatible = "brcm,7268-v3d" }, { .compatible = "brcm,7268-v3d" },
{ .compatible = "brcm,7278-v3d" }, { .compatible = "brcm,7278-v3d" },
{}, {},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment