Skip to content

Commit fb2a429

Browse files
jannaujohn-cabaj
authored andcommitted
fixup! rust: drm: ioctl: Add DRM ioctl abstraction
kernel API change: purge removed DRM_UNLOCKED Signed-off-by: Janne Grunau <j@jannau.net> (cherry picked from commit 461c2ba https://github.com/AsahiLinux/linux) Signed-off-by: John Cabaj <john.cabaj@canonical.com>
1 parent aec14fd commit fb2a429

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

rust/kernel/drm/ioctl.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ pub const MASTER: u32 = bindings::drm_ioctl_flags_DRM_MASTER;
5555
/// This is equivalent to callers with the SYSADMIN capability.
5656
pub const ROOT_ONLY: u32 = bindings::drm_ioctl_flags_DRM_ROOT_ONLY;
5757

58-
/// Whether drm_ioctl_desc.func should be called with the DRM BKL held or not. Enforced as the
59-
/// default for all modern drivers, hence there should never be a need to set this flag.
60-
///
61-
/// Do not use anywhere else than for the VBLANK_WAIT IOCTL, which is the only legacy IOCTL which
62-
/// needs this.
63-
pub const UNLOCKED: u32 = bindings::drm_ioctl_flags_DRM_UNLOCKED;
64-
6558
/// This is used for all ioctl needed for rendering only, for drivers which support render nodes.
6659
/// This should be all new render drivers, and hence it should be always set for any ioctl with
6760
/// `AUTH` set. Note though that read-only query ioctl might have this set, but have not set

0 commit comments

Comments
 (0)