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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux