From 681966ce6548c6f47b087eb7e369674b7ddbaade Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 22 Feb 2007 11:45:43 -0800 Subject: Disable unused functions after configuring the remaining resources. This eliminates an unsightly flash of the hardware cursor during X server startup. --- src/i830_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i830_driver.c b/src/i830_driver.c index e46c0572..bb803362 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -3049,8 +3049,6 @@ I830EnterVT(int scrnIndex, int flags) ResetState(pScrn, FALSE); SetHWOperatingState(pScrn); - xf86DisableUnusedFunctions(pScrn); - for (i = 0; i < xf86_config->num_crtc; i++) { xf86CrtcPtr crtc = xf86_config->crtc[i]; @@ -3070,6 +3068,8 @@ I830EnterVT(int scrnIndex, int flags) return FALSE; } + xf86DisableUnusedFunctions(pScrn); + i830DumpRegs (pScrn); i830DescribeOutputConfiguration(pScrn); -- cgit v1.2.3