summaryrefslogtreecommitdiff
path: root/drivers/gpu/nova-core/gpu.rs
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2025-10-29 00:07:40 +0900
committerAlexandre Courbot <acourbot@nvidia.com>2025-11-05 20:29:47 +0900
commitade19c5060dfa39b84a9475a4a6b05e2a8a2b3ac (patch)
treea2133b693109950dcfd7b17f5014ee6bc35c5700 /drivers/gpu/nova-core/gpu.rs
parent46768644a164f0f5eaa06fdf93718edcbbc47b64 (diff)
gpu: nova-core: vbios: use FromBytes for NpdeStruct
Use `from_bytes_copy_prefix` to create `NpdeStruct` 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-5-ac441ebc1de3@nvidia.com>
Diffstat (limited to 'drivers/gpu/nova-core/gpu.rs')
0 files changed, 0 insertions, 0 deletions