nova-core: Ada: basic GPU identification
Subsystems (4)
PATCH 1/1 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).
---
This applies cleanly to today's drm-rust-next.
thanks,
John Hubbard
drivers/gpu/nova-core/falcon/hal.rs | 2 +- drivers/gpu/nova-core/firmware/gsp.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/nova-core/falcon/hal.rs +1 -1
@@ -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 ),
drivers/gpu/nova-core/firmware/gsp.rs +1 -0
@@ -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)
base-commit: d3917368ebc5cd89d7d08eab4673e5c4c73ff42f
Signature · 1 line
2.51.1
Alexandre Courbot
maintainerQuoted 6 lines · John Hubbard
...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 <[email protected]>
Thanks - staging for merging soonish.
Quoted 6 lines · John Hubbard
...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 <[email protected]>
You may want to consider requesting committer access for the drm-rust tree [1].
[1]
https://drm.pages.freedesktop.org/maintainer-tools/committer/commit-access.html#access-request
Quoted 4 lines · Danilo Krummrich
Quoted 3 lines · John Hubbard
...which is sufficient to make Ada GPUs work, because they use the pre-existing Ampere GPU code, unmodified.
Quoted 8 lines
Quoted 3 lines
Tested on AD102 (RTX 6000 Ada).
Signed-off-by John Hubbard <[email protected]>Acked-by Danilo Krummrich <[email protected]>You may want to consider requesting committer access for the drm-rust tree [1].
I really appreciate the vote of confidence here! :)
thanks,
Signature · 1 line
John Hubbard