Hi Stanislav, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Stanislav-Lisovskiy/drm-i915-display-Communicate-display-power-demands-to-pcode-more-accurately/20230227-175404 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230227095253.22415-1-stanislav.lisovskiy%40intel.com patch subject: [PATCH] drm/i915/display: Communicate display power demands to pcode more accurately config: i386-randconfig-r033-20230227 (https://download.01.org/0day-ci/archive/20230227/202302272052.ZvLMGyJl-lkp@xxxxxxxxx/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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 # https://github.com/intel-lab-lkp/linux/commit/bc4de3b25bbf043f68ef862c45f975b79af938be git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Stanislav-Lisovskiy/drm-i915-display-Communicate-display-power-demands-to-pcode-more-accurately/20230227-175404 git checkout bc4de3b25bbf043f68ef862c45f975b79af938be # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/i915/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202302272052.ZvLMGyJl-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_cdclk.c:3006:6: warning: no previous prototype for function 'intel_cdclk_need_serialize' [-Wmissing-prototypes] bool intel_cdclk_need_serialize(struct drm_i915_private *i915, ^ drivers/gpu/drm/i915/display/intel_cdclk.c:3006:1: note: declare 'static' if the function is not intended to be used outside of this translation unit bool intel_cdclk_need_serialize(struct drm_i915_private *i915, ^ static 1 warning generated. vim +/intel_cdclk_need_serialize +3006 drivers/gpu/drm/i915/display/intel_cdclk.c 3005 > 3006 bool intel_cdclk_need_serialize(struct drm_i915_private *i915, 3007 const struct intel_cdclk_state *old_cdclk_state, 3008 const struct intel_cdclk_state *new_cdclk_state) 3009 { 3010 /* 3011 * We need to poke hw for gen >= 12, because we notify PCode if 3012 * pipe power well count changes. 3013 */ 3014 return intel_cdclk_changed(&old_cdclk_state->actual, 3015 &new_cdclk_state->actual) || 3016 ((DISPLAY_VER(i915) >= 12 && 3017 hweight8(old_cdclk_state->active_pipes) != 3018 hweight8(new_cdclk_state->active_pipes))); 3019 } 3020 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests