Hi Stanislav, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on drm-tip/drm-tip v5.16-rc4 next-20211207] [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] url: https://github.com/0day-ci/linux/commits/Stanislav-Lisovskiy/drm-i915-Pass-plane-to-watermark-calculation-functions/20211207-190910 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: i386-randconfig-r035-20211207 (https://download.01.org/0day-ci/archive/20211208/202112080159.xgdgtsnI-lkp@xxxxxxxxx/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/8c7a53ddec5435d127040d03a1eb073ec71608dc git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Stanislav-Lisovskiy/drm-i915-Pass-plane-to-watermark-calculation-functions/20211207-190910 git checkout 8c7a53ddec5435d127040d03a1eb073ec71608dc # 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/i915/ 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/i915/intel_pm.c:5500:6: warning: no previous prototype for 'dg2_async_flip_optimization' [-Wmissing-prototypes] 5500 | bool dg2_async_flip_optimization(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/dg2_async_flip_optimization +5500 drivers/gpu/drm/i915/intel_pm.c 5499 > 5500 bool dg2_async_flip_optimization(struct drm_i915_private *i915, 5501 const struct intel_crtc_state *crtc_state, 5502 const struct intel_plane *plane) 5503 { 5504 return DISPLAY_VER(i915) >= 13 && 5505 crtc_state->uapi.async_flip && 5506 plane->async_flip; 5507 } 5508 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx