tu+meson: Re-work KMD selection

Now that turnip can support multiple kernel-mode drivers in a single
build, re-work the meson option to have a single list of KMDs, rather
than special options to enable kgsl for turnip or virtio for gallium.

It is temporarily a bit awkward as gallium does not yet support kgsl
and turnip does not yet support virtio.  But both of those are planned
or in-progress, so long term a single list is the most sensible option.

TODO freedreno/drm support to build with only virtio support.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21394>
This commit is contained in:
Rob Clark 2023-02-17 11:51:49 -08:00 committed by Marge Bot
parent 407e4929de
commit 6a28986eb4
8 changed files with 33 additions and 31 deletions

View file

@ -48,7 +48,7 @@ one cross-compiling the turnip driver for a stock Pixel phone)
-Dandroid-stub=true \
-Dgallium-drivers= \
-Dvulkan-drivers=freedreno \
-Dfreedreno-kgsl=true
-Dfreedreno-kmds=kgsl
ninja -C build-android-aarch64
Replacing Android drivers on stock Android