public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dillon Varone <Dillon.Varone@amd.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Alex Deucher <alexander.deucher@amd.com>,
	Jun Lei <Jun.Lei@amd.com>
Subject: 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'
Date: Sat, 9 Sep 2023 21:46:19 +0800	[thread overview]
Message-ID: <202309092155.8xQKDjJA-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-09-09 13:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202309092155.8xQKDjJA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Dillon.Varone@amd.com \
    --cc=Jun.Lei@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox