From: John Hubbard Date: Sat, 25 Oct 2025 01:20:17 +0000 (-0700) Subject: gpu: nova-core: Ada: basic GPU identification X-Git-Tag: v6.19-rc1~157^2~8^2~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6797dca29bf4bd6b66e1f4284f94dfe08d9d513;p=thirdparty%2Fkernel%2Flinux.git gpu: nova-core: Ada: basic GPU identification ...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 Signed-off-by: Alexandre Courbot Message-ID: <20251025012017.573078-1-jhubbard@nvidia.com> --- diff --git a/drivers/gpu/nova-core/falcon/hal.rs b/drivers/gpu/nova-core/falcon/hal.rs index bba2884556179..c6c71db1bb709 100644 --- a/drivers/gpu/nova-core/falcon/hal.rs +++ b/drivers/gpu/nova-core/falcon/hal.rs @@ -44,7 +44,7 @@ pub(super) fn falcon_hal( 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::::new(), GFP_KERNEL)? as KBox> } _ => return Err(ENOTSUPP), diff --git a/drivers/gpu/nova-core/firmware/gsp.rs b/drivers/gpu/nova-core/firmware/gsp.rs index 6b0761460a57d..24c3ea698940e 100644 --- a/drivers/gpu/nova-core/firmware/gsp.rs +++ b/drivers/gpu/nova-core/firmware/gsp.rs @@ -150,6 +150,7 @@ impl GspFirmware { 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)