diff options
author | Dave Airlie <airlied@redhat.com> | 2015-06-26 09:20:13 +1000 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-10-19 00:14:31 -0700 |
commit | f57824d316aaf7cece1a99f1bd20220ab84125c9 (patch) | |
tree | 65aab684af3a2523f41a06ee3f9b77ace66603ec | |
parent | 01c1420e1daea0807cc7fcd415243a861efebe17 (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>
(cherry picked from commit 4342369e843ca2c6ca0a8c42475893cffb077a54)
-rw-r--r-- | hw/xfree86/drivers/modesetting/driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c index 3486e7573..ac3f0b7ec 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; |