Skip to content

Commit

Permalink
linux-raspberrypi: change kernel cfg of drm from y to m to fix the pw…
Browse files Browse the repository at this point in the history
…m 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 <[email protected]>
  • Loading branch information
bigbearishappy authored and agherzan committed Aug 3, 2023
1 parent 43683cb commit 80a12f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes-kernel/linux/files/vc4graphics.cfg
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 80a12f7

Please sign in to comment.