diff options
| author | John Hubbard <jhubbard@nvidia.com> | 2025-10-24 18:40:50 -0700 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2025-10-25 13:12:05 +0900 |
| commit | c58f00b44eed0968bd8ea0ce8082ef72aa19e1f8 (patch) | |
| tree | cccdf921f42f928b31a75eeae9d3591ee7807cf1 /drivers/gpu/nova-core/gpu.rs | |
| parent | 1784fb79d6c8db159d928314391817c425731de8 (diff) | |
gpu: nova-core: remove unnecessary need_riscv, bar parameters
The need_riscv parameter and its associated RISCV validation logic are
are actually unnecessary for correct operation. Remove it, along with
the now-unused bar parameter as well.
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251025014050.585153-3-jhubbard@nvidia.com>
Diffstat (limited to 'drivers/gpu/nova-core/gpu.rs')
| -rw-r--r-- | drivers/gpu/nova-core/gpu.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nova-core/gpu.rs b/drivers/gpu/nova-core/gpu.rs index af20e2daea24..9d182bffe8b4 100644 --- a/drivers/gpu/nova-core/gpu.rs +++ b/drivers/gpu/nova-core/gpu.rs @@ -213,12 +213,10 @@ impl Gpu { gsp_falcon: Falcon::new( pdev.as_ref(), spec.chipset, - bar, - spec.chipset > Chipset::GA100, ) .inspect(|falcon| falcon.clear_swgen0_intr(bar))?, - sec2_falcon: Falcon::new(pdev.as_ref(), spec.chipset, bar, true)?, + sec2_falcon: Falcon::new(pdev.as_ref(), spec.chipset)?, gsp <- Gsp::new(), |
