diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-04-05 09:56:08 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-04-05 09:56:08 +0100 |
commit | 209d120dbf9b32d3b96a0f857e4f658f6a554c02 (patch) | |
tree | 35f55d97cda74a7b8f73f8aa435458084226f092 /src/sna | |
parent | 226a58bc592d4ed305b7ad0e460f1ee2548e0ddf (diff) |
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@gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=89903
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r-- | src/sna/sna_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index 0adb3f85..26660b26 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 |