[PATCH 58/81] drm/i915: Fix plane src rectangle dirty check

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Wed Dec 12 08:16:25 PST 2012


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 drivers/gpu/drm/i915/intel_atomic.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_atomic.c b/drivers/gpu/drm/i915/intel_atomic.c
index c4cec40..bfc0563 100644
--- a/drivers/gpu/drm/i915/intel_atomic.c
+++ b/drivers/gpu/drm/i915/intel_atomic.c
@@ -555,9 +555,9 @@ static void plane_compute_dirty(struct intel_atomic_state *s,
 		return;
 
 	if (plane->src_x != state->old.src_x ||
-	    plane->src_y != state->old.src_x ||
-	    plane->src_w != state->old.src_x ||
-	    plane->src_h != state->old.src_x ||
+	    plane->src_y != state->old.src_y ||
+	    plane->src_w != state->old.src_w ||
+	    plane->src_h != state->old.src_h ||
 	    plane->crtc_x != state->old.crtc_x ||
 	    plane->crtc_y != state->old.crtc_y ||
 	    plane->crtc_w != state->old.crtc_w ||
-- 
1.7.8.6



More information about the dri-devel mailing list