summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-06-26 09:20:13 +1000
committerDave Airlie <airlied@redhat.com>2015-06-30 13:44:09 +1000
commit4342369e843ca2c6ca0a8c42475893cffb077a54 (patch)
treea45ea1115c73539c623e4dd0ab8f667e0968ce4d
parentedec6394a47be590f3133f6a90186356afd00829 (diff)
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>
-rw-r--r--hw/xfree86/drivers/modesetting/driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c
index f421668c9..ae562a1e1 100644
--- a/hw/xfree86/drivers/modesetting/driver.c
+++ b/hw/xfree86/drivers/modesetting/driver.c
@@ -820,7 +820,6 @@ PreInit(ScrnInfoPtr pScrn, int flags)
try_enable_glamor(pScrn);
if (ms->drmmode.glamor) {
- xf86LoadSubModule(pScrn, "dri2");
} else {
Bool prefer_shadow = TRUE;