[PATCH 15/16] modesetting: don't try and load dri2
Michel Dänzer
michel at daenzer.net
Sat Jun 27 01:34:50 PDT 2015
On 26.06.2015 08:51, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> 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.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
> 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 f421668..ae562a1 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;
>
>
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the xorg-devel
mailing list