]> Gentwo Git Trees - linux/.git/commitdiff
gpu: nova-core: Ada: basic GPU identification
authorJohn Hubbard <jhubbard@nvidia.com>
Sat, 25 Oct 2025 01:20:17 +0000 (18:20 -0700)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 25 Oct 2025 04:12:05 +0000 (13:12 +0900)
...which is sufficient to make Ada GPUs work, because they use the
pre-existing Ampere GPU code, unmodified.

Tested on AD102 (RTX 6000 Ada).

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251025012017.573078-1-jhubbard@nvidia.com>

drivers/gpu/nova-core/falcon/hal.rs
drivers/gpu/nova-core/firmware/gsp.rs

index bba28845561795914e9a4dba277d72bbac0b37dd..c6c71db1bb7098c973854386bf859f8cc360e10c 100644 (file)
@@ -44,7 +44,7 @@ pub(super) fn falcon_hal<E: FalconEngine + 'static>(
     use Chipset::*;
 
     let hal = match chipset {
-        GA102 | GA103 | GA104 | GA106 | GA107 => {
+        GA102 | GA103 | GA104 | GA106 | GA107 | AD102 | AD103 | AD104 | AD106 | AD107 => {
             KBox::new(ga102::Ga102::<E>::new(), GFP_KERNEL)? as KBox<dyn FalconHal<E>>
         }
         _ => return Err(ENOTSUPP),
index 6b0761460a57d33330307420a483df204c9c0f10..24c3ea698940e7b1b1782ce99508735821bfe57c 100644 (file)
@@ -150,6 +150,7 @@ pub(crate) fn new<'a, 'b>(
 
         let sigs_section = match chipset.arch() {
             Architecture::Ampere => ".fwsignature_ga10x",
+            Architecture::Ada => ".fwsignature_ad10x",
             _ => return Err(ENOTSUPP),
         };
         let signatures = elf::elf64_section(fw.data(), sigs_section)