Hi Imre, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] [cannot apply to drm-intel/for-linux-next v5.14-rc7 next-20210827] [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/Imre-Deak/drm-i915-adlp-Add-support-for-remapping-CCS-FBs/20210827-231214 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip config: x86_64-randconfig-r004-20210827 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 1076082a0d97bd5c16a25ee7cf3dbb6ee4b5a9fe) 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/0day-ci/linux/commit/ebed87d6cd7dc951ce86f16fa1a438382d14d443 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Imre-Deak/drm-i915-adlp-Add-support-for-remapping-CCS-FBs/20210827-231214 git checkout ebed87d6cd7dc951ce86f16fa1a438382d14d443 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 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/display/intel_fb.c:78:14: warning: no previous prototype for function 'gen12_ccs_aux_stride' [-Wmissing-prototypes] unsigned int gen12_ccs_aux_stride(struct intel_framebuffer *fb, int ccs_plane) ^ drivers/gpu/drm/i915/display/intel_fb.c:78:1: note: declare 'static' if the function is not intended to be used outside of this translation unit unsigned int gen12_ccs_aux_stride(struct intel_framebuffer *fb, int ccs_plane) ^ static 1 warning generated. vim +/gen12_ccs_aux_stride +78 drivers/gpu/drm/i915/display/intel_fb.c 77 > 78 unsigned int gen12_ccs_aux_stride(struct intel_framebuffer *fb, int ccs_plane) 79 { 80 struct drm_i915_private *i915 = to_i915(fb->base.dev); 81 int main_plane = skl_ccs_to_main_plane(&fb->base, ccs_plane); 82 unsigned int main_stride = fb->base.pitches[main_plane]; 83 unsigned int main_tile_width = intel_tile_width_bytes(&fb->base, main_plane); 84 85 /* 86 * On ADL-P the AUX stride must align with a power-of-two aligned main 87 * surface stride. The stride of the allocated main surface object can 88 * be less than this POT stride, which is then autopadded to the POT 89 * size. 90 */ 91 if (IS_ALDERLAKE_P(i915)) 92 main_stride = gen12_aligned_scanout_stride(fb, main_plane); 93 94 return DIV_ROUND_UP(main_stride, 4 * main_tile_width) * 64; 95 } 96 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip