diff options
author | Ben Skeggs <bskeggs@nvidia.com> | 2024-07-26 14:37:59 +1000 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-07-27 03:05:22 +0200 |
commit | ba6b8479c944c50db7e2a81794885896fa6c48a8 (patch) | |
tree | 31b6e8fc23c348d2a65aa54debe39b1113dfe1d9 /block | |
parent | 2e408ad7a55273b55b14ce28f62111dc1c4f7fb6 (diff) |
drm/nouveau: handle limited nvif ioctl in abi16
nouveau_usif.c was already stripped right back a couple of years ago,
limiting what userspace could do with it.
A follow-on series removes the nvkm side of these interfaces entirely,
in order to make it less of a nightmare to add/change internal APIs in
the future.
Unfortunately. Userspace uses some of this.
Fortunately, userspace only ever ended up using a fraction of the APIs,
so those are reimplemened here in a more direct manner, and return
-EINVAL to userspace for everything else.
v2:
- simplified struct nouveau_abi16_obj
- added a couple of comments
v3:
- comment harder
Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240726043828.58966-9-bskeggs@nvidia.com
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions