modesetting: Initialize present extension despite glamor is disabled
Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@synaptics.com>
(cherry picked from commit d03c0de77b
)
This commit is contained in:
parent
4e11bd390a
commit
464cbee1c6
|
@ -1747,10 +1747,6 @@ ScreenInit(ScreenPtr pScreen, int argc, char **argv)
|
|||
"Failed to initialize the DRI2 extension.\n");
|
||||
}
|
||||
|
||||
if (!(ms->drmmode.present_enable = ms_present_screen_init(pScreen))) {
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
||||
"Failed to initialize the Present extension.\n");
|
||||
}
|
||||
/* enable reverse prime if we are a GPU screen, and accelerated, and not
|
||||
* i915, evdi or udl. i915 is happy scanning out from sysmem.
|
||||
* evdi and udl are virtual drivers scanning out from sysmem
|
||||
|
@ -1781,6 +1777,11 @@ ScreenInit(ScreenPtr pScreen, int argc, char **argv)
|
|||
}
|
||||
}
|
||||
#endif
|
||||
if (!(ms->drmmode.present_enable = ms_present_screen_init(pScreen))) {
|
||||
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
||||
"Failed to initialize the Present extension.\n");
|
||||
}
|
||||
|
||||
|
||||
pScrn->vtSema = TRUE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user