diff mbox

drm/i915: Fix intel_crtc typo in intel_pre_plane_update()

Message ID 1435567529-711-1-git-send-email-patrik.jakobsson@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Patrik Jakobsson June 29, 2015, 8:45 a.m. UTC
Fixes broken build introduced by:

commit 81636fdb79346e415e4726f2b6d439ccff9af1c6
Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
Date:   Fri Jun 26 13:55:54 2015 -0700

    drm/i915: Fix IPS related flicker

Signed-off-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index f87704a..eb665d7 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -4766,8 +4766,8 @@  static void intel_pre_plane_update(struct intel_crtc *crtc)
 		mutex_unlock(&dev->struct_mutex);
 	}
 
-	if (intel_crtc->atomic.disable_ips)
-		hsw_disable_ips(intel_crtc);
+	if (crtc->atomic.disable_ips)
+		hsw_disable_ips(crtc);
 
 	if (atomic->pre_disable_primary)
 		intel_pre_disable_primary(&crtc->base);