diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2024-10-02 17:27:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-07 14:40:05 -0400 |
commit | 8a5ae927b653b43623e55610d2215ee94c027e8c (patch) | |
tree | 6ae7d760a3d00c2f77ef07be9ee4150312e3a80e /drivers/gpu/drm/drm_mm.c | |
parent | 2c04742b04ee35ab75ffdbf4fe1a6ef1792775af (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/drm_mm.c')
0 files changed, 0 insertions, 0 deletions