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

xserver-xorg-video-intel: Changes to 'ubuntu-utopic'



 debian/changelog                                           |    6 +++
 debian/patches/series                                      |    1 
 debian/patches/sna-clear-cursor-image-after-rotation.patch |   24 +++++++++++++
 3 files changed, 31 insertions(+)

New commits:
commit 241a672570698fb69504334103c36c567ae6c54c
Author: Robert Hooker <sarvatt@ubuntu.com>
Date:   Thu May 28 17:57:04 2015 -0400

    Add a patch to fix lp1376760, double cursor on rotation

diff --git a/debian/changelog b/debian/changelog
index 426edc8..8ba312b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
 xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.5) UNRELEASED; urgency=medium
 
+  [ Timo Aaltonen ]
   * sna-gen8-clear-instancing-enabled-bit-between-batches.diff: Fix
     corruptions and missing letters on 2nd head. (LP: #1432194)
 
+  [ Robert Hooker ]
+  * sna-clear-cursor-image-after-rotation.patch: Fix a double cursor problem after
+    rotating the screen (LP: #1376760) (LP: #1443345) backport from
+    a88795c641 upstream.
+
  -- Timo Aaltonen <tjaalton@debian.org>  Mon, 11 May 2015 13:41:20 +0300
 
 xserver-xorg-video-intel (2:2.99.914-1~exp1ubuntu4.4) utopic; urgency=medium
diff --git a/debian/patches/series b/debian/patches/series
index 83950b0..557bed1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -15,3 +15,4 @@ bdw-annotate-more-64bit-pointer-locations.diff
 bdw-clamp-urb-allocations-for-gt3.diff
 fix-sna-trapezoids.patch
 sna-gen8-clear-instancing-enabled-bit-between-batches.diff
+sna-clear-cursor-image-after-rotation.patch
diff --git a/debian/patches/sna-clear-cursor-image-after-rotation.patch b/debian/patches/sna-clear-cursor-image-after-rotation.patch
new file mode 100644
index 0000000..b71b118
--- /dev/null
+++ b/debian/patches/sna-clear-cursor-image-after-rotation.patch
@@ -0,0 +1,24 @@
+From a88795c64123e4084044451d8861838ea904abd9 Mon Sep 17 00:00:00 2001
+From: Chris Wilson <chris@chris-wilson.co.uk>
+Date: Tue, 29 Jul 2014 21:11:09 +0100
+Subject: sna: Clear cursor image after rotation
+
+Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81886
+Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
+
+diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
+index 8964e77..eed68d3 100644
+--- a/src/sna/sna_display.c
++++ b/src/sna/sna_display.c
+@@ -4294,7 +4294,7 @@ static struct sna_cursor *__sna_get_cursor(struct sna *sna, xf86CrtcPtr crtc)
+ 		image = sna->cursor.scratch;
+ 		cursor->last_width = cursor->last_height = size;
+ 	}
+-	if (width < cursor->last_width || height < cursor->last_height)
++	if (width < cursor->last_width || height < cursor->last_height || rotation != cursor->rotation)
+ 		memset(image, 0, 4*size*size);
+ 	if (rotation == RR_Rotate_0) {
+ 		if (argb == NULL) {
+-- 
+cgit v0.10.2
+


Reply to: