From 27c9c25faa3e46b1711984c62d93ee555c52d404 Mon Sep 17 00:00:00 2001 From: Krishna Manikandan Date: Fri, 10 Jul 2020 10:20:41 +0530 Subject: [PATCH] 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 --- Makefile | 10 ++++++++++ config/gki_holidisp.conf | 15 +++++++++++++++ config/gki_holidispconf.h | 14 ++++++++++++++ config/holidisp.conf | 15 +++++++++++++++ config/holidispconf.h | 13 +++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 config/gki_holidisp.conf create mode 100644 config/gki_holidispconf.h create mode 100644 config/holidisp.conf create mode 100644 config/holidispconf.h diff --git a/Makefile b/Makefile index 55b24b1db8..dff2b9ee67 100644 --- a/Makefile +++ b/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 diff --git a/config/gki_holidisp.conf b/config/gki_holidisp.conf new file mode 100644 index 0000000000..6df5fa7e71 --- /dev/null +++ b/config/gki_holidisp.conf @@ -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 diff --git a/config/gki_holidispconf.h b/config/gki_holidispconf.h new file mode 100644 index 0000000000..378d3216bb --- /dev/null +++ b/config/gki_holidispconf.h @@ -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 diff --git a/config/holidisp.conf b/config/holidisp.conf new file mode 100644 index 0000000000..5f9b203a69 --- /dev/null +++ b/config/holidisp.conf @@ -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 diff --git a/config/holidispconf.h b/config/holidispconf.h new file mode 100644 index 0000000000..05400274c4 --- /dev/null +++ b/config/holidispconf.h @@ -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