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

Commit 307e4498 authored by Maarten Lankhorst's avatar Maarten Lankhorst
Browse files

drm/i915: Remove vblank wait from hsw_enable_ips, v2.



intel_post_plane_update did an extra vblank wait that's no longer needed when enabling ips.

Changes since v1:
- Add comment explaining why vblank wait is performed. (Paulo)

Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/56F29B28.5070804@linux.intel.com
parent 321d178e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -4412,8 +4412,11 @@ void hsw_enable_ips(struct intel_crtc *crtc)
	if (!crtc->config->ips_enabled)
		return;

	/* We can only enable IPS after we enable a plane and wait for a vblank */
	intel_wait_for_vblank(dev, crtc->pipe);
	/*
	 * We can only enable IPS after we enable a plane and wait for a vblank
	 * This function is called from post_plane_update, which is run after
	 * a vblank wait.
	 */

	assert_plane_enabled(dev_priv, crtc->plane);
	if (IS_BROADWELL(dev)) {