disp: msm: sde: update encoder atomic check during qsync usecase
During wb/cwb usecases, connectors_changed flag will be set and needs modeset condition will be set to true. This change updates qsync concurrency check with modeset to fail atomic check only if there is seamless poms, dms or dynamic clock scenario. Change-Id: I1183f25cd45310fbd1d0b5ce67ee3d5dd3660fe0 Signed-off-by: Yashwanth <yvulapu@codeaurora.org>
This commit is contained in:
@@ -1006,8 +1006,11 @@ static int sde_encoder_virt_atomic_check(
|
||||
CONNECTOR_PROP_QSYNC_MODE);
|
||||
|
||||
if (has_modeset && qsync_dirty &&
|
||||
!msm_is_mode_seamless_vrr(adj_mode)) {
|
||||
SDE_ERROR("invalid qsync update during modeset\n");
|
||||
(msm_is_mode_seamless_poms(adj_mode) ||
|
||||
msm_is_mode_seamless_dms(adj_mode) ||
|
||||
msm_is_mode_seamless_dyn_clk(adj_mode))) {
|
||||
SDE_ERROR("invalid qsync update during modeset priv flag:%x\n",
|
||||
adj_mode->private_flags);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user