Hi Rafael, kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on linus/master v7.0-rc3 next-20260306] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Rafael-Passos/drm-amd-display-fix-resuming-from-S3-sleep-for-Renoir-iGPU/20260308-080715 base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20260308000515.890688-1-rafael%40rcpassos.me patch subject: [PATCH] drm/amd/display: fix resuming from S3 sleep for Renoir iGPU config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260310/[email protected]/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) rustc: rustc 1.88.0 (6b00bc388 2025-06-23) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260310/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/dc/dccg/dcn21/dcn21_dccg.c:99:6: >> warning: no previous prototype for function 'dccg21_init' >> [-Wmissing-prototypes] 99 | void dccg21_init(struct dccg *dccg) | ^ drivers/gpu/drm/amd/amdgpu/../display/dc/dccg/dcn21/dcn21_dccg.c:99:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 99 | void dccg21_init(struct dccg *dccg) | ^ | static 1 warning generated. vim +/dccg21_init +99 drivers/gpu/drm/amd/amdgpu/../display/dc/dccg/dcn21/dcn21_dccg.c 98 > 99 void dccg21_init(struct dccg *dccg) 100 { 101 struct dcn_dccg *dccg_dcn = TO_DCN_DCCG(dccg); 102 103 /* Hardcoded register values for DCN21 104 * These are specific to 100Mhz refclk 105 * Different ASICs with different refclk may override this in their own init 106 */ 107 REG_WRITE(MICROSECOND_TIME_BASE_DIV, 0x00120464); 108 REG_WRITE(MILLISECOND_TIME_BASE_DIV, 0x001186a0); 109 REG_WRITE(DISPCLK_FREQ_CHANGE_CNTL, 0x0e01003c); 110 111 if (REG(REFCLK_CNTL)) 112 REG_WRITE(REFCLK_CNTL, 0); 113 } 114 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
