From 80a12f7fddfeae28c43242765374e7ade3a2a59e Mon Sep 17 00:00:00 2001 From: bigbearishappy <953308023@qq.com> Date: Wed, 2 Aug 2023 02:58:28 +0000 Subject: [PATCH] linux-raspberrypi: change kernel cfg of drm from y to m to fix the pwm issue #1180 When I was trying to drive a lcd(ili9881) with pwm backlight control. I encountered with the problem in #1180. After I check the kernel config of both raspbian OS and yocto.I find the config of drm is different between them. Detail of difference: In raspbian OS, kernel conifg of drm is m while it's y in yocto. So I change the config of drm to m in yocto too.And the pwm works fine now. Signed-off-by: bigbearishappy <953308023@qq.com> --- recipes-kernel/linux/files/vc4graphics.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-kernel/linux/files/vc4graphics.cfg b/recipes-kernel/linux/files/vc4graphics.cfg index 0b4ba48..bf6b94d 100644 --- a/recipes-kernel/linux/files/vc4graphics.cfg +++ b/recipes-kernel/linux/files/vc4graphics.cfg @@ -1,6 +1,6 @@ CONFIG_I2C_BCM2835=y -CONFIG_DRM=y -CONFIG_DRM_FBDEV_EMULATION=y -CONFIG_DRM_VC4=y +CONFIG_DRM=m +CONFIG_DRM_FBDEV_EMULATION=m +CONFIG_DRM_VC4=m CONFIG_SND=y CONFIG_SND_SOC=y