Hi Luca, kernel test robot noticed the following build errors:
[auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.17 next-20251009] [cannot apply to drm-i915/for-linux-next-fixes] [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/Luca-Coelho/drm-i915-wm-clarify-watermark-ops-with-comments/20251010-123245 base: git://anongit.freedesktop.org/drm-intel for-linux-next patch link: https://lore.kernel.org/r/20251007075729.468669-5-luciano.coelho%40intel.com patch subject: [PATCH v2 4/7] drm/i915/wm: convert x/y-tiling bools to an enum config: arm-randconfig-002-20251010 (https://download.01.org/0day-ci/archive/20251010/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251010/[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 errors (new ones prefixed by >>): drivers/gpu/drm/i915/display/skl_watermark.c: In function 'skl_wm_latency': >> drivers/gpu/drm/i915/display/skl_watermark.c:629:33: error: >> 'WM_TILING_X_TILED' undeclared (first use in this function) 629 | wp && wp->tiling == WM_TILING_X_TILED) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/display/skl_watermark.c:629:33: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu/drm/i915/display/skl_watermark.c: In function 'skl_compute_wm_params': drivers/gpu/drm/i915/display/skl_watermark.c:1673:30: error: 'WM_TILING_X_TILED' undeclared (first use in this function) 1673 | wp->tiling = WM_TILING_X_TILED; | ^~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/i915/display/skl_watermark.c:1716:27: error: >> 'WM_TILING_Y_FAMILY' undeclared (first use in this function); did you mean >> 'WM_TILING_Y_Yf_4'? 1716 | if (wp->tiling == WM_TILING_Y_FAMILY) { | ^~~~~~~~~~~~~~~~~~ | WM_TILING_Y_Yf_4 drivers/gpu/drm/i915/display/skl_watermark.c: In function 'skl_compute_plane_wm': drivers/gpu/drm/i915/display/skl_watermark.c:1820:27: error: 'WM_TILING_Y_FAMILY' undeclared (first use in this function); did you mean 'WM_TILING_Y_Yf_4'? 1820 | if (wp->tiling == WM_TILING_Y_FAMILY) { | ^~~~~~~~~~~~~~~~~~ | WM_TILING_Y_Yf_4 drivers/gpu/drm/i915/display/skl_watermark.c: In function 'skl_compute_transition_wm': drivers/gpu/drm/i915/display/skl_watermark.c:2018:27: error: 'WM_TILING_Y_FAMILY' undeclared (first use in this function); did you mean 'WM_TILING_Y_Yf_4'? 2018 | if (wp->tiling == WM_TILING_Y_FAMILY) { | ^~~~~~~~~~~~~~~~~~ | WM_TILING_Y_Yf_4 vim +/WM_TILING_X_TILED +629 drivers/gpu/drm/i915/display/skl_watermark.c 597 598 static int skl_compute_wm_params(const struct intel_crtc_state *crtc_state, 599 int width, const struct drm_format_info *format, 600 u64 modifier, unsigned int rotation, 601 u32 plane_pixel_rate, struct skl_wm_params *wp, 602 int color_plane, unsigned int pan_x); 603 604 static void skl_compute_plane_wm(const struct intel_crtc_state *crtc_state, 605 struct intel_plane *plane, 606 int level, 607 unsigned int latency, 608 const struct skl_wm_params *wp, 609 const struct skl_wm_level *result_prev, 610 struct skl_wm_level *result /* out */); 611 612 static unsigned int skl_wm_latency(struct intel_display *display, int level, 613 const struct skl_wm_params *wp) 614 { 615 unsigned int latency = display->wm.skl_latency[level]; 616 617 if (latency == 0) 618 return 0; 619 620 /* 621 * WaIncreaseLatencyIPCEnabled: kbl,cfl 622 * Display WA #1141: kbl,cfl 623 */ 624 if ((display->platform.kabylake || display->platform.coffeelake || 625 display->platform.cometlake) && skl_watermark_ipc_enabled(display)) 626 latency += 4; 627 628 if (skl_needs_memory_bw_wa(display) && > 629 wp && wp->tiling == WM_TILING_X_TILED) 630 latency += 15; 631 632 return latency; 633 } 634 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
