Re: [PATCH] drm/amd/display: fix resuming from S3 sleep for Renoir iGPU
From: kernel test robot
Date: Sun Mar 08 2026 - 04:20:30 EST
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-rc2 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-ltp (https://download.01.org/0day-ci/archive/20260308/202603080959.llKqWvRQ-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260308/202603080959.llKqWvRQ-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603080959.llKqWvRQ-lkp@xxxxxxxxx/
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 'dccg21_init' [-Wmissing-prototypes]
99 | void dccg21_init(struct dccg *dccg)
| ^~~~~~~~~~~
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