2019-09-19 14:43:19 +00:00
|
|
|
From 709962264bec8f8483df374da5e946c982348e87 Mon Sep 17 00:00:00 2001
|
2019-08-09 17:50:30 +00:00
|
|
|
From: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
Date: Thu, 15 Aug 2019 12:02:34 +0100
|
2019-09-19 14:43:19 +00:00
|
|
|
Subject: [PATCH 768/806] configs: arm64/vcm2711: Enable V3D
|
2019-08-09 17:50:30 +00:00
|
|
|
|
|
|
|
Enable the V3D driver, which depends on BCM2835_POWER.
|
|
|
|
|
|
|
|
Originally submitted by GitHub user 'phire' in a slightly different
|
|
|
|
form.
|
|
|
|
|
|
|
|
See: https://github.com/raspberrypi/linux/pull/3063
|
|
|
|
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
|
|
|
---
|
|
|
|
arch/arm64/configs/bcm2711_defconfig | 2 ++
|
|
|
|
drivers/gpu/drm/v3d/Kconfig | 2 +-
|
|
|
|
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/arch/arm64/configs/bcm2711_defconfig
|
|
|
|
+++ b/arch/arm64/configs/bcm2711_defconfig
|
|
|
|
@@ -791,6 +791,7 @@ CONFIG_DRM_LOAD_EDID_FIRMWARE=y
|
|
|
|
CONFIG_DRM_UDL=m
|
|
|
|
CONFIG_DRM_PANEL_SIMPLE=m
|
|
|
|
CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN=m
|
|
|
|
+CONFIG_DRM_V3D=m
|
|
|
|
CONFIG_DRM_VC4=m
|
|
|
|
CONFIG_DRM_TINYDRM=m
|
|
|
|
CONFIG_TINYDRM_MI0283QT=m
|
|
|
|
@@ -1135,6 +1136,7 @@ CONFIG_VIDEO_BCM2835=m
|
|
|
|
CONFIG_MAILBOX=y
|
|
|
|
CONFIG_BCM2835_MBOX=y
|
|
|
|
# CONFIG_IOMMU_SUPPORT is not set
|
|
|
|
+CONFIG_BCM2835_POWER=y
|
|
|
|
CONFIG_RASPBERRYPI_POWER=y
|
|
|
|
CONFIG_EXTCON=m
|
|
|
|
CONFIG_EXTCON_ARIZONA=m
|
|
|
|
--- a/drivers/gpu/drm/v3d/Kconfig
|
|
|
|
+++ b/drivers/gpu/drm/v3d/Kconfig
|
|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
config DRM_V3D
|
|
|
|
tristate "Broadcom V3D 3.x and newer"
|
|
|
|
- depends on ARCH_BCM || ARCH_BCMSTB || COMPILE_TEST
|
|
|
|
+ depends on ARCH_BCM || ARCH_BCMSTB || ARCH_BCM2835 || COMPILE_TEST
|
|
|
|
depends on DRM
|
|
|
|
depends on COMMON_CLK
|
|
|
|
depends on MMU
|