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

Commit 90e249a7 authored by Jayaprakash Madisetty's avatar Jayaprakash Madisetty
Browse files

disp: msm: sde: update fence offset during cwb usecase in cmd mode



Add changes to avoid clone_mode encoder for detection of panel mode.
This allows cmd mode display to signal the release_fence right after
pp-done/wb-done interrupt and unblocks any input buffers waiting
on release_fence.

Change-Id: Id87e54f29c960e301d42d49d4763220e6e4cc6f5
Signed-off-by: default avatarJayaprakash Madisetty <jmadiset@codeaurora.org>
parent 4e9b8dc6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5498,7 +5498,7 @@ static void sde_crtc_install_properties(struct drm_crtc *crtc,
}

static int _sde_crtc_get_output_fence(struct drm_crtc *crtc,
	const struct drm_crtc_state *state, uint64_t *val)
	struct drm_crtc_state *state, uint64_t *val)
{
	struct sde_crtc *sde_crtc;
	struct sde_crtc_state *cstate;
@@ -5511,7 +5511,7 @@ static int _sde_crtc_get_output_fence(struct drm_crtc *crtc,

	drm_for_each_encoder_mask(encoder, crtc->dev, state->encoder_mask) {
		if (sde_encoder_check_curr_mode(encoder,
						MSM_DISPLAY_VIDEO_MODE))
			MSM_DISPLAY_VIDEO_MODE) && !sde_crtc_state_in_clone_mode(encoder, state))
			is_vid = true;
		if (is_vid)
			break;