diff options
| author | Nick Price <nprice@FreeBSD.org> | 2026-08-09 23:43:12 +0000 |
|---|---|---|
| committer | Nick Price <nprice@FreeBSD.org> | 2026-08-19 00:02:26 +0000 |
| commit | c90c46ea239f2514f1af82c1fa9dc0b4f20361e7 (patch) | |
| tree | 79f727ca1e28a12f01cf81c9fe31fbad3d02b924 /include/llvm/CodeGen/(public-mirror) | |
| parent | 95c04b25323d59da43203a08e56db141ac37181b (diff) | |
drm-kmod already implements the dma-buf and sync_file ioctls, but
linux_ioctl.c had no handler group for the 'b' and '>' magic bytes, so
the requests never reached it and returned EINVAL from
linux_ioctl_fallback(). Route the commands drm-kmod services to
sys_ioctl(), translating the direction bits with SETDIR(); everything
else still falls through to the fallback and keeps getting named in
dmesg.
Approved-by: adrian
Accepted-by: dumbbell
Signed-off-by: Nick Price <nprice@FreeBSD.org>
(cherry picked from commit d6a7e89504af337413af39fd121026f512c0a35d)
Diffstat (limited to 'include/llvm/CodeGen/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
