modesetting: don't try and load dri2
Since we are shipped with the server and the server has it built-in, don't bother trying to load it. Don't remove or invert the if statement on purpose as a later patch adds stuff in here. Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
edec6394a4
commit
4342369e84
|
@ -820,7 +820,6 @@ PreInit(ScrnInfoPtr pScrn, int flags)
|
||||||
try_enable_glamor(pScrn);
|
try_enable_glamor(pScrn);
|
||||||
|
|
||||||
if (ms->drmmode.glamor) {
|
if (ms->drmmode.glamor) {
|
||||||
xf86LoadSubModule(pScrn, "dri2");
|
|
||||||
} else {
|
} else {
|
||||||
Bool prefer_shadow = TRUE;
|
Bool prefer_shadow = TRUE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user