disp: msm: add support for seamless dsc switch
This change adds logic to determine dsc switch based on the connector property "CONNECTOR_PROP_DSC_MODE" and performs seamless DSC switch if there is any change in DSC configuration. The connector property is populated in msm_sub_mode based on which suitable mode is selected. Change-Id: Ifc4931f16dfb814781bc1d72b103e09103e6bfee Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
ffc7cdbe08
commit
7e03fb61fd
@@ -936,7 +936,8 @@ void sde_encoder_dce_disable(struct sde_encoder_virt *sde_enc)
|
||||
|
||||
comp_type = sde_enc->mode_info.comp_info.comp_type;
|
||||
|
||||
if (comp_type == MSM_DISPLAY_COMPRESSION_DSC)
|
||||
if (comp_type == MSM_DISPLAY_COMPRESSION_DSC ||
|
||||
sde_encoder_needs_dsc_disable(&sde_enc->base))
|
||||
_dce_dsc_disable(sde_enc);
|
||||
else if (comp_type == MSM_DISPLAY_COMPRESSION_VDC)
|
||||
_dce_vdc_disable(sde_enc);
|
||||
|
Reference in New Issue
Block a user