mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
gpu: nova-core: remove an unnecessary register read: HWCFG1
This register read is not required in order to bring up any of the GPUs, and it is read too early on Hopper/Blackwell+ GPUs anyway. So just stop doing this. Signed-off-by: John Hubbard <jhubbard@nvidia.com> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Message-ID: <20251025014050.585153-2-jhubbard@nvidia.com>
This commit is contained in:
parent
f6797dca29
commit
1784fb79d6
|
|
@ -371,11 +371,6 @@ pub(crate) fn new(
|
|||
bar: &Bar0,
|
||||
need_riscv: bool,
|
||||
) -> Result<Self> {
|
||||
let hwcfg1 = regs::NV_PFALCON_FALCON_HWCFG1::read(bar, &E::ID);
|
||||
// Check that the revision and security model contain valid values.
|
||||
let _ = hwcfg1.core_rev()?;
|
||||
let _ = hwcfg1.security_model()?;
|
||||
|
||||
if need_riscv {
|
||||
let hwcfg2 = regs::NV_PFALCON_FALCON_HWCFG2::read(bar, &E::ID);
|
||||
if !hwcfg2.riscv() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user