lkml.org 
[lkml]   [2023]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:1684:6: warning: stack frame size (2072) exceeds limit (2048) in 'dml32_ModeSupportAndSystemConfigurationFull'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6099776f9f268e61fe5ecd721f994a8cfce5306f
commit: ce902d987a8caa5c9a96080e280ecc992414a127 drm/amd/display: Enforce minimum prefetch time for low memclk on DCN32
date: 10 months ago
config: x86_64-randconfig-015-20230909 (https://download.01.org/0day-ci/archive/20230909/202309092155.8xQKDjJA-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/20230909/202309092155.8xQKDjJA-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309092155.8xQKDjJA-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:1684:6: warning: stack frame size (2072) exceeds limit (2048) in 'dml32_ModeSupportAndSystemConfigurationFull' [-Wframe-larger-than]
void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib)
^
1076/2072 (51.93%) spills, 996/2072 (48.07%) variables
1 warning generated.


vim +/dml32_ModeSupportAndSystemConfigurationFull +1684 drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c

1b54a0121dba12 Rodrigo Siqueira 2022-07-22 1683
dda4fb85e433f7 Aurabindo Pillai 2022-02-21 @1684 void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_lib)
dda4fb85e433f7 Aurabindo Pillai 2022-02-21 1685 {
7acc487ab57e07 Alex Deucher 2022-07-20 1686 struct vba_vars_st *v = &mode_lib->vba;
7acc487ab57e07 Alex Deucher 2022-07-20 1687 int i, j;
7acc487ab57e07 Alex Deucher 2022-07-20 1688 unsigned int k, m;
dda4fb85e433f7 Aurabindo Pillai 2022-02-21 1689 unsigned int MaximumMPCCombine;
7acc487ab57e07 Alex Deucher 2022-07-20 1690 unsigned int NumberOfNonCombinedSurfaceOfMaximumBandwidth;
7acc487ab57e07 Alex Deucher 2022-07-20 1691 unsigned int TotalSlots;
f4b4e41a2e0527 Jun Lei 2022-06-24 1692 bool CompBufReservedSpaceNeedAdjustment;
f4b4e41a2e0527 Jun Lei 2022-06-24 1693 bool CompBufReservedSpaceNeedAdjustmentSingleDPP;
dda4fb85e433f7 Aurabindo Pillai 2022-02-21 1694

:::::: The code at line 1684 was first introduced by commit
:::::: dda4fb85e433f761eedaed0005a2bc20d705d504 drm/amd/display: DML changes for DCN32/321

:::::: TO: Aurabindo Pillai <aurabindo.pillai@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

\
 
 \ /
  Last update: 2023-09-09 15:47    [W:0.043 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site