From: kernel test robot <lkp@intel.com>
To: Leo Li <sunpeng.li@amd.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Alex Deucher <alexander.deucher@amd.com>,
Harry Wentland <harry.wentland@amd.com>
Subject: [agd5f:drm-next 804/888] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:371:20: error: unused function 'reverse_planes_order'
Date: Thu, 20 Jun 2024 10:21:16 +0800 [thread overview]
Message-ID: <202406201059.TfQMDQvN-lkp@intel.com> (raw)
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
reply other threads:[~2024-06-20 2:22 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=202406201059.TfQMDQvN-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexander.deucher@amd.com \
--cc=harry.wentland@amd.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sunpeng.li@amd.com \
/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