-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0db7924
commit 6dcff91
Showing
8 changed files
with
436 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ version = "0.12.0" | |
license = "MIT" | ||
authors = ["Tyler Slabinski <[email protected]>", "Victoria Brekenfeld <[email protected]>"] | ||
exclude = [".gitignore", ".github"] | ||
rust-version = "1.65" | ||
rust-version = "1.66" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ repository = "https://github.com/Smithay/drm-rs" | |
version = "0.8.0" | ||
license = "MIT" | ||
authors = ["Tyler Slabinski <[email protected]>"] | ||
rust-version = "1.65" | ||
rust-version = "1.66" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ version = "0.7.0" | |
authors = ["Tyler Slabinski <[email protected]>"] | ||
license = "MIT" | ||
build = "build.rs" | ||
rust-version = "1.65" | ||
rust-version = "1.66" | ||
edition = "2021" | ||
|
||
[features] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
//! OS-Specific DRM constants. | ||
/// DRM major value. | ||
#[cfg(target_os = "dragonfly")] | ||
pub const DRM_MAJOR: u32 = 145; | ||
|
||
/// DRM major value. | ||
#[cfg(target_os = "netbsd")] | ||
pub const DRM_MAJOR: u32 = 34; | ||
|
||
/// DRM major value. | ||
#[cfg(all(target_os = "openbsd", target_arch = "x86"))] | ||
pub const DRM_MAJOR: u32 = 88; | ||
|
||
/// DRM major value. | ||
#[cfg(all(target_os = "openbsd", not(target_arch = "x86")))] | ||
pub const DRM_MAJOR: u32 = 87; | ||
|
||
/// DRM major value. | ||
#[cfg(not(any(target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd")))] | ||
pub const DRM_MAJOR: u32 = 226; | ||
|
||
/// Primary DRM node prefix. | ||
#[cfg(not(target_os = "openbsd"))] | ||
pub const PRIMARY_NAME: &str = "card"; | ||
|
||
/// Primary DRM node prefix. | ||
#[cfg(target_os = "openbsd")] | ||
pub const PRIMARY_NAME: &str = "drm"; | ||
|
||
/// Control DRM node prefix. | ||
#[cfg(not(target_os = "openbsd"))] | ||
pub const CONTROL_NAME: &str = "controlD"; | ||
|
||
/// Control DRM node prefix. | ||
#[cfg(target_os = "openbsd")] | ||
pub const CONTROL_NAME: &str = "drmC"; | ||
|
||
/// Render DRM node prefix. | ||
#[cfg(not(target_os = "openbsd"))] | ||
pub const RENDER_NAME: &str = "renderD"; | ||
|
||
/// Render DRM node prefix. | ||
#[cfg(target_os = "openbsd")] | ||
pub const RENDER_NAME: &str = "drmR"; |
Oops, something went wrong.