2015-02-16 17:06:30 +01:00
|
|
|
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)
|
2015-11-10 15:31:30 +01:00
|
|
|
--- xorg-server-1.18.0.orig/hw/xfree86/drivers/modesetting/driver.c 2015-11-10 14:24:35.978379000 +0100
|
|
|
|
+++ xorg-server-1.18.0/hw/xfree86/drivers/modesetting/driver.c 2015-11-10 14:58:55.846459000 +0100
|
|
|
|
@@ -855,9 +855,8 @@ PreInit(ScrnInfoPtr pScrn, int flags)
|
2015-02-16 17:06:30 +01:00
|
|
|
if (!xf86SetDefaultVisual(pScrn, -1))
|
|
|
|
return FALSE;
|
|
|
|
|
2015-11-10 15:31:30 +01:00
|
|
|
- if (xf86ReturnOptValBool(ms->drmmode.Options, OPTION_SW_CURSOR, FALSE)) {
|
2015-02-16 17:06:30 +01:00
|
|
|
- ms->drmmode.sw_cursor = TRUE;
|
|
|
|
- }
|
|
|
|
+ /* hw cursor still considered broken on cirrus */
|
2015-11-10 15:31:30 +01:00
|
|
|
+ ms->drmmode.sw_cursor = TRUE;
|
2015-02-16 17:06:30 +01:00
|
|
|
|
|
|
|
ms->cursor_width = 64;
|
|
|
|
ms->cursor_height = 64;
|