drm-shim/nouveau: fix the shim to work with nvif ioctl.
authorDave Airlie <airlied@redhat.com>
Wed, 9 Nov 2022 03:59:27 +0000 (13:59 +1000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 9 Nov 2022 21:21:22 +0000 (21:21 +0000)
commit0f81d9bc88a75c0503ba4a1eb36fe675ee365f0b
tree068c87a7cc9739427cec90b60e8fd2a192d6152b
parent3a94b3b2a78908e0f3b417f3643db6bfd3d88a79
drm-shim/nouveau: fix the shim to work with nvif ioctl.

The new nouveau code asks the kernel for supported class,
this needs the new nvif interface, so stub it up using
the old code.

unfortunately this also needs a clang warning turned off
so the gnu extension this code needs is enabled in meson

Reviewed-by: M Henning <drawoc@darkrefraction.com>
Acked-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17633>
src/nouveau/drm-shim/meson.build
src/nouveau/drm-shim/nouveau_noop.c