[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a856cbeb-dd2e-436b-a7f2-74d3493df18e@intel.com>
Date: Tue, 6 Feb 2024 14:20:17 +0100
From: Alexander Lobakin <aleksander.lobakin@...el.com>
To: Qingqing Zhuo <Qingqing.Zhuo@....com>
CC: kernel test robot <lkp@...el.com>, <oe-kbuild-all@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>, Alex Deucher <alexander.deucher@....com>,
Rodrigo Siqueira <Rodrigo.Siqueira@....com>, Roman Li <roman.li@....com>
Subject: Re:
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:6193:12:
warning: stack frame size (3368) exceeds limit (2048) in
'dml_core_mode_support'
From: Kernel Test Robot <lkp@...el.com>
Date: Mon, 20 Nov 2023 10:01:21 +0800
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 037266a5f7239ead1530266f7d7af153d2a867fa
> commit: 7966f319c66d9468623c6a6a017ecbc0dd79be75 drm/amd/display: Introduce DML2
> date: 6 weeks ago
> config: x86_64-randconfig-121-20231119 (https://download.01.org/0day-ci/archive/20231120/202311200955.pmjdQEM1-lkp@intel.com/config)
> compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231120/202311200955.pmjdQEM1-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202311200955.pmjdQEM1-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> warning: unknown warning option '-Wstringop-truncation'; did you mean '-Wstring-concatenation'? [-Wunknown-warning-option]
> warning: unknown warning option '-Wpacked-not-aligned'; did you mean '-Wpacked-non-pod'? [-Wunknown-warning-option]
>>> drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:6193:12: warning: stack frame size (3368) exceeds limit (2048) in 'dml_core_mode_support' [-Wframe-larger-than]
> dml_bool_t dml_core_mode_support(struct display_mode_lib_st *mode_lib)
Ping? This still happens on the latest RC and linux-next on LLVM 19 at
least (-O2) and breaks CONFIG_WERROR builds.
> ^
> 2183/3368 (64.82%) spills, 1185/3368 (35.18%) variables
> drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:8241:6: warning: stack frame size (2232) exceeds limit (2048) in 'dml_core_mode_programming' [-Wframe-larger-than]
> void dml_core_mode_programming(struct display_mode_lib_st *mode_lib, const struct dml_clk_cfg_st *clk_cfg)
> ^
> 1441/2232 (64.56%) spills, 791/2232 (35.44%) variables
> 4 warnings generated.
Thanks,
Olek
Powered by blists - more mailing lists