summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@ubuntu.com>2014-10-22 13:16:33 +0200
committerMaarten Lankhorst <maarten.lankhorst@ubuntu.com>2014-10-22 13:16:33 +0200
commit217f6577afe44b10f7f8e066eaf55419fb0f5ee1 (patch)
tree3519ebe8fe3353dea623bf9ad1288a9a85925c99
parent241e7289f25a342a457952b9b0e539c2f0b81d99 (diff)
move down call to nouveau_present_init until after fb init.
-rw-r--r--src/nv_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 6bca141..8c33e0e 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -1354,7 +1354,6 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL)
nouveau_copy_init(pScreen);
nouveau_sync_init(pScreen);
nouveau_dri2_init(pScreen);
- nouveau_present_init(pScreen);
/* Allocate and map memory areas we need */
if (!NVMapMem(pScrn))
@@ -1462,6 +1461,7 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL)
xf86SetBlackWhitePixels(pScreen);
+ nouveau_present_init(pScreen);
if (pNv->AccelMethod == GLAMOR) {
if (!nouveau_glamor_init(pScreen))
return FALSE;