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:
Rajesh kv
2022-04-01 08:59:25 +05:30
förälder fdcfe00b0b
incheckning 03aad2fdf9
16 ändrade filer med 420 tillägg och 1 borttagningar

Visa fil

@@ -1179,7 +1179,8 @@ static int dsi_panel_parse_misc_host_config(struct dsi_host_common_cfg *host,
host->dma_sched_window = 0;
else
host->dma_sched_window = window;
rc = utils->read_u32(utils->data, "qcom,vert-padding-value", &host->vpadding);
host->line_insertion_enable = (rc || host->vpadding <= 0) ? false : true;
DSI_DEBUG("[%s] DMA scheduling parameters Line: %d Window: %d\n", name,
host->dma_sched_line, host->dma_sched_window);
return 0;