linux-yocto/drivers/gpu/drm/amd/pm/powerplay
Alex Deucher d6b9f492e2 drm/amdgpu: partially revert powerplay __counted_by changes
Partially revert
commit 0ca9f757a0 ("drm/amd/pm: powerplay: Add `__counted_by` attribute for flexible arrays")

The count attribute for these arrays does not get set until
after the arrays are allocated and populated leading to false
UBSAN warnings.

Fixes: 0ca9f757a0 ("drm/amd/pm: powerplay: Add `__counted_by` attribute for flexible arrays")
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3662
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 8a5ae927b6)
Cc: stable@vger.kernel.org
2024-10-07 14:58:26 -04:00
..
hwmgr amd-drm-next-6.12-2024-08-26: 2024-08-27 14:33:12 +02:00
inc drm/amdgpu: partially revert powerplay __counted_by changes 2024-10-07 14:58:26 -04:00
smumgr drm/amd/pm: fix uninitialized variable warnings for vega10_hwmgr 2024-04-30 10:04:20 -04:00
amd_powerplay.c drm/amdgpu/pm: Fix the param type of set_power_profile_mode 2024-05-08 15:17:07 -04:00
Makefile