This is zero in all current firmwares but conceptually it should be
`os_code_offset` not zero.

Reviewed-by: Alexandre Courbot <[email protected]>
Signed-off-by: Eliot Courtney <[email protected]>
---
 drivers/gpu/nova-core/firmware/booter.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/nova-core/firmware/booter.rs 
b/drivers/gpu/nova-core/firmware/booter.rs
index a52c965093c9..7a0163a00285 100644
--- a/drivers/gpu/nova-core/firmware/booter.rs
+++ b/drivers/gpu/nova-core/firmware/booter.rs
@@ -152,7 +152,7 @@ pub(crate) fn new(
             (
                 app0_code_offset,
                 Some(FalconDmaLoadTarget {
-                    src_start: 0,
+                    src_start: os_code_offset,
                     dst_start: os_code_offset,
                     len: os_code_size,
                 }),

-- 
2.56.1

Reply via email to