touchscreen_mmi: Support refresh reate notification in Rogue

1. dsi_freq_head is undefined, so add Module.symvers of display driver.
2. Use the KBUILD_OPTIONS to pass the configuration parameters to
the Kbuild filed.

Change-Id: I24d792a26cb1d3a9f8beca8089cea7116ae1a669
Reviewed-on: https://gerrit.mot.com/2097103
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
litong20 authored and litong committed 2021-10-22 04:31:54 -05:00
1 parent 855433bff6
commit a745460a6f
2 files changed
+2 -1

No files matched your search

@@ -2,7 +2,7 @@ DLKM_DIR := motorola/kernel/modules
LOCAL_PATH := $(call my-dir)
ifeq ($(DRM_DYNAMIC_REFRESH_RATE),true)
KERNEL_CFLAGS += CONFIG_DRM_DYNAMIC_REFRESH_RATE=y
KBUILD_OPTIONS += CONFIG_DRM_DYNAMIC_REFRESH_RATE=y
endif
ifeq ($(TOUCHCLASS_MMI_DEBUG_INFO),true)
@@ -11,3 +11,4 @@ modules_install:
KBUILD_EXTRA_SYMBOLS += $(M)/../../../sensors/Module.symvers
KBUILD_EXTRA_SYMBOLS += $(M)/../../../mmi_relay/Module.symvers
KBUILD_EXTRA_SYMBOLS += $(OUT_DIR)/../../vendor/qcom/opensource/display-drivers/msm/Module.symvers