linux-yocto/drivers/gpu/drm/amd/pm
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 8a5ae927b653b43623e55610d2215ee94c027e8c)
Cc: stable@vger.kernel.org
2024-10-07 14:58:26 -04:00
..
inc drm/amd/pm: Remove legacy interface for xgmi plpd 2024-05-17 17:40:39 -04:00
legacy-dpm drm/amdgpu: fix UBSAN warning in kv_dpm.c 2024-06-19 18:25:52 -04:00
powerplay drm/amdgpu: partially revert powerplay __counted_by changes 2024-10-07 14:58:26 -04:00
swsmu drm/amd/pm: update workload mask after the setting 2024-09-26 17:05:10 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amdgpu: Disable dpm_enabled flag while VF is in reset 2024-08-13 12:12:52 -04:00
amdgpu_pm.c Documentation/amdgpu: Add PM policy documentation 2024-05-20 16:20:26 -04:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00