linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios
Timur Tabi 4beeac5d20 drm/nouveau/bios: skip the IFR header if present
The GPU's ROM may begin with an Init-from-ROM (IFR) header that precedes
the PCI Expansion ROM images (VBIOS).  When present, the PROM shadow
method must parse this header to determine the offset where the PCI ROM
images actually begin, and adjust all subsequent reads accordingly.

On most GPUs this is not needed because either the PRAMIN shadow method
(which reads from VRAM via the display engine) succeeds first, or the IFR
microcode has already applied the ROM offset so that PROM reads
transparently skip the header.  However, on GA100 neither of these
applies: GA100 has no display engine (so PRAMIN is unavailable), and the
IFR offset is not applied to PROM reads on this GPU.

Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260430223838.2530778-9-ttabi@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2026-05-28 19:30:15 +02:00
..
base.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
bit.c
boost.c
conn.c
cstep.c
dcb.c
disp.c
dp.c
extdev.c
fan.c
gpio.c
i2c.c
iccsense.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
image.c
init.c drm/nouveau/bios/init: drop kernel-doc notation 2024-01-08 18:33:58 +01:00
Kbuild
M0203.c
M0205.c
M0209.c
mxm.c
npde.c
P0260.c
pcir.c
perf.c
pll.c
pmu.c
power_budget.c
priv.h
ramcfg.c
rammap.c
shadow.c nouveau: fix function cast warnings 2024-02-16 18:38:47 +01:00
shadowacpi.c
shadowof.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
shadowpci.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
shadowramin.c drm/nouveau/bios: specify correct display fuse register for Ampere and Ada 2026-05-28 19:30:15 +02:00
shadowrom.c drm/nouveau/bios: skip the IFR header if present 2026-05-28 19:30:15 +02:00
therm.c
timing.c
vmap.c
volt.c
vpstate.c
xpio.c