diff options
| author | Padmanabhan Komanduru <pkomandu@codeaurora.org> | 2017-02-07 16:51:53 +0530 |
|---|---|---|
| committer | Padmanabhan Komanduru <pkomandu@codeaurora.org> | 2017-02-09 13:34:19 +0530 |
| commit | 728e114f34f22182035751b9e4b11a054a525927 (patch) | |
| tree | e3e70fa4fd211f4fd62a1a3ad14276e2c5538603 /drivers/video/fbdev/msm | |
| parent | d1542a7257fe7064c12fd2d0955055c114a79415 (diff) | |
msm: mdss: fix Display Port boot-up with default resolution
The Display Port driver treats 480p as the default resolution
during driver probe for panel info initialization. At this point
of time, the EDID data of the sink will not be available and the bpp
of sink is set as 18 by default. If a sink is connected first time on
boot-up with 480p resolution, the panel information doesn't get
updated since current VIC and new VIC are the same. If the panel bpp
specified in EDID is not 18, display might fail to come up. Handle
this issue by updating the panel info every time when a DP connection
is established independent of whether VIC changed or not.
Change-Id: Icb8809986724ac3bad6df3721c9efd4815b32853
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev/msm')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dp.c b/drivers/video/fbdev/msm/mdss_dp.c index f3c36c5c6b5a..cd471f9a0046 100644 --- a/drivers/video/fbdev/msm/mdss_dp.c +++ b/drivers/video/fbdev/msm/mdss_dp.c @@ -1408,8 +1408,7 @@ int mdss_dp_on_hpd(struct mdss_dp_drv_pdata *dp_drv) if (ret) goto exit; - if (dp_drv->new_vic && (dp_drv->new_vic != dp_drv->vic)) - dp_init_panel_info(dp_drv, dp_drv->new_vic); + dp_init_panel_info(dp_drv, dp_drv->new_vic); dp_drv->link_rate = mdss_dp_gen_link_clk(dp_drv); if (!dp_drv->link_rate) { |
