Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59b8068b authored by Steve Cohen's avatar Steve Cohen Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSteve Cohen <cohens@codeaurora.org>
parent 2bdc3a1a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4835,6 +4835,10 @@ int sde_encoder_prepare_for_kickoff(struct drm_encoder *drm_enc,
					sde_connector_is_qsync_updated(
					sde_enc->cur_master->connector)) {
				_helper_flush_qsync(phys);

				if (is_cmd_mode)
					_sde_encoder_update_rsc_client(drm_enc,
							true);
			}
		}
	}