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

Commit a4078bda authored by Samantha Tran's avatar Samantha Tran Committed by Gerrit - the friendly Code Review server
Browse files

Revert "drm/msm: Add .commit() callback to msm_kms functions"



This reverts commit 2b7ac1a8.

This reversion is happening as a result of disabling the
disp/dpu directory as it will not be used in 4.19 downstream
display driver and these changes are made in a common layer
which affects the downstream driver functionalities. Separate
patches are submitted to revert the upstream driver and
introduce the downstream version of the display driver.

Change-Id: I8eab96d532894ad63e9032140b5958e5704a1429
Signed-off-by: default avatarSamantha Tran <samtran@codeaurora.org>
parent 2108e8e7
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -71,11 +71,6 @@ void msm_atomic_commit_tail(struct drm_atomic_state *state)

	drm_atomic_helper_commit_modeset_enables(dev, state);

	if (kms->funcs->commit) {
		DRM_DEBUG_ATOMIC("triggering commit\n");
		kms->funcs->commit(kms, state);
	}

	msm_atomic_wait_for_commit_done(dev, state);

	kms->funcs->complete_commit(kms, state);
+0 −1
Original line number Diff line number Diff line
@@ -42,7 +42,6 @@ struct msm_kms_funcs {
	void (*disable_vblank)(struct msm_kms *kms, struct drm_crtc *crtc);
	/* modeset, bracketing atomic_commit(): */
	void (*prepare_commit)(struct msm_kms *kms, struct drm_atomic_state *state);
	void (*commit)(struct msm_kms *kms, struct drm_atomic_state *state);
	void (*complete_commit)(struct msm_kms *kms, struct drm_atomic_state *state);
	/* functions to wait for atomic commit completed on each CRTC */
	void (*wait_for_crtc_commit_done)(struct msm_kms *kms,