summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/fb/hal/ga102.rs
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nova-core/fb/hal/ga102.rs')
-rw-r--r--drivers/gpu/nova-core/fb/hal/ga102.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nova-core/fb/hal/ga102.rs b/drivers/gpu/nova-core/fb/hal/ga102.rs
index a73b77e39715..734605905031 100644
--- a/drivers/gpu/nova-core/fb/hal/ga102.rs
+++ b/drivers/gpu/nova-core/fb/hal/ga102.rs
@@ -2,9 +2,11 @@
use kernel::prelude::*;
-use crate::driver::Bar0;
-use crate::fb::hal::FbHal;
-use crate::regs;
+use crate::{
+ driver::Bar0,
+ fb::hal::FbHal,
+ regs, //
+};
fn vidmem_size_ga102(bar: &Bar0) -> u64 {
regs::NV_USABLE_FB_SIZE_IN_MB::read(bar).usable_fb_size()