mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Trial of blocking vfio/compute unless in integrated mode
This commit is contained in:
@@ -86,6 +86,7 @@ impl From<GfxVendors> for &str {
|
||||
pub enum GfxRequiredUserAction {
|
||||
Logout,
|
||||
Reboot,
|
||||
Integrated,
|
||||
None,
|
||||
}
|
||||
|
||||
@@ -94,6 +95,7 @@ impl From<&GfxRequiredUserAction> for &str {
|
||||
match gfx {
|
||||
GfxRequiredUserAction::Logout => "logout",
|
||||
GfxRequiredUserAction::Reboot => "reboot",
|
||||
GfxRequiredUserAction::Integrated => "switch to integrated first",
|
||||
GfxRequiredUserAction::None => "no action",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user