[PATCH xserver 4/5] modesetting: Remove xf86_reload_cursors call
Michel Dänzer
michel at daenzer.net
Wed Dec 23 23:57:28 PST 2015
From: Michel Dänzer <michel.daenzer at amd.com>
It was already disabled, but it's definitely no longer needed now that
xf86CursorResetCursor is getting called for each CRTC configuration
change.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
Maybe xf86_reload_cursors could be removed altogether now?
hw/xfree86/drivers/modesetting/drmmode_display.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
index 0d34ca1..25f8031 100644
--- a/hw/xfree86/drivers/modesetting/drmmode_display.c
+++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
@@ -451,11 +451,6 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
}
}
-#if 0
- if (pScrn->pScreen &&
- !xf86ReturnOptValBool(info->Options, OPTION_SW_CURSOR, FALSE))
- xf86_reload_cursors(pScrn->pScreen);
-#endif
done:
if (!ret) {
crtc->x = saved_x;
--
2.6.2
More information about the xorg-devel
mailing list