summaryrefslogtreecommitdiff
path: root/src/uxa/intel_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uxa/intel_driver.c')
-rw-r--r--src/uxa/intel_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index 9e21742b..1952dcc4 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -877,6 +877,7 @@ I830ScreenInit(SCREEN_INIT_ARGS_DECL)
*/
intel->XvEnabled = TRUE;
+ if (!intel_init_initial_framebuffer(scrn))
return FALSE;
intel_batch_init(scrn);
@@ -936,6 +937,9 @@ I830ScreenInit(SCREEN_INIT_ARGS_DECL)
intel->dri3 = DRI_ACTIVE;
#endif
+ if (xf86ReturnOptValBool(intel->Options, OPTION_PRESENT, TRUE))
+ intel_present_screen_init(screen);
+
xf86SetBackingStore(screen);
xf86SetSilkenMouse(screen);
miDCInitialize(screen, xf86GetPointerScreenFuncs());