diff mbox

[LEDE-DEV,1/2] kernel: video: disable CONFIG_DRM_VC4 in drm's KCONFIG

Message ID 20170319192634.21961-1-zajec5@gmail.com
State Changes Requested
Headers show

Commit Message

Rafał Miłecki March 19, 2017, 7:26 p.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

This isn't required for imx6 as DRM_VC4 depends on ARCH_BCM2835 but will
be needed if we decide to enable drm package with brcm2708. Otherwise it
would case compilation problem:
Broadcom VC4 Graphics (DRM_VC4) [N/m/?] (NEW)

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 package/kernel/linux/modules/video.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Felix Fietkau March 20, 2017, 9:56 a.m. UTC | #1
On 2017-03-19 20:26, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> This isn't required for imx6 as DRM_VC4 depends on ARCH_BCM2835 but will
> be needed if we decide to enable drm package with brcm2708. Otherwise it
> would case compilation problem:
> Broadcom VC4 Graphics (DRM_VC4) [N/m/?] (NEW)
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
I think we should move these symbols to target/linux/generic/config-*

- Felix
Rafał Miłecki March 20, 2017, 10:23 a.m. UTC | #2
On 2017-03-20 10:56, Felix Fietkau wrote:
> On 2017-03-19 20:26, Rafał Miłecki wrote:
>> From: Rafał Miłecki <rafal@milecki.pl>
>> 
>> This isn't required for imx6 as DRM_VC4 depends on ARCH_BCM2835 but 
>> will
>> be needed if we decide to enable drm package with brcm2708. Otherwise 
>> it
>> would case compilation problem:
>> Broadcom VC4 Graphics (DRM_VC4) [N/m/?] (NEW)
>> 
>> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> I think we should move these symbols to target/linux/generic/config-*

I'll do so, thanks.
diff mbox

Patch

diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 7baa77aa6b..3ccfaf622a 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -214,6 +214,7 @@  define KernelPackage/drm
 	CONFIG_DRM_BOCHS=n \
 	CONFIG_DRM_FSL_DCU=n \
 	CONFIG_DRM_STI=n \
+	CONFIG_DRM_VC4=n \
 	CONFIG_DRM_NXP_PTN3460=n \
 	CONFIG_DRM_PARADE_PS8622=n \
 	CONFIG_DRM_I2C_ADV7511=n \