[agd5f:drm-next 16/132] drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubp.c:57:6: warning: no previous prototype for 'hubp31_program_extended_blank'

From: kernel test robot
Date: Fri Apr 08 2022 - 03:19:06 EST


tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head: 49aa98ca30cd186ab33fc5802066e2024d3bfa39
commit: e5fc78252ccd8dfc260f87d83905e9dffff6d975 [16/132] drm/amd/display: Add support for zstate during extended vblank
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220408/202204081535.oinzrfCs-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next
git checkout e5fc78252ccd8dfc260f87d83905e9dffff6d975
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 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/dcn31/dcn31_hubp.c:57:6: warning: no previous prototype for 'hubp31_program_extended_blank' [-Wmissing-prototypes]
57 | void hubp31_program_extended_blank(struct hubp *hubp, unsigned int min_dst_y_next_start_optimized)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/hubp31_program_extended_blank +57 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubp.c

56
> 57 void hubp31_program_extended_blank(struct hubp *hubp, unsigned int min_dst_y_next_start_optimized)
58 {
59 struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp);
60
61 REG_SET(BLANK_OFFSET_1, 0, MIN_DST_Y_NEXT_START, min_dst_y_next_start_optimized);
62 }
63

--
0-DAY CI Kernel Test Service
https://01.org/lkp