disp: msm: sde: update RSC when QSYNC property is updated
RSC is updated during encoder enable/disable/modeset or power- collapse/wakeup. The RSC vote for primary display will change depending on QSYNC status which might change without modeset or power-collapse. Add a call to update the primary display's vote when the QSYNC property is updated. Change-Id: I664754e4aae689ef2db5b1ef7b8b55a4c5fad3be Signed-off-by: Steve Cohen <cohens@codeaurora.org>
This commit is contained in:
@@ -4060,6 +4060,10 @@ int sde_encoder_prepare_for_kickoff(struct drm_encoder *drm_enc,
|
|||||||
sde_connector_is_qsync_updated(
|
sde_connector_is_qsync_updated(
|
||||||
sde_enc->cur_master->connector)) {
|
sde_enc->cur_master->connector)) {
|
||||||
_helper_flush_qsync(phys);
|
_helper_flush_qsync(phys);
|
||||||
|
|
||||||
|
if (is_cmd_mode)
|
||||||
|
_sde_encoder_update_rsc_client(drm_enc,
|
||||||
|
true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user