disp: msm: add VDC topology related changes
Add support to configure the DPU pipeline to support VDC-m topologies. Change-Id: Ib8ce9a0eaeaa838759fb09cb2ee164d4765e4989 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
d88b5b5c67
commit
c4f5050e13
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
|
||||
@@ -503,6 +503,12 @@ int dsi_conn_get_mode_info(struct drm_connector *connector,
|
||||
sizeof(dsi_mode.priv_info->dsc));
|
||||
mode_info->comp_info.comp_ratio =
|
||||
MSM_DISPLAY_COMPRESSION_RATIO_3_TO_1;
|
||||
} else if (dsi_mode.priv_info->vdc_enabled) {
|
||||
mode_info->comp_info.comp_type = MSM_DISPLAY_COMPRESSION_VDC;
|
||||
memcpy(&mode_info->comp_info.vdc_info, &dsi_mode.priv_info->vdc,
|
||||
sizeof(dsi_mode.priv_info->vdc));
|
||||
mode_info->comp_info.comp_ratio =
|
||||
MSM_DISPLAY_COMPRESSION_RATIO_4_TO_1;
|
||||
}
|
||||
|
||||
if (dsi_mode.priv_info->roi_caps.enabled) {
|
||||
|
Reference in New Issue
Block a user