[agd5f:drm-next 34/66] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3757: warning: expecting prototype for dc_process_dmub_aux_transfer_async(). Prototype was for dc_enable_dmub_notifications() instead

From: kernel test robot
Date: Thu Feb 17 2022 - 03:30:13 EST


tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: 5bbebaae14913a4180ff0cc7ddccfa177dba9705
commit: ed7208706448953c6f15009cf139135776c15713 [34/66] drm/amd/display: Fix for dmub outbox notification enable
config: microblaze-buildonly-randconfig-r003-20220216 (https://download.01.org/0day-ci/archive/20220217/202202171607.KKSe7nmi-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next
git checkout ed7208706448953c6f15009cf139135776c15713
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:419: warning: Cannot understand *****************************************************************************
on line 419 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3757: warning: Function parameter or member 'dc' not described in 'dc_enable_dmub_notifications'
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3757: warning: expecting prototype for dc_process_dmub_aux_transfer_async(). Prototype was for dc_enable_dmub_notifications() instead
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3762: warning: Cannot understand *****************************************************************************
on line 3762 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3783: warning: Cannot understand *****************************************************************************
on line 3783 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3873: warning: Cannot understand *****************************************************************************
on line 3873 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3923: warning: Cannot understand *****************************************************************************
on line 3923 - I thought it was a doc line
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3987: warning: Cannot understand *****************************************************************************
on line 3987 - I thought it was a doc line


vim +3757 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c

3739
3740 /**
3741 * dc_process_dmub_aux_transfer_async - Submits aux command to dmub via inbox message
3742 * Function: dc_enable_dmub_notifications
3743 *
3744 * @brief
3745 * Calls dc_is_dmub_outbox_supported to check if dmub fw supports outbox
3746 * notifications. All DMs shall switch to dc_is_dmub_outbox_supported.
3747 * This API shall be removed after switching.
3748 *
3749 * @param
3750 * [in] dc: dc structure
3751 *
3752 * @return
3753 * True if DMUB FW supports outbox notifications, False otherwise
3754 *****************************************************************************
3755 */
3756 bool dc_enable_dmub_notifications(struct dc *dc)
> 3757 {
3758 return dc_is_dmub_outbox_supported(dc);
3759 }
3760

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx