nvk: Enable the new UAPI

We also add a meson option to disable it and re-enable the legacy API.
This code probably won't last long but it gives developers the option.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand
2023-08-03 18:32:45 -05:00
committed by Marge Bot
parent b2fe4c7729
commit 8c62b3938a
4 changed files with 23 additions and 3 deletions

View File

@@ -671,3 +671,10 @@ option (
value : 'disabled',
description: 'Enable Intel Xe KMD support.'
)
option(
'nvk-legacy-uapi',
type : 'boolean',
value : 'false',
description : 'Build support for legacy kernel uAPI.'
)