On 26.06.2015 08:51, Dave Airlie wrote:
> From: Dave Airlie <[email protected]>
> 
> 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 <[email protected]>
> ---
>  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 <[email protected]>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to