xf86-video-intel: src/sna/sna_display.c

Chris Wilson ickle at kemper.freedesktop.org
Sun Apr 5 01:57:25 PDT 2015


 src/sna/sna_display.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 209d120dbf9b32d3b96a0f857e4f658f6a554c02
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Apr 5 09:56:08 2015 +0100

    sna: Initialise hwcursor to true
    
    So we don't disable the hwcursor when we have a rotation set but not all
    pipes activated.
    
    Reported-by: Chris Bainbridge <chris.bainbridge at gmail.com>
    References: https://bugs.freedesktop.org/show_bug.cgi?id=89903
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 0adb3f8..26660b2 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -2888,6 +2888,7 @@ sna_crtc_init__cursor(struct sna *sna, struct sna_crtc *crtc)
 	arg.handle = 0;
 
 	(void)drmIoctl(sna->kgem.fd, DRM_IOCTL_MODE_CURSOR, &arg);
+	crtc->hwcursor = true;
 }
 
 static bool


More information about the xorg-commit mailing list