disp: msm: sde: add allowed_dsc_reservation_switch capability
This change adds allowed_dsc_reservation_switch to determine if dsc seamless switch is supported for DP. Also, based on the flag, it determines and populates the required number of available resources for DP. Change-Id: I9cd7219a50d352369c5bc8386ce7dc25c30b80b6 Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
b89a3f739a
当前提交
3789258773
@@ -3025,6 +3025,14 @@ static int dsi_panel_parse_topology(
|
||||
goto parse_fail;
|
||||
}
|
||||
|
||||
if (!(priv_info->dsc_enabled || priv_info->vdc_enabled) !=
|
||||
!topology[top_sel].num_enc) {
|
||||
DSI_ERR("topology and compression info mismatch dsc:%d vdc:%d num_enc:%d\n",
|
||||
priv_info->dsc_enabled, priv_info->vdc_enabled,
|
||||
topology[top_sel].num_enc);
|
||||
goto parse_fail;
|
||||
}
|
||||
|
||||
if (priv_info->dsc_enabled)
|
||||
topology[top_sel].comp_type = MSM_DISPLAY_COMPRESSION_DSC;
|
||||
else if (priv_info->vdc_enabled)
|
||||
|
在新工单中引用
屏蔽一个用户