Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [agd5f:drm-next 804/888] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:371:20: error: unused function 'reverse_planes_order'
@ 2024-06-20  2:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-20  2:21 UTC (permalink / raw)
  To: Leo Li; +Cc: llvm, oe-kbuild-all, Alex Deucher, Harry Wentland

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   1ecef5589320fd56af599b624d59c355d162ac7b
commit: 38e0c3df6dbd36e69d38f67853cdd1bb6110d05f [804/888] drm/amd/display: Move PRIMARY plane zpos higher
config: x86_64-buildonly-randconfig-001-20240620 (https://download.01.org/0day-ci/archive/20240620/202406201059.TfQMDQvN-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406201059.TfQMDQvN-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/202406201059.TfQMDQvN-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:371:20: error: unused function 'reverse_planes_order' [-Werror,-Wunused-function]
     371 | static inline void reverse_planes_order(struct dc_surface_update *array_of_surface_update,
         |                    ^~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +/reverse_planes_order +371 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c

a85ba00538cd4b Nikola Cornij    2021-03-15  370  
bb46a6a9bab134 Rodrigo Siqueira 2023-02-16 @371  static inline void reverse_planes_order(struct dc_surface_update *array_of_surface_update,
bb46a6a9bab134 Rodrigo Siqueira 2023-02-16  372  					int planes_count)
bb46a6a9bab134 Rodrigo Siqueira 2023-02-16  373  {
bb46a6a9bab134 Rodrigo Siqueira 2023-02-16  374  	int i, j;
bb46a6a9bab134 Rodrigo Siqueira 2023-02-16  375  
8866d62716c918 Jiapeng Chong    2023-03-09  376  	for (i = 0, j = planes_count - 1; i < j; i++, j--)
8866d62716c918 Jiapeng Chong    2023-03-09  377  		swap(array_of_surface_update[i], array_of_surface_update[j]);
bb46a6a9bab134 Rodrigo Siqueira 2023-02-16  378  }
bb46a6a9bab134 Rodrigo Siqueira 2023-02-16  379  

:::::: The code at line 371 was first introduced by commit
:::::: bb46a6a9bab134b9d15043ea8fa9d6c276e938b8 drm/amd/display: Ensure that planes are in the same order

:::::: TO: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-20  2:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20  2:21 [agd5f:drm-next 804/888] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:371:20: error: unused function 'reverse_planes_order' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox