From 4342369e843ca2c6ca0a8c42475893cffb077a54 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 26 Jun 2015 09:20:13 +1000 Subject: [PATCH] modesetting: don't try and load dri2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Eric Anholt Signed-off-by: Dave Airlie --- hw/xfree86/drivers/modesetting/driver.c | 1 - 1 file changed, 1 deletion(-) 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;