Lines Matching +full:force +full:- +full:master
1 // SPDX-License-Identifier: GPL-2.0 OR MIT
14 pub const fn IO(nr: u32) -> u32 { in IO()
18 /// Construct a DRM ioctl number with a read-only argument.
21 pub const fn IOR<T>(nr: u32) -> u32 { in IOR()
25 /// Construct a DRM ioctl number with a write-only argument.
28 pub const fn IOW<T>(nr: u32) -> u32 { in IOW()
32 /// Construct a DRM ioctl number with a read-write argument.
35 pub const fn IOWR<T>(nr: u32) -> u32 { in IOWR()
47 /// call the ioctl through a primary node, while it is the active master.
49 /// Note that read-only modeset ioctl can also be called by unauthenticated clients, or when a
50 /// master is not the currently active one.
51 pub const MASTER: u32 = bindings::drm_ioctl_flags_DRM_MASTER; constant
53 /// Anything that could potentially wreak a master file descriptor needs to have this flag set.
56 /// force a non-behaving master (display compositor) into compliance.
63 /// `AUTH` set. Note though that read-only query ioctl might have this set, but have not set
88 /// ) -> Result<u32>
127 ) -> core::ffi::c_int {
129 // - The DRM core ensures the device lives while callbacks are being
131 // - The DRM device must have been registered when we're called through