kmsro: enable with zink

Since the kmsro option was removed, it is now just built together with a
list of gallium OpenGL drivers that require it.
On a Vulkan-only build with zink for OpenGL, kmsro is still required for
some wsi paths for those platforms, but it is no longer possible to
explicitly enable it without a gallium OpenGL driver to pull it.
This enables kmsro when zink is enabled to allow the Vulkan-only use
case in those platforms.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37459>
This commit is contained in:
Erico Nunes 2024-09-04 17:12:25 +02:00 committed by Marge Bot
parent da184ddbe4
commit f6b791db30

View file

@ -237,6 +237,7 @@ with_gallium_kmsro = system_has_kms_drm and [
with_gallium_panfrost,
with_gallium_v3d,
with_gallium_vc4,
with_gallium_zink,
].contains(true)
_vulkan_drivers = get_option('vulkan-drivers')