[OE-core] [PATCH 2/3] mesa: Replace dri-native with dri for native and nativesdk classes

Richard Purdie richard.purdie at linuxfoundation.org
Mon Feb 18 18:12:37 UTC 2019


On Mon, 2019-02-18 at 15:58 +0100, Alexander Kanavin wrote:
> On Mon, 18 Feb 2019 at 15:18, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> 
> > I think you need to leave DRIDRIVERS = "swrast" here or the x86
> > appends
> > wouldn't have swrast listed?
> > 
> > Do we really want to limit the native version to swrast only? This
> > seems a fairly major change of behaviour and not what the original
> > code
> > was intending?
> 
> Currently the native version does not build any dri drivers at all.
> This is intentional: mesa-native is used only by virgl, so I made the
> most minimal possible configuration for mesa-native so that a) virgl
> works; and b) build time is as short as possible.
> 
> With the switchover to meson, dri support is enabled only if also at
> least one dri driver is enabled. swrast seemed like the best choice.
> 
> If/when we have more use cases for mesa-native than virgl, we can add
> other bits to the configuration.
> 
> Hope this makes sense.

That does, I think the patch still needs DRIDRIVERS = "swrast" though?
The details here should be in the commit message too.

Cheers,

Richard



More information about the Openembedded-core mailing list