xorg-x11-server/N_Force-swcursor-for-KMS-drivers-without-hw-cursor-sup.patch
Stefan Dirsch 917646c26e - u_ad-hoc-fix-for-mmap-s-truncated-offset-parameter-on-.patch
* ad hoc fix for mmap's truncated offset parameter on 32bit
    (bnc#917385)
- N_Force-swcursor-for-KMS-drivers-without-hw-cursor-sup.patch
  * hwcursor still considered broken in cirrus KMS ((bnc#864141,
    bnc#866152)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=561
2015-02-16 16:06:30 +00:00

30 lines
1.0 KiB
Diff

From b09233d2145363e9a5598818e7731b5fc06babfd Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Mon, 16 Feb 2015 16:55:04 +0100
Subject: [PATCH] Force swcursor for KMS drivers without hw cursor support
hwcursor still considered broken on cirrus KMS (bnc#864141, bnc#866152)
---
hw/xfree86/drivers/modesetting/driver.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c
index d52517d..e1af7d4 100644
--- a/hw/xfree86/drivers/modesetting/driver.c
+++ b/hw/xfree86/drivers/modesetting/driver.c
@@ -764,9 +764,8 @@ PreInit(ScrnInfoPtr pScrn, int flags)
if (!xf86SetDefaultVisual(pScrn, -1))
return FALSE;
- if (xf86ReturnOptValBool(ms->Options, OPTION_SW_CURSOR, FALSE)) {
- ms->drmmode.sw_cursor = TRUE;
- }
+ /* hw cursor still considered broken on cirrus */
+ ms->drmmode.sw_cursor = xf86ReturnOptValBool(ms->Options, OPTION_SW_CURSOR, TRUE);
ms->cursor_width = 64;
ms->cursor_height = 64;
--
1.8.4.5