Merge "disp: msm: dp: issue peripheral flush on every DP commit"

This commit is contained in:
qctecmdr
2022-11-13 09:06:52 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -3844,16 +3844,10 @@ static inline void _sde_encoder_trigger_flush(struct drm_encoder *drm_enc,
ctl->ops.update_bitmask) {
/* perform peripheral flush on every frame update for dp dsc */
if (phys->comp_type == MSM_DISPLAY_COMPRESSION_DSC &&
phys->comp_ratio && c_conn->ops.update_pps) {
c_conn->ops.update_pps(phys->connector, NULL,
c_conn->display);
ctl->ops.update_bitmask(ctl, SDE_HW_FLUSH_PERIPH,
phys->hw_intf->idx, 1);
}
phys->comp_ratio && c_conn->ops.update_pps)
c_conn->ops.update_pps(phys->connector, NULL, c_conn->display);
if (sde_enc->dynamic_hdr_updated)
ctl->ops.update_bitmask(ctl, SDE_HW_FLUSH_PERIPH,
phys->hw_intf->idx, 1);
ctl->ops.update_bitmask(ctl, SDE_HW_FLUSH_PERIPH, phys->hw_intf->idx, 1);
}
if ((extra_flush && extra_flush->pending_flush_mask)