diff options
| author | Alex Deucher <[email protected]> | 2024-10-02 21:27:25 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-07 18:40:05 +0000 |
| commit | 8a5ae927b653b43623e55610d2215ee94c027e8c (patch) | |
| tree | 6ae7d760a3d00c2f77ef07be9ee4150312e3a80e /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
| parent | Documentation/gpu: Document the situation with unqualified drm-memory- (diff) | |
| download | kernel-8a5ae927b653b43623e55610d2215ee94c027e8c.tar.gz kernel-8a5ae927b653b43623e55610d2215ee94c027e8c.zip | |
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 <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3662
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions
