Skip to content

Commit 85ff67a

Browse files
committed
linux.config: Enable VirtIO GPU and input features
1 parent c836bb6 commit 85ff67a

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
#
@@ -842,7 +843,11 @@ CONFIG_DEVMEM=y
842843
#
843844
# I2C support
844845
#
845-
# CONFIG_I2C is not set
846+
CONFIG_I2C=y
847+
CONFIG_I2C_BOARDINFO=y
848+
CONFIG_I2C_COMPAT=y
849+
CONFIG_I2C_HELPER_AUTO=y
850+
CONFIG_I2C_ALGOBIT=y
846851
# end of I2C support
847852

848853
# CONFIG_I3C is not set
@@ -905,18 +910,41 @@ CONFIG_MFD_SYSCON=y
905910
#
906911
# Graphics support
907912
#
908-
# CONFIG_DRM is not set
913+
CONFIG_DRM=y
914+
CONFIG_DRM_KMS_HELPER=y
909915
# CONFIG_DRM_DEBUG_MODESET_LOCK is not set
916+
CONFIG_DRM_FBDEV_EMULATION=y
917+
CONFIG_DRM_FBDEV_OVERALLOC=100
918+
CONFIG_DRM_GEM_SHMEM_HELPER=y
910919

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

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

922950
#
@@ -926,6 +954,8 @@ CONFIG_MFD_SYSCON=y
926954
# CONFIG_BACKLIGHT_CLASS_DEVICE is not set
927955
# end of Backlight & LCD device support
928956

957+
CONFIG_HDMI=y
958+
929959
#
930960
# Console display driver support
931961
#
@@ -1032,7 +1062,7 @@ CONFIG_EDAC_SUPPORT=y
10321062
#
10331063
# DMABUF options
10341064
#
1035-
# CONFIG_SYNC_FILE is not set
1065+
CONFIG_SYNC_FILE=y
10361066
# CONFIG_DMABUF_HEAPS is not set
10371067
# end of DMABUF options
10381068

@@ -1044,9 +1074,10 @@ CONFIG_VIRTIO_ANCHOR=y
10441074
CONFIG_VIRTIO=y
10451075
CONFIG_VIRTIO_MENU=y
10461076
# CONFIG_VIRTIO_BALLOON is not set
1047-
# CONFIG_VIRTIO_INPUT is not set
1077+
CONFIG_VIRTIO_INPUT=y
10481078
CONFIG_VIRTIO_MMIO=y
10491079
# CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES is not set
1080+
CONFIG_VIRTIO_DMA_SHARED_BUFFER=y
10501081
# CONFIG_VDPA is not set
10511082
# CONFIG_VHOST_MENU is not set
10521083

0 commit comments

Comments
 (0)