[PATCH] Revert "drm/radeon/si_dpm: Replace one-element array with flexible-array in struct SISLANDS_SMC_SWSTATE"

Gustavo A. R. Silva gustavo at embeddedor.com
Wed May 5 13:45:22 UTC 2021



On 5/5/21 08:06, Deucher, Alexander wrote:
> [AMD Public Use]
> 
>> -----Original Message-----
>> From: Gustavo A. R. Silva <gustavo at embeddedor.com>
>> Sent: Tuesday, May 4, 2021 6:43 PM
>> To: Deucher, Alexander <Alexander.Deucher at amd.com>; amd-
>> gfx at lists.freedesktop.org
>> Cc: Gustavo A . R . Silva <gustavoars at kernel.org>
>> Subject: Re: [PATCH] Revert "drm/radeon/si_dpm: Replace one-element
>> array with flexible-array in struct SISLANDS_SMC_SWSTATE"
>>
>> Hi,
>>
>> I thought it was this[1] the one causing problems[2].
> 
> They are both causing problems.

Yeah, I already know why and I'll work out a solution soon. In the meantime, both
should be reverted.

These other two[1][2] also seem to have the same issue and should be reverted, too.
I wonder why no one has reported any problems, yet... in particular regarding this[2].

Thanks
--
Gustavo

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e1aa13ca3ffdd1e626532a3924ac80686939848
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4541ea81edde6ce9a1d9be082489aca7e8e7e1dc



More information about the amd-gfx mailing list