makefile: add config support for display techpack for holi
Add required changes to makefile and enable the config keys for holi target compilation. Change-Id: I4b48e79c8b26c45f2f54fc1ac02a6e322bda07b9 Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
This commit is contained in:
10
Makefile
10
Makefile
@@ -21,6 +21,16 @@ LINUXINCLUDE += -include $(srctree)/techpack/display/config/gki_lahainadispco
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_HOLI), y)
|
||||
ifeq ($(CONFIG_QGKI), y)
|
||||
include $(srctree)/techpack/display/config/holidisp.conf
|
||||
LINUXINCLUDE += -include $(srctree)/techpack/display/config/holidispconf.h
|
||||
else
|
||||
include $(srctree)/techpack/display/config/gki_holidisp.conf
|
||||
LINUXINCLUDE += -include $(srctree)/techpack/display/config/gki_holidispconf.h
|
||||
endif
|
||||
endif
|
||||
|
||||
LINUXINCLUDE += \
|
||||
-I$(srctree)/techpack/display/include/uapi/display \
|
||||
-I$(srctree)/techpack/display/include
|
||||
|
15
config/gki_holidisp.conf
Normal file
15
config/gki_holidisp.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
|
||||
export CONFIG_DRM_MSM=y
|
||||
export CONFIG_DRM_MSM_SDE=y
|
||||
export CONFIG_DRM_MSM_DP=n
|
||||
export CONFIG_DRM_MSM_DP_MST=n
|
||||
export CONFIG_SYNC_FILE=y
|
||||
export CONFIG_DRM_MSM_DSI=y
|
||||
export CONFIG_DSI_PARSER=y
|
||||
export CONFIG_DRM_SDE_WB=n
|
||||
export CONFIG_DRM_MSM_REGISTER_LOGGING=y
|
||||
export CONFIG_QCOM_MDSS_PLL=y
|
||||
export CONFIG_DRM_SDE_RSC=n
|
||||
export CONFIG_DISPLAY_BUILD=m
|
14
config/gki_holidispconf.h
Normal file
14
config/gki_holidispconf.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define CONFIG_DRM_MSM 1
|
||||
#define CONFIG_DRM_MSM_SDE 1
|
||||
#define CONFIG_SYNC_FILE 1
|
||||
#define CONFIG_DRM_MSM_DSI 1
|
||||
#define CONFIG_DSI_PARSER 1
|
||||
#define CONFIG_DRM_MSM_REGISTER_LOGGING 1
|
||||
#define CONFIG_DRM_SDE_EVTLOG_DEBUG 1
|
||||
#define CONFIG_QCOM_MDSS_PLL 1
|
||||
#define CONFIG_GKI_DISPLAY 1
|
15
config/holidisp.conf
Normal file
15
config/holidisp.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
|
||||
export CONFIG_DRM_MSM=y
|
||||
export CONFIG_DRM_MSM_SDE=y
|
||||
export CONFIG_DRM_MSM_DP=n
|
||||
export CONFIG_DRM_MSM_DP_MST=n
|
||||
export CONFIG_SYNC_FILE=y
|
||||
export CONFIG_DRM_MSM_DSI=y
|
||||
export CONFIG_DSI_PARSER=y
|
||||
export CONFIG_DRM_SDE_WB=n
|
||||
export CONFIG_DRM_MSM_REGISTER_LOGGING=y
|
||||
export CONFIG_QCOM_MDSS_PLL=y
|
||||
export CONFIG_DRM_SDE_RSC=n
|
||||
export CONFIG_DISPLAY_BUILD=y
|
13
config/holidispconf.h
Normal file
13
config/holidispconf.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define CONFIG_DRM_MSM 1
|
||||
#define CONFIG_DRM_MSM_SDE 1
|
||||
#define CONFIG_SYNC_FILE 1
|
||||
#define CONFIG_DRM_MSM_DSI 1
|
||||
#define CONFIG_DSI_PARSER 1
|
||||
#define CONFIG_DRM_MSM_REGISTER_LOGGING 1
|
||||
#define CONFIG_DRM_SDE_EVTLOG_DEBUG 1
|
||||
#define CONFIG_QCOM_MDSS_PLL 1
|
Reference in New Issue
Block a user