disp: msm: update rm topology mapping tables
This change updates resource topology mapping tables and includes logic to compare compression types for dsc vs vdc. Change-Id: I1735edeb07aec8ed0065f84ac0824c58158412f3 Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
62cb53cc59
commit
218244e58b
@@ -512,14 +512,14 @@ int dsi_conn_get_mode_info(struct drm_connector *connector,
|
||||
memcpy(&mode_info->topology, &dsi_mode.priv_info->topology,
|
||||
sizeof(struct msm_display_topology));
|
||||
|
||||
mode_info->comp_info.comp_type = MSM_DISPLAY_COMPRESSION_NONE;
|
||||
|
||||
if (dsi_mode.priv_info->dsc_enabled) {
|
||||
mode_info->comp_info.comp_type = MSM_DISPLAY_COMPRESSION_DSC;
|
||||
mode_info->topology.comp_type = MSM_DISPLAY_COMPRESSION_DSC;
|
||||
memcpy(&mode_info->comp_info.dsc_info, &dsi_mode.priv_info->dsc,
|
||||
sizeof(dsi_mode.priv_info->dsc));
|
||||
} else if (dsi_mode.priv_info->vdc_enabled) {
|
||||
mode_info->comp_info.comp_type = MSM_DISPLAY_COMPRESSION_VDC;
|
||||
mode_info->topology.comp_type = MSM_DISPLAY_COMPRESSION_VDC;
|
||||
memcpy(&mode_info->comp_info.vdc_info, &dsi_mode.priv_info->vdc,
|
||||
sizeof(dsi_mode.priv_info->vdc));
|
||||
}
|
||||
|
Reference in New Issue
Block a user