mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 15:34:48 +08:00
c13e7f313d
The DRM driver most notably, but also out of tree drivers (for now) like the VPU or GPU drivers, are quite big consumers of large, contiguous memory buffers. However, the sunxi_defconfig doesn't enable CMA in order to mitigate that, which makes them almost unusable. Enable it to make sure it somewhat works. Cc: <stable@vger.kernel.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
154 lines
3.5 KiB
Plaintext
154 lines
3.5 KiB
Plaintext
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_PERF_EVENTS=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_SMP=y
|
|
CONFIG_NR_CPUS=8
|
|
CONFIG_AEABI=y
|
|
CONFIG_HIGHMEM=y
|
|
CONFIG_CMA=y
|
|
CONFIG_ARM_APPENDED_DTB=y
|
|
CONFIG_ARM_ATAG_DTB_COMPAT=y
|
|
CONFIG_CPU_FREQ=y
|
|
CONFIG_CPUFREQ_DT=y
|
|
CONFIG_VFP=y
|
|
CONFIG_NEON=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
CONFIG_IP_PNP=y
|
|
CONFIG_IP_PNP_DHCP=y
|
|
CONFIG_IP_PNP_BOOTP=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_DIAG is not set
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_CAN=y
|
|
CONFIG_CAN_SUN4I=y
|
|
# CONFIG_WIRELESS is not set
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
CONFIG_DMA_CMA=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_ATA=y
|
|
CONFIG_AHCI_SUNXI=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_SUN4I_EMAC=y
|
|
# CONFIG_NET_VENDOR_ARC is not set
|
|
# CONFIG_NET_CADENCE is not set
|
|
# CONFIG_NET_VENDOR_BROADCOM is not set
|
|
# CONFIG_NET_VENDOR_CIRRUS is not set
|
|
# CONFIG_NET_VENDOR_FARADAY is not set
|
|
# CONFIG_NET_VENDOR_INTEL is not set
|
|
# CONFIG_NET_VENDOR_MARVELL is not set
|
|
# CONFIG_NET_VENDOR_MICREL is not set
|
|
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
|
# CONFIG_NET_VENDOR_NATSEMI is not set
|
|
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
|
# CONFIG_NET_VENDOR_SEEQ is not set
|
|
# CONFIG_NET_VENDOR_SMSC is not set
|
|
CONFIG_STMMAC_ETH=y
|
|
# CONFIG_NET_VENDOR_VIA is not set
|
|
# CONFIG_NET_VENDOR_WIZNET is not set
|
|
# CONFIG_WLAN is not set
|
|
CONFIG_INPUT_EVDEV=y
|
|
CONFIG_KEYBOARD_SUN4I_LRADC=y
|
|
# CONFIG_INPUT_MOUSE is not set
|
|
CONFIG_INPUT_TOUCHSCREEN=y
|
|
CONFIG_TOUCHSCREEN_SUN4I=y
|
|
CONFIG_INPUT_MISC=y
|
|
CONFIG_INPUT_AXP20X_PEK=y
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_8250_NR_UARTS=8
|
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=8
|
|
CONFIG_SERIAL_8250_DW=y
|
|
CONFIG_SERIAL_OF_PLATFORM=y
|
|
# CONFIG_HW_RANDOM is not set
|
|
CONFIG_I2C_CHARDEV=y
|
|
CONFIG_I2C_MV64XXX=y
|
|
CONFIG_I2C_SUN6I_P2WI=y
|
|
CONFIG_SPI=y
|
|
CONFIG_SPI_SUN4I=y
|
|
CONFIG_SPI_SUN6I=y
|
|
CONFIG_GPIO_SYSFS=y
|
|
CONFIG_POWER_SUPPLY=y
|
|
CONFIG_CHARGER_AXP20X=y
|
|
CONFIG_BATTERY_AXP20X=y
|
|
CONFIG_AXP20X_POWER=y
|
|
CONFIG_THERMAL=y
|
|
CONFIG_CPU_THERMAL=y
|
|
CONFIG_WATCHDOG=y
|
|
CONFIG_SUNXI_WATCHDOG=y
|
|
CONFIG_MFD_AC100=y
|
|
CONFIG_MFD_AXP20X_I2C=y
|
|
CONFIG_MFD_AXP20X_RSB=y
|
|
CONFIG_REGULATOR=y
|
|
CONFIG_REGULATOR_FIXED_VOLTAGE=y
|
|
CONFIG_REGULATOR_AXP20X=y
|
|
CONFIG_REGULATOR_GPIO=y
|
|
CONFIG_MEDIA_SUPPORT=y
|
|
CONFIG_RC_CORE=y
|
|
CONFIG_RC_DEVICES=y
|
|
CONFIG_IR_SUNXI=y
|
|
CONFIG_DRM=y
|
|
CONFIG_DRM_SUN4I=y
|
|
CONFIG_DRM_DUMB_VGA_DAC=y
|
|
CONFIG_FB_SIMPLE=y
|
|
CONFIG_SOUND=y
|
|
CONFIG_SND=y
|
|
CONFIG_SND_SOC=y
|
|
CONFIG_SND_SUN4I_CODEC=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_HCD_PLATFORM=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD_PLATFORM=y
|
|
CONFIG_USB_MUSB_HDRC=y
|
|
CONFIG_USB_MUSB_SUNXI=y
|
|
CONFIG_NOP_USB_XCEIV=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_MMC=y
|
|
CONFIG_MMC_SUNXI=y
|
|
CONFIG_NEW_LEDS=y
|
|
CONFIG_LEDS_CLASS=y
|
|
CONFIG_LEDS_GPIO=y
|
|
CONFIG_LEDS_TRIGGERS=y
|
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
|
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
|
CONFIG_RTC_CLASS=y
|
|
# CONFIG_RTC_INTF_SYSFS is not set
|
|
# CONFIG_RTC_INTF_PROC is not set
|
|
CONFIG_RTC_DRV_AC100=y
|
|
CONFIG_RTC_DRV_SUNXI=y
|
|
CONFIG_DMADEVICES=y
|
|
CONFIG_DMA_SUN6I=y
|
|
# CONFIG_IOMMU_SUPPORT is not set
|
|
CONFIG_EXTCON=y
|
|
CONFIG_IIO=y
|
|
CONFIG_AXP20X_ADC=y
|
|
CONFIG_PWM=y
|
|
CONFIG_PWM_SUN4I=y
|
|
CONFIG_PHY_SUN4I_USB=y
|
|
CONFIG_PHY_SUN9I_USB=y
|
|
CONFIG_NVMEM=y
|
|
CONFIG_NVMEM_SUNXI_SID=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_VFAT_FS=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3_ACL=y
|
|
CONFIG_NFS_V4=y
|
|
CONFIG_ROOT_NFS=y
|
|
CONFIG_NLS_CODEPAGE_437=y
|
|
CONFIG_NLS_ISO8859_1=y
|
|
CONFIG_PRINTK_TIME=y
|
|
CONFIG_DEBUG_FS=y
|
|
CONFIG_CRYPTO_DEV_SUN4I_SS=y
|