Skip to content

Commit a8820bf

Browse files
committed
linux.config: Enable VirtIO GPU and input features
1 parent df5d746 commit a8820bf

File tree

1 file changed

+37
-6
lines changed

1 file changed

+37
-6
lines changed

configs/linux.config

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ CONFIG_ALLOW_DEV_COREDUMP=y
589589
# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set
590590
CONFIG_REGMAP=y
591591
CONFIG_REGMAP_MMIO=y
592+
CONFIG_DMA_SHARED_BUFFER=y
592593
CONFIG_GENERIC_ARCH_TOPOLOGY=y
593594
# end of Generic Driver Options
594595

@@ -754,7 +755,7 @@ CONFIG_INPUT=y
754755
#
755756
# CONFIG_INPUT_MOUSEDEV is not set
756757
# CONFIG_INPUT_JOYDEV is not set
757-
# CONFIG_INPUT_EVDEV is not set
758+
CONFIG_INPUT_EVDEV=y
758759
# CONFIG_INPUT_EVBUG is not set
759760

760761
#
@@ -843,7 +844,11 @@ CONFIG_DEVMEM=y
843844
#
844845
# I2C support
845846
#
846-
# CONFIG_I2C is not set
847+
CONFIG_I2C=y
848+
CONFIG_I2C_BOARDINFO=y
849+
CONFIG_I2C_COMPAT=y
850+
CONFIG_I2C_HELPER_AUTO=y
851+
CONFIG_I2C_ALGOBIT=y
847852
# end of I2C support
848853

849854
# CONFIG_I3C is not set
@@ -906,18 +911,41 @@ CONFIG_MFD_SYSCON=y
906911
#
907912
# Graphics support
908913
#
909-
# CONFIG_DRM is not set
914+
CONFIG_DRM=y
915+
CONFIG_DRM_KMS_HELPER=y
910916
# CONFIG_DRM_DEBUG_MODESET_LOCK is not set
917+
CONFIG_DRM_FBDEV_EMULATION=y
918+
CONFIG_DRM_FBDEV_OVERALLOC=100
919+
CONFIG_DRM_GEM_SHMEM_HELPER=y
911920

912921
#
913922
# ARM devices
914923
#
915924
# end of ARM devices
916925

926+
CONFIG_DRM_VIRTIO_GPU=y
927+
CONFIG_DRM_PANEL=y
928+
929+
CONFIG_DRM_BRIDGE=y
930+
CONFIG_DRM_PANEL_BRIDGE=y
931+
932+
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
933+
CONFIG_DRM_NOMODESET=y
934+
917935
#
918936
# Frame buffer Devices
919937
#
920-
# CONFIG_FB is not set
938+
CONFIG_FB_CMDLINE=y
939+
CONFIG_FB_NOTIFY=y
940+
CONFIG_FB=y
941+
CONFIG_FB_CFB_FILLRECT=y
942+
CONFIG_FB_CFB_COPYAREA=y
943+
CONFIG_FB_CFB_IMAGEBLIT=y
944+
CONFIG_FB_SYS_FILLRECT=y
945+
CONFIG_FB_SYS_COPYAREA=y
946+
CONFIG_FB_SYS_IMAGEBLIT=y
947+
CONFIG_FB_SYS_FOPS=y
948+
CONFIG_FB_DEFERRED_IO=y
921949
# end of Frame buffer Devices
922950

923951
#
@@ -927,6 +955,8 @@ CONFIG_MFD_SYSCON=y
927955
# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
928956
# end of Backlight & LCD device support
929957

958+
CONFIG_HDMI=y
959+
930960
#
931961
# Console display driver support
932962
#
@@ -1033,7 +1063,7 @@ CONFIG_EDAC_SUPPORT=y
10331063
#
10341064
# DMABUF options
10351065
#
1036-
# CONFIG_SYNC_FILE is not set
1066+
CONFIG_SYNC_FILE=y
10371067
# CONFIG_DMABUF_HEAPS is not set
10381068
# end of DMABUF options
10391069

@@ -1045,9 +1075,10 @@ CONFIG_VIRTIO_ANCHOR=y
10451075
CONFIG_VIRTIO=y
10461076
CONFIG_VIRTIO_MENU=y
10471077
# CONFIG_VIRTIO_BALLOON is not set
1048-
# CONFIG_VIRTIO_INPUT is not set
1078+
CONFIG_VIRTIO_INPUT=y
10491079
CONFIG_VIRTIO_MMIO=y
10501080
# CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set
1081+
CONFIG_VIRTIO_DMA_SHARED_BUFFER=y
10511082
# CONFIG_VDPA is not set
10521083
# CONFIG_VHOST_MENU is not set
10531084

0 commit comments

Comments
 (0)