diff options
| author | Alex Hung <alex.hung@amd.com> | 2026-09-23 11:31:18 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-09-23 15:53:05 -0400 |
| commit | 0fd5e9ddf362b1253b3c94b858371f90400e5c4a (patch) | |
| tree | ac162e2ef9638bc882be0c8725bdf485921779ed /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2b86ab1bd6673c525adda88819d7658ba9e784ec (diff) | |
| download | linux-next-0fd5e9ddf362b1253b3c94b858371f90400e5c4a.tar.gz linux-next-0fd5e9ddf362b1253b3c94b858371f90400e5c4a.zip | |
drm/amd/display: Relax DML frame limit with UBSAN
[WHY]
UBSAN instrumentation adds checks and handler calls and increases
stack usage in the large DML calculation functions, similar to
KASAN and KCSAN. With UBSAN enabled these files exceed the default
-Wframe-larger-than limit and fail to build when -Werror is in effect.
Reproduced with LLVM (make LLVM=1, clang 19.1.1), CONFIG_UBSAN=y,
CONFIG_GCOV_PROFILE_ALL=y and CONFIG_DRM_AMDGPU_WERROR=y on x86_64.
[HOW]
Include CONFIG_UBSAN in the sanitizer check that selects the
higher per-file frame warning limit in the dml and dml2_0
Makefiles.
Suggested-by: Leo Li <sunpeng.li@amd.com>
Assisted-by: Copilot:Claude-Opus-5.5
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ebf8b0fd8508b744f85a8eee82b745b1d3502dd0)
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
