At this point we just need to write in the DMA address of libos and that
is sufficient for boot. Remove the unnecessary call to `boot`.

Signed-off-by: Eliot Courtney <[email protected]>
---
 drivers/gpu/nova-core/gsp/hal/tu102.rs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/nova-core/gsp/hal/tu102.rs 
b/drivers/gpu/nova-core/gsp/hal/tu102.rs
index e90db1a23032..2139279d40c4 100644
--- a/drivers/gpu/nova-core/gsp/hal/tu102.rs
+++ b/drivers/gpu/nova-core/gsp/hal/tu102.rs
@@ -294,11 +294,10 @@ fn boot<'gpu>(
 
         gsp_falcon.reset()?;
         let libos_dma_address = gsp.libos.dma_address();
-        let (mbox0, mbox1) = gsp_falcon.boot(
+        gsp_falcon.write_mailboxes(
             Some(libos_dma_address as u32),
             Some((libos_dma_address >> 32) as u32),
-        )?;
-        dev_dbg!(dev, "GSP MBOX0: {:#x}, MBOX1: {:#x}\n", mbox0, mbox1);
+        );
 
         dev_dbg!(
             dev,

-- 
2.56.1

Reply via email to