summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-02-22 11:45:43 -0800
committerKeith Packard <keithp@neko.keithp.com>2007-02-22 11:45:43 -0800
commit681966ce6548c6f47b087eb7e369674b7ddbaade (patch)
tree28f6ebd781468fd0af77d23550347ce48fdef7d2
parent3bce8bf0e95e5842399959a5d6f6413e96f03adb (diff)
Disable unused functions after configuring the remaining resources.
This eliminates an unsightly flash of the hardware cursor during X server startup.
-rw-r--r--src/i830_driver.c4
1 files 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);