diff options
| author | Ajay Singh Parmar <aparmar@codeaurora.org> | 2015-03-23 23:23:13 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:47:54 -0700 |
| commit | 61c19bb151cbe40b31301ec7618c462b38f05b7b (patch) | |
| tree | 98fd64eb7f2f4cfc2845b641388a1103d39fdd75 | |
| parent | d83084cfb78d7e0bf83844b442fbed182121bcf0 (diff) | |
msm: mdss: add support for pluggable interface
Add pluggable information into panel info to let other modules
know that this interface supports HPD (Hot Plug Detect) and can
be dynamically connected or disconnected.
Change-Id: I8322b60c337cd2f46a4a500ad1a6083875f6206b
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_fb.c | 5 | ||||
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_hdmi_tx.c | 1 | ||||
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_panel.h | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_fb.c b/drivers/video/fbdev/msm/mdss_fb.c index e70704519d44..91d302f85f2a 100644 --- a/drivers/video/fbdev/msm/mdss_fb.c +++ b/drivers/video/fbdev/msm/mdss_fb.c @@ -541,13 +541,14 @@ static ssize_t mdss_fb_get_panel_info(struct device *dev, "pu_en=%d\nxstart=%d\nwalign=%d\nystart=%d\nhalign=%d\n" "min_w=%d\nmin_h=%d\nroi_merge=%d\ndyn_fps_en=%d\n" "min_fps=%d\nmax_fps=%d\npanel_name=%s\n" - "primary_panel=%d\n", + "primary_panel=%d\nis_pluggable=%d\n", pinfo->partial_update_enabled, pinfo->xstart_pix_align, pinfo->width_pix_align, pinfo->ystart_pix_align, pinfo->height_pix_align, pinfo->min_width, pinfo->min_height, pinfo->partial_update_roi_merge, pinfo->dynamic_fps, pinfo->min_fps, pinfo->max_fps, - pinfo->panel_name, pinfo->is_prim_panel); + pinfo->panel_name, pinfo->is_prim_panel, + pinfo->is_pluggable); return ret; } diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c index e5de43a3c55b..466a4f0a5ea2 100644 --- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c +++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c @@ -1593,6 +1593,7 @@ static int hdmi_tx_init_panel_info(struct hdmi_tx_ctrl *hdmi_ctrl) pinfo->lcdc.hsync_skew = 0; pinfo->cont_splash_enabled = hdmi_ctrl->pdata.cont_splash_enabled; + pinfo->is_pluggable = true; return 0; } /* hdmi_tx_init_panel_info */ diff --git a/drivers/video/fbdev/msm/mdss_panel.h b/drivers/video/fbdev/msm/mdss_panel.h index 3bd233f76b32..c73042efa362 100644 --- a/drivers/video/fbdev/msm/mdss_panel.h +++ b/drivers/video/fbdev/msm/mdss_panel.h @@ -613,6 +613,7 @@ struct mdss_panel_info { u32 lm_widths[2]; bool is_prim_panel; + bool is_pluggable; /* refer sim_panel_modes enum for different modes */ u8 sim_panel_mode; |
