summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2025-02-01 01:31:19 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-02-05 01:47:10 +0300
commit820ccf8cb2b145ab9fc12651f7f80339614fa46c (patch)
tree2d5692965a076525e8c48d05731219fb16eb6a90 /tools/perf/scripts/python/export-to-sqlite.py
parente01f07cb92513ca4b9b219ab9caa34d607bc1e2d (diff)
downloadlinux-820ccf8cb2b145ab9fc12651f7f80339614fa46c.tar.xz
drm/amd/display: Respect user's CONFIG_FRAME_WARN more for dml files
Currently, there are several files in drm/amd/display that aim to have a higher -Wframe-larger-than value to avoid instances of that warning with a lower value from the user's configuration. However, with the way that it is currently implemented, it does not respect the user's request via CONFIG_FRAME_WARN for a higher stack frame limit, which can cause pain when new instances of the warning appear and break the build due to CONFIG_WERROR. Adjust the logic to switch from a hard coded -Wframe-larger-than value to only using the value as a minimum clamp and deferring to the requested value from CONFIG_FRAME_WARN if it is higher. Suggested-by: Harry Wentland <harry.wentland@amd.com> Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Closes: https://lore.kernel.org/2025013003-audience-opposing-7f95@gregkh/ Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions