OSDN Git Service

drm/nouveau: fixup the uapi header file.
authorDave Airlie <airlied@redhat.com>
Fri, 4 Aug 2023 18:23:42 +0000 (20:23 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Fri, 4 Aug 2023 18:34:31 +0000 (20:34 +0200)
commit7a5d5f9c05879e98c8009bea6d0740182725de06
tree66e39fc47354b08715bf1394125be52b9d7f5ba6
parent0c0816d68d963302a7f4a7a28cc685f73263b964
drm/nouveau: fixup the uapi header file.

nouveau > 10 years ago had a plan for new multiplexer inside a multiplexer
API using nvif. It never fully reached fruition, fast forward 10 years,
and the new vulkan driver is avoiding libdrm and calling ioctls, and
these 3 ioctls, getparam, channel alloc + free don't seem to be things
we'd want to use nvif for.

Undeprecate and put them into the uapi header so we can just copy it
into mesa later.

v2: use uapi types.

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230804182406.5222-3-dakr@redhat.com
drivers/gpu/drm/nouveau/nouveau_abi16.h
include/uapi/drm/nouveau_drm.h