Graphics switching now waits for user sessions to end

This commit is contained in:
Luke D Jones
2021-03-11 13:39:16 +13:00
parent 89f4dd6ec4
commit 4310b4b742
11 changed files with 357 additions and 109 deletions

View File

@@ -33,6 +33,7 @@ impl Module {
}
}
#[derive(Clone)]
pub struct PciBus {
path: PathBuf,
}
@@ -56,6 +57,7 @@ impl PciBus {
}
}
#[derive(Clone)]
pub struct GraphicsDevice {
_id: String,
functions: Vec<PciDevice>,