On Sat, Dec 13, 2025 at 6:04 AM Nathan Chancellor <[email protected]> wrote: > > Hi all, > > This series addresses a new instance of -Wframe-larger-than in > drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c with > clang-22 (current main). This is similar to previous fixes that I have > done in other dml folders such as: > > a3fef74b1d48 ("drm/amd/display: Reduce number of arguments of > dml32_CalculatePrefetchSchedule()") > c4be0ac987f2 ("drm/amd/display: Reduce number of arguments of > dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()") > > This was done fairly mechanically, so let me know if there are any > issues, as it has only been build tested.
I'll run the patches through CI and if they pass, I'll apply them. Thanks! Alex > > --- > Nathan Chancellor (2): > drm/amd/display: Reduce number of arguments of dcn30's > CalculatePrefetchSchedule() > drm/amd/display: Reduce number of arguments of dcn30's > CalculateWatermarksAndDRAMSpeedChangeSupport() > > .../amd/display/dc/dml/dcn30/display_mode_vba_30.c | 545 > ++++++--------------- > 1 file changed, 139 insertions(+), 406 deletions(-) > --- > base-commit: f24e96d69f5b9eb0f3b9c49e53c385c50729edfd > change-id: 20251213-dml-dcn30-avoid-clang-frame-larger-than-36afd349190b > > Best regards, > -- > Nathan Chancellor <[email protected]> >
