Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpu: nova-core: falcon: remove unwarranted safety check in dma_load

This safety check was an assumption based on the firmwares we work with
- it is not based on an actual hardware limitation. Thus, remove it.

Reviewed-by: Eliot Courtney <ecourtney@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260306-turing_prep-v11-7-8f0042c5d026@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>

-7
-7
drivers/gpu/nova-core/falcon.rs
··· 740 740 bar: &Bar0, 741 741 fw: &F, 742 742 ) -> Result { 743 - // The Non-Secure section only exists on firmware used by Turing and GA100, and 744 - // those platforms do not use DMA. 745 - if fw.imem_ns_load_params().is_some() { 746 - debug_assert!(false); 747 - return Err(EINVAL); 748 - } 749 - 750 743 // Create DMA object with firmware content as the source of the DMA engine. 751 744 let dma_obj = DmaObject::from_data(dev, fw.as_slice())?; 752 745