diff options
| author | Ujwal Patel <ujwalp@codeaurora.org> | 2013-11-25 13:36:27 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:23:47 -0700 |
| commit | f2916684d454f41ec3b3f6c101ba23e69abc5d77 (patch) | |
| tree | 189d84fba121d77083e590b342d373b150bbbed2 | |
| parent | 5e3a8a1745c5b5ab50a70c8dea1757e0b752747c (diff) | |
msm: mdss: cleanup eDP driver compilation
Enable eDP driver compilation only on chip-sets where eDP core is
present. This helps reduce the size of kernel binary where eDP
controller is not present.
Change-Id: I2f201e3258b2b8f2ea224a6d0873852551bf1527
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
[cip@codeaurora.org: Resolve updated file locations]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/Kconfig | 8 | ||||
| -rw-r--r-- | drivers/video/fbdev/msm/Makefile | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/Kconfig b/drivers/video/fbdev/msm/Kconfig index cad2365ae508..915aa386aea4 100644 --- a/drivers/video/fbdev/msm/Kconfig +++ b/drivers/video/fbdev/msm/Kconfig @@ -987,4 +987,12 @@ config FB_MSM_MDSS_DSI_CTRL_STATUS fails to acknowledge the BTA command, it sends PANEL_ALIVE=0 status to HAL layer to reset the controller. +config FB_MSM_MDSS_EDP_PANEL + depends on FB_MSM_MDSS + bool "MDSS eDP Panel" + ---help--- + The MDSS eDP Panel provides support for eDP host controller driver + which runs in Video mode only and is responsible for transmitting + frame buffer from host SOC to eDP display panel. + endif diff --git a/drivers/video/fbdev/msm/Makefile b/drivers/video/fbdev/msm/Makefile index 902e6ef7352e..42650a019398 100644 --- a/drivers/video/fbdev/msm/Makefile +++ b/drivers/video/fbdev/msm/Makefile @@ -25,8 +25,8 @@ mdss-dsi-objs := mdss_dsi.o mdss_dsi_host.o mdss_dsi_cmd.o mdss-dsi-objs += mdss_dsi_panel.o mdss-dsi-objs += msm_mdss_io_8974.o obj-$(CONFIG_FB_MSM_MDSS) += mdss-dsi.o -obj-$(CONFIG_FB_MSM_MDSS) += mdss_edp.o -obj-$(CONFIG_FB_MSM_MDSS) += mdss_edp_aux.o +obj-$(CONFIG_FB_MSM_MDSS_EDP_PANEL) += mdss_edp.o +obj-$(CONFIG_FB_MSM_MDSS_EDP_PANEL) += mdss_edp_aux.o obj-$(CONFIG_FB_MSM_MDSS) += mdss_io_util.o obj-$(CONFIG_FB_MSM_MDSS_HDMI_PANEL) += mdss_hdmi_tx.o |
