[PATCH][next] drm/amd/pm: Avoid multiple -Wflex-array-member-not-at-end warnings
Gustavo A. R. Silva
gustavo at embeddedor.com
Wed Aug 13 05:12:30 UTC 2025
Hi!
On 22/04/25 23:58, Gustavo A. R. Silva wrote:
>
>
> On 16/04/25 09:04, Alex Deucher wrote:
>> Can you resend, I can't seem to find the original emails.
>> Additionally, all of the NISLANDS structures are unused in amdgpu, so
>> those could be removed.
I'm taking a look at this, and it seems that those NISLANDS structs are actually
needed in amdgpu code. For instance, `struct si_power_info` contains a member
of the type of `struct ni_power_info`, and this latter struct contains a
member of the type of `NISLANDS_SMC_STATETABLE`, thus `NISLANDS_SMC_SWSTATE`
and `NISLANDS_SMC_HW_PERFORMANCE_LEVEL` are needed, and so on.
So, it seems that all those structs should stay. What do you think?
Thanks!
-Gustavo
More information about the dri-devel
mailing list