[PATCH] kms: don't call cursor helper if using software cursor

glisse at freedesktop.org glisse at freedesktop.org
Thu Jul 15 13:24:05 PDT 2010


From: Jerome Glisse <jglisse at redhat.com>

Fix :
https://bugzilla.redhat.com/show_bug.cgi?id=601713
https://bugzilla.redhat.com/show_bug.cgi?id=598358

Signed-off-by: Jerome Glisse <jglisse at redhat.com>
---
 src/drmmode_display.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 1366b36..e2d516b 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -347,7 +347,8 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
 		}
 	}
 
-	if (pScrn->pScreen)
+	if (pScrn->pScreen &&
+		!xf86ReturnOptValBool(info->Options, OPTION_SW_CURSOR, FALSE))
 		xf86_reload_cursors(pScrn->pScreen);
 
 done:
-- 
1.7.1.1



More information about the xorg-driver-ati mailing list