[Mesa-dev] [PATCH] meson: Add default DRI drivers for ARM/AArch64

Daniel Stone daniels at collabora.com
Tue Feb 27 17:26:04 UTC 2018


Hi Dylan,

On Tue, 2018-02-27 at 09:13 -0800, Dylan Baker wrote:
> Quoting Daniel Stone (2018-02-27 02:08:29)
> > --- a/meson.build
> > +++ b/meson.build
> > @@ -100,6 +100,8 @@ if _drivers == 'auto'
> >      # TODO: PPC, Sparc
> >      if ['x86', 'x86_64'].contains(host_machine.cpu_family())
> >        _drivers = 'i915,i965,r100,r200,nouveau'
> > +    elif ['arm', 'aarch64'].contains(host_machine.cpu_family())
> > +      _drivers = 'swrast'
> >      else
> >        error('Unknown architecture. Please pass -Ddri-drivers to set
> > driver options. Patches gladly accepted to fix this.')
> >      endif
> > -- 
> > 2.14.3
> > 
> 
> Does it really make sense to build classic swrast? Why not softpipe or
> llvmpipe?

Fair point; just setting this to empty would suffice.

> Also, what gallium drivers make sense? vc4, freedreno, and etnaviv? Or
> does
> nouveau make sense too?

I'd go with: the set which is already defined by default. ;) Currently
that's pl111,vc4,vc5,freedreno,etnaviv,imx,virgl,svga,swrast.

Cheers,
Daniel


More information about the mesa-dev mailing list