mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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> |
||
|---|---|---|
| .. | ||
| dml21 | ||
| cmntypes.h | ||
| display_mode_core_structs.h | ||
| display_mode_core.c | ||
| display_mode_core.h | ||
| display_mode_lib_defines.h | ||
| display_mode_util.c | ||
| display_mode_util.h | ||
| dml2_dc_resource_mgmt.c | ||
| dml2_dc_resource_mgmt.h | ||
| dml2_dc_types.h | ||
| dml2_internal_types.h | ||
| dml2_mall_phantom.c | ||
| dml2_mall_phantom.h | ||
| dml2_policy.c | ||
| dml2_policy.h | ||
| dml2_translation_helper.c | ||
| dml2_translation_helper.h | ||
| dml2_utils.c | ||
| dml2_utils.h | ||
| dml2_wrapper.c | ||
| dml2_wrapper.h | ||
| dml_assert.h | ||
| dml_depedencies.h | ||
| dml_display_rq_dlg_calc.c | ||
| dml_display_rq_dlg_calc.h | ||
| dml_logging.h | ||
| Makefile | ||