[PATCH v3] gpu: nova-core: vbios: change PmuLookupTableEntry to use size_of

Alexandre Courbot acourbot at nvidia.com
Fri Jul 25 13:30:03 UTC 2025


On Fri Jul 18, 2025 at 4:36 PM JST, Rhys Lloyd wrote:
> Annotate the PmuLookupTableEntry with an `#[repr(C, packed)]` attribute.
> Removes another magic number by making the struct the same size as
> the data it needs to read, allowing the use of
> `size_of::<PmuLookupTableEntry>()`
>
> Signed-off-by: Rhys Lloyd <krakow20 at gmail.com>

Looking good - I'll also push this one after a short grace period. Thanks!


More information about the dri-devel mailing list