]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: vbios: remove unnecessary fields in PciRomHeader
authorEliot Courtney <ecourtney@nvidia.com>
Mon, 25 May 2026 13:57:36 +0000 (22:57 +0900)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 25 May 2026 18:18:08 +0000 (20:18 +0200)
commit84eb369da61320152a7bbeb245469311cf31205f
treeee0343933e4528f3889601e5617fce3898d2b40a
parente8baefdffd4e131138e5c17ae3c5b2b2a907ba3f
gpu: nova-core: vbios: remove unnecessary fields in PciRomHeader

Remove unnecessary fields in PciRomHeader. This allows a simplification
to use `FromBytes` instead of reading fields piecemeal. A lot of these
checks were redundant as well since it checks the size of the `data`
first in `BiosImage`.

Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260525-fix-vbios-v5-18-e5e455251537@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
drivers/gpu/nova-core/vbios.rs