2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/amd/display/dc/dml
Nathan Chancellor 820ccf8cb2 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>
2025-02-04 17:47:10 -05:00
..
calcs drm/amd/display: Remove unused dcn_find_dcfclk_suits_all 2024-12-10 10:38:58 -05:00
dcn10 drm/amd/display: Update comments in DC 2024-04-30 09:44:55 -04:00
dcn20 drm/amd/display: Remove redundant assignments 2024-10-07 14:17:05 -04:00
dcn21 drm/amd/display: Remove redundant assignments 2024-10-07 14:17:05 -04:00
dcn30 drm/amd/display: delete legacy code 2024-12-18 12:19:57 -05:00
dcn31 drm/amd/display: Remove redundant assignments 2024-10-07 14:17:05 -04:00
dcn32 drm/amd/display: Add 6bpc RGB case for dcn32 output bpp calculations 2025-01-06 14:44:28 -05:00
dcn35 Revert "drm/amd/display: Enable urgent latency adjustments for DCN35" 2025-01-10 12:05:09 -05:00
dcn301 drm/amd/display: Adjust functions prefix for some of the dcn301 fpu functions 2024-04-30 09:52:33 -04:00
dcn302 drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box 2024-05-02 16:18:18 -04:00
dcn303 drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box 2024-05-02 16:18:18 -04:00
dcn314 drm/amd/display: Remove redundant assignments 2024-10-07 14:17:05 -04:00
dcn321 drm/amd/display: Remove old comments 2024-07-23 17:38:29 -04:00
dcn351 drm/amd/display: update sr_exit latency for z8 2024-10-07 14:12:14 -04:00
dcn401 drm/amd/display: Add new DCN401 sources 2024-04-26 17:23:13 -04:00
dsc drm/amd/display: Make some symbols static 2022-10-24 14:34:47 -04:00
dc_features.h drm/amd/display: Increase num voltage states to 40 2023-11-29 16:48:59 -05:00
display_mode_enums.h drm/amd/display: Add Error Code for Dml Validation Failure 2023-06-15 10:44:13 -04:00
display_mode_lib.c drm/amd/display: Clean FPGA code in dc 2023-06-09 10:44:11 -04:00
display_mode_lib.h drm/amd/display: Clean FPGA code in dc 2023-06-09 10:44:11 -04:00
display_mode_structs.h drm/amd/display: Add P-State Keepout to dcn401 Global Sync 2024-07-23 17:07:12 -04:00
display_mode_vba.c drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration 2024-05-02 16:18:18 -04:00
display_mode_vba.h drm/amd/display: Set max vratio for prefetch to 7.9 for YUV420 MPO 2023-02-14 15:47:26 -05:00
display_rq_dlg_helpers.c
display_rq_dlg_helpers.h
dml1_display_rq_dlg_calc.c drm/amd/display: Remove always-false branches 2024-10-01 17:37:33 -04:00
dml1_display_rq_dlg_calc.h
dml_inline_defs.h drm/amd/display: Add check for granularity in dml ceil/floor helpers 2025-01-06 14:44:28 -05:00
dml_logger.h
Makefile drm/amd/display: Respect user's CONFIG_FRAME_WARN more for dml files 2025-02-04 17:47:10 -05:00