From cdeb1949c820242f05a8897d3ddd0718f204dacf Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Thu, 15 Jul 2010 16:21:41 -0400 Subject: kms: don't call cursor helper if using software cursor Fix : https://bugzilla.redhat.com/show_bug.cgi?id=601713 https://bugzilla.redhat.com/show_bug.cgi?id=598358 Signed-off-by: Jerome Glisse --- src/drmmode_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 1366b36d..e2d516b4 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: -- cgit v1.2.3