From a89e5da1c92cd24640957ace6b7395ebef811e3d Mon Sep 17 00:00:00 2001 From: Sudarsan Ramesh Date: Mon, 29 Mar 2021 17:14:43 -0400 Subject: [PATCH] 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 --- msm/dp/dp_panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/msm/dp/dp_panel.c b/msm/dp/dp_panel.c index d505dd2c07..895d1774c2 100644 --- a/msm/dp/dp_panel.c +++ b/msm/dp/dp_panel.c @@ -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;