|
@@ -3864,16 +3864,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)
|