diff options
| author | Timur Tabi <ttabi@nvidia.com> | 2026-04-30 17:38:36 -0500 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-05-28 19:30:15 +0200 |
| commit | 4beeac5d2015df1017732ce4c57d634f557dd304 (patch) | |
| tree | f3e57bdf5d9380e2ede7aa4771165aac52e7cea7 /include/linux | |
| parent | c1cf2d5db80ce91a85855bbaf4da85ff603e089a (diff) | |
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
