summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2026-03-06 07:52:44 +0300
committerAlexandre Courbot <acourbot@nvidia.com>2026-03-09 04:39:10 +0300
commit192125e0909e106ae37c2447ec43ee2653909d17 (patch)
treeb0754c09ac9570d2e4b7b72b313b1aaffc337f88
parentc1d2f7471ba7a21eb3c68b8405365f7e1eac5c9d (diff)
downloadlinux-192125e0909e106ae37c2447ec43ee2653909d17.tar.xz
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>
-rw-r--r--drivers/gpu/nova-core/falcon.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/nova-core/falcon.rs b/drivers/gpu/nova-core/falcon.rs
index 2168ef2c5148..7097a206ec3c 100644
--- a/drivers/gpu/nova-core/falcon.rs
+++ b/drivers/gpu/nova-core/falcon.rs
@@ -740,13 +740,6 @@ impl<E: FalconEngine + 'static> Falcon<E> {
bar: &Bar0,
fw: &F,
) -> Result {
- // The Non-Secure section only exists on firmware used by Turing and GA100, and
- // those platforms do not use DMA.
- if fw.imem_ns_load_params().is_some() {
- debug_assert!(false);
- return Err(EINVAL);
- }
-
// Create DMA object with firmware content as the source of the DMA engine.
let dma_obj = DmaObject::from_data(dev, fw.as_slice())?;