John Hubbard
2025-Oct-30 00:35 UTC
[PATCH v3 2/2] gpu: nova-core: add boot42 support for next-gen GPUs
On 10/29/25 5:31 PM, Timur Tabi wrote:> On Wed, 2025-10-29 at 17:29 -0700, John Hubbard wrote: >> That, combined with Timur's comment, made me realize that .is_next_gen() >> can be made reliable enough that we don't even need is_nv04() at all. > > Please, not "next gen". Technically speaking, BOOT42 is "current gen" and BOOT0 is "last gen". > > And this all assumes that BOOT42 won't be replaced by something even bigger for > Blackwell+++++++++++.OK, I think this wants to be called use_boot42_instead(), approximately. ...and I've fortified the code accordingly: impl NV_PMC_BOOT_0 { pub(crate) fn use_boot42_instead(self) -> bool { // "Future" GPUs (some time after Rubin) will set `architecture_0` // to 0, and `architecture_1` to 1, and put the architecture details in // boot42 instead. self.architecture_0() == 0 && self.architecture_1() == 1 } thanks, -- John Hubbard
Timur Tabi
2025-Oct-30 01:01 UTC
[PATCH v3 2/2] gpu: nova-core: add boot42 support for next-gen GPUs
On Wed, 2025-10-29 at 17:35 -0700, John Hubbard wrote:> ??????? // "Future" GPUs (some time after Rubin) will set `architecture_0` > ??????? // to 0, and `architecture_1` to 1, and put the architecture details in > ??????? // boot42 instead.I don't want to kick a dead horse here, but aren't the architecture details already in boot42 for Turing? I thought the whole point was that we don't need boot0 any more, and only Nouveau has to worry about boot0 vs boot42.