linux/drivers/gpu/drm/amd/pm
Alex Deucher 8a5ae927b6 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>
2024-10-07 14:40:05 -04:00
..
inc drm/amd/pm: Remove legacy interface for xgmi plpd 2024-05-17 17:40:39 -04:00
legacy-dpm drm/amdgpu: update the handle ptr in hw_fini 2024-10-07 14:03:25 -04:00
powerplay drm/amdgpu: partially revert powerplay __counted_by changes 2024-10-07 14:40:05 -04:00
swsmu drm/amdgpu: update the handle ptr in hw_fini 2024-10-07 14:03:25 -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 drm/amd/pm: use pm_runtime_get_if_active for debugfs getters 2024-10-07 14:08:45 -04:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00