SyncobjCtx: add from_dev_t
This commit is contained in:
parent
0a4ce7e458
commit
7192905158
3 changed files with 24 additions and 19 deletions
|
|
@ -151,6 +151,8 @@ pub enum DrmError {
|
|||
QueueSequence(#[source] OsError),
|
||||
#[error("Could not stat the DRM fd")]
|
||||
Stat(#[source] OsError),
|
||||
#[error("Device has no device nodes")]
|
||||
NoDeviceNodes,
|
||||
}
|
||||
|
||||
fn render_node_name(fd: c::c_int) -> Result<Ustring, DrmError> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue