[Mesa-dev] [PATCH] meson: Add default DRI drivers for ARM/AArch64
Dylan Baker
dylan at pnwbakers.com
Tue Feb 27 17:44:18 UTC 2018
Quoting Daniel Stone (2018-02-27 09:26:04)
> 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
I didn't realize we'd done that. In that case definitely don't set swrast in
both, that will cause meson to error since you can't install both soft/llvmpipe
and classic swrast at the same time.
Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180227/d6e216d2/attachment.sig>
More information about the mesa-dev
mailing list