summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2026-09-23 11:31:18 -0600
committerAlex Deucher <alexander.deucher@amd.com>2026-09-23 15:18:48 -0400
commitebf8b0fd8508b744f85a8eee82b745b1d3502dd0 (patch)
tree34f35e7600bda51c13e096ae69c7077d0c225e1a /scripts/Makefile.thinlto
parentf05e235a54c0e7eedf7fe251db4dd5a58655ed3d (diff)
downloadlinux-next-ebf8b0fd8508b744f85a8eee82b745b1d3502dd0.tar.gz
linux-next-ebf8b0fd8508b744f85a8eee82b745b1d3502dd0.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>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions