diff options
| author | Alexandre Courbot <acourbot@nvidia.com> | 2025-10-29 00:07:39 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2025-11-05 20:29:47 +0900 |
| commit | 46768644a164f0f5eaa06fdf93718edcbbc47b64 (patch) | |
| tree | 3e00f74b9dd7ae269e328b42586e9eec083bf9b1 /drivers/gpu/nova-core/gpu.rs | |
| parent | 56bb4b17a696a91aeaf7939d467a4f586edb01c6 (diff) | |
gpu: nova-core: vbios: use FromBytes for BitHeader
Use `from_bytes_copy_prefix` to create `BitHeader` instead of building
it ourselves from the bytes stream. This lets us remove a few array
accesses and results in shorter code.
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251029-nova-vbios-frombytes-v1-4-ac441ebc1de3@nvidia.com>
Diffstat (limited to 'drivers/gpu/nova-core/gpu.rs')
0 files changed, 0 insertions, 0 deletions