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

Commit c407b8b7 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: sde: add trace points for modeset"

parents f5cf95ef cef4f545
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -297,6 +297,7 @@ msm_crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state)
		DRM_DEBUG_ATOMIC("modeset on [ENCODER:%d:%s]\n",
		DRM_DEBUG_ATOMIC("modeset on [ENCODER:%d:%s]\n",
				 encoder->base.id, encoder->name);
				 encoder->base.id, encoder->name);


		SDE_ATRACE_BEGIN("msm_set_mode");
		/*
		/*
		 * Each encoder has at most one connector (since we always steal
		 * Each encoder has at most one connector (since we always steal
		 * it away), so we won't call mode_set hooks twice.
		 * it away), so we won't call mode_set hooks twice.
@@ -305,6 +306,7 @@ msm_crtc_set_mode(struct drm_device *dev, struct drm_atomic_state *old_state)
			funcs->mode_set(encoder, mode, adjusted_mode);
			funcs->mode_set(encoder, mode, adjusted_mode);


		drm_bridge_mode_set(encoder->bridge, mode, adjusted_mode);
		drm_bridge_mode_set(encoder->bridge, mode, adjusted_mode);
		SDE_ATRACE_END("msm_set_mode");
	}
	}
}
}