summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/nova/nova_drv.rs11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/gpu/drm/nova/nova_drv.rs b/drivers/gpu/drm/nova/nova_drv.rs
index ed1bb94fdf25..3fd5431a3f8c 100644
--- a/drivers/gpu/drm/nova/nova_drv.rs
+++ b/drivers/gpu/drm/nova/nova_drv.rs
@@ -1,6 +1,5 @@
//! Nova GPU Driver
-
mod gpu;
mod bios;
mod fwsec;
@@ -62,14 +61,10 @@ impl pci::Driver for NovaDevice {
_ => return Err(ENODEV)
};
- let mut gpu = Gpu::new(card_type, bar);
+ let mut gpu = Gpu::new(card_type, bar);
+ let _ = gpu.init(dev)?;
- let _ = gpu.init(dev)?;
-// match self.booter_load_fw.request(c_str!("nvidia/ad102/gsp/booter_load-535.113.01.bin"), dev) {
-// Err(e) => return Err(e),
-// Ok(()) => pr_info!("loaded fw: {} ", self.booter_load_fw.size())
- // }
- Ok(())
+ Ok(())
}
fn remove(_data: &Self::Data) {