[Intel-gfx] [PATCH] drm/i915: Fix intel_crtc typo in intel_pre_plane_update()

Patrik Jakobsson patrik.jakobsson at linux.intel.com
Mon Jun 29 01:45:29 PDT 2015


Fixes broken build introduced by:

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

    drm/i915: Fix IPS related flicker

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

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);
-- 
2.1.4



More information about the Intel-gfx mailing list