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

Commit c983b081 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: reduce bandwidth at commit done"

parents eb249e5e 12755010
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2511,9 +2511,6 @@ static void sde_crtc_frame_event_work(struct kthread_work *work)
							SDE_EVTLOG_FUNC_CASE3);
		}

		if (fevent->event & SDE_ENCODER_FRAME_EVENT_DONE)
			sde_core_perf_crtc_update(crtc, 0, false);

		if (fevent->event & (SDE_ENCODER_FRAME_EVENT_DONE
					| SDE_ENCODER_FRAME_EVENT_ERROR))
			frame_done = true;
@@ -2597,6 +2594,8 @@ void sde_crtc_complete_commit(struct drm_crtc *crtc,
	SDE_EVT32_VERBOSE(DRMID(crtc));
	smmu_state = &sde_crtc->smmu_state;

	sde_core_perf_crtc_update(crtc, 0, false);

	/* complete secure transitions if any */
	if (smmu_state->transition_type == POST_COMMIT)
		sde_crtc_secure_ctrl(crtc, true);