disp: msm: populate submode blob information

Mode information apart from the fields in
drm_mode_modeinfo that can trigger a modeset like
dsc-nondsc, video-cmd are defined in sub mode.
For each mode in connector->modes there can be
multiple submodes.

Change-Id: Ib8697d3fa4ea5261d9ac4943b1a4149e22c4da2f
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
This commit is contained in:
Raviteja Tamatam
2021-04-28 11:28:19 +05:30
committad av Gerrit - the friendly Code Review server
förälder 7e03fb61fd
incheckning b89a3f739a
8 ändrade filer med 129 tillägg och 24 borttagningar

Visa fil

@@ -3025,6 +3025,11 @@ static int dsi_panel_parse_topology(
goto parse_fail;
}
if (priv_info->dsc_enabled)
topology[top_sel].comp_type = MSM_DISPLAY_COMPRESSION_DSC;
else if (priv_info->vdc_enabled)
topology[top_sel].comp_type = MSM_DISPLAY_COMPRESSION_VDC;
DSI_INFO("default topology: lm: %d comp_enc:%d intf: %d\n",
topology[top_sel].num_lm,
topology[top_sel].num_enc,