Skip to content

Commit ef7a5ba

Browse files
masneybandersson
authored andcommitted
ARM: qcom_defconfig: add display-related options
Add the CMA (Contiguous Memory Allocator) for the MSM DRM/KMS driver, the simple panel, and the TI LM3630A driver in order to support the display on the LG Nexus 5 (hammerhead) phone. Signed-off-by: Brian Masney <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
1 parent a188339 commit ef7a5ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/arm/configs/qcom_defconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ CONFIG_ARM_CPUIDLE=y
3737
CONFIG_VFP=y
3838
CONFIG_NEON=y
3939
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
40+
CONFIG_CMA=y
4041
CONFIG_NET=y
4142
CONFIG_PACKET=y
4243
CONFIG_UNIX=y
@@ -146,12 +147,14 @@ CONFIG_REGULATOR_QCOM_SMD_RPM=y
146147
CONFIG_REGULATOR_QCOM_SPMI=y
147148
CONFIG_MEDIA_SUPPORT=y
148149
CONFIG_DRM=y
150+
CONFIG_DRM_PANEL_SIMPLE=y
149151
CONFIG_FB=y
150152
CONFIG_FRAMEBUFFER_CONSOLE=y
151153
CONFIG_BACKLIGHT_LCD_SUPPORT=y
152154
# CONFIG_LCD_CLASS_DEVICE is not set
153155
CONFIG_BACKLIGHT_CLASS_DEVICE=y
154156
# CONFIG_BACKLIGHT_GENERIC is not set
157+
CONFIG_BACKLIGHT_LM3630A=y
155158
CONFIG_BACKLIGHT_LP855X=y
156159
CONFIG_SOUND=y
157160
CONFIG_SND=y
@@ -262,6 +265,8 @@ CONFIG_NLS_CODEPAGE_437=y
262265
CONFIG_NLS_ASCII=y
263266
CONFIG_NLS_ISO8859_1=y
264267
CONFIG_NLS_UTF8=y
268+
CONFIG_DMA_CMA=y
269+
CONFIG_CMA_SIZE_MBYTES=256
265270
CONFIG_PRINTK_TIME=y
266271
CONFIG_DYNAMIC_DEBUG=y
267272
CONFIG_DEBUG_INFO=y

0 commit comments

Comments
 (0)