disp: msm: dp: copy sink_dsc_caps object in mst connector install

In an MST DSC setup, the sink_dsc_caps object is read into the base
panel. In the process of creating different connectors and panel
objects, the sink_dsc_caps panel object is not copied correctly to
the new panel objects. This causes an error where a fallback DSC
version is used.

This change correctly copies the sink_dsc_caps object over to the
panel for the MST connector from the base connector.

Change-Id: I66af823bbe08c8b1fbd68d628e759416162e9d53
Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
This commit is contained in:
Sudarsan Ramesh
2021-03-29 17:14:43 -04:00
parent 19e9831a45
commit a89e5da1c9

View File

@@ -2994,6 +2994,7 @@ struct dp_panel *dp_panel_get(struct dp_panel_in *in)
dp_panel->fec_en = in->base_panel->fec_en;
dp_panel->dsc_en = in->base_panel->dsc_en;
dp_panel->fec_overhead_fp = in->base_panel->fec_overhead_fp;
dp_panel->sink_dsc_caps = in->base_panel->sink_dsc_caps;
}
dp_panel->init = dp_panel_init_panel_info;