disp: msm: sde: add line insertion support for sspp
Add line insertion support for sspp, this is used to support display with external splitter. Line insertion logic checks the difference between screen logical height and physical height. If any difference is observed adds dummy and active lines on screen. Change-Id: Ieec322273df000a53fb39e05174c2d67c3c2da81 Signed-off-by: Rajesh kv <quic_kvrajesh@quicinc.com>
This commit is contained in:
@@ -641,6 +641,12 @@ int dsi_conn_get_mode_info(struct drm_connector *connector,
|
||||
mode_info->qsync_min_fps = dsi_mode->timing.qsync_min_fps;
|
||||
mode_info->wd_jitter = dsi_mode->priv_info->wd_jitter;
|
||||
|
||||
if (dsi_display->panel)
|
||||
mode_info->vpadding = dsi_display->panel->host_config.vpadding;
|
||||
if (mode_info->vpadding < drm_mode->vdisplay) {
|
||||
mode_info->vpadding = 0;
|
||||
dsi_display->panel->host_config.line_insertion_enable = 0;
|
||||
}
|
||||
memcpy(&mode_info->topology, &dsi_mode->priv_info->topology,
|
||||
sizeof(struct msm_display_topology));
|
||||
|
||||
|
Reference in New Issue
Block a user