summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2024-10-03 00:27:25 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-10-07 21:58:26 +0300
commitd6b9f492e229be1d1bd360c3ac5bee4635bacf99 (patch)
treedc032ab71c60685c659862d53ead49850c0358d2 /drivers/gpu/drm/amd/display
parent8e82d1199564ea0baab7be31f6558406bab4fe1d (diff)
downloadlinux-d6b9f492e229be1d1bd360c3ac5bee4635bacf99.tar.xz
drm/amdgpu: partially revert powerplay `__counted_by` changes
Partially revert commit 0ca9f757a0e2 ("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: 0ca9f757a0e2 ("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
Diffstat (limited to 'drivers/gpu/drm/amd/display')
0 files changed, 0 insertions, 0 deletions