Hi Karunika, kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-tip/drm-tip] [cannot apply to linux-review/Karunika-Choo/drm-panthor-Ignore-EOPNOTSUPP-for-shader-present-nvmem-lookup/20260922-214455 daeinki-drm-exynos/exynos-drm-next drm-i915/for-linux-next drm-i915/for-linux-next-fixes linus/master v7.4-rc2 next-20261109] [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/Karunika-Choo/drm-panthor-Ignore-EOPNOTSUPP-for-shader-present-nvmem-lookup/20261110-153822 base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20261110153907.3241978-18-karunika.choo%40arm.com patch subject: [PATCH v2 17/28] drm/panthor: Add arbitration scheduler config: um-randconfig-1001-20261111 (https://download.01.org/0day-ci/archive/20261111/[email protected]/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261111/[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/panthor/arbitration/panthor_arbitration_sched.c:223:3: >> error: call to undeclared function 'hrtimer_start'; ISO C99 and later do not >> support implicit function declarations [-Wimplicit-function-declaration] 223 | hrtimer_start(&sched->stop_timer.timer, | ^ >> drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:224:38: >> error: use of undeclared identifier 'HRTIMER_MODE_REL' 224 | ms_to_ktime(yield_timeout), HRTIMER_MODE_REL); | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:249:4: error: call to undeclared function 'hrtimer_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | hrtimer_start(&sched->grant_timer.timer, | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:251:11: error: use of undeclared identifier 'HRTIMER_MODE_REL' 251 | HRTIMER_MODE_REL); | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:291:3: error: call to undeclared function 'hrtimer_start'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | hrtimer_start(&sched->close_timer.timer, | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:292:38: error: use of undeclared identifier 'HRTIMER_MODE_REL' 292 | ms_to_ktime(yield_timeout), HRTIMER_MODE_REL); | ^ >> drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:458:6: >> error: call to undeclared function 'hrtimer_is_queued'; ISO C99 and later do >> not support implicit function declarations [-Wimplicit-function-declaration] 458 | if (hrtimer_is_queued(timer)) | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:483:6: error: call to undeclared function 'hrtimer_is_queued'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 483 | if (hrtimer_is_queued(timer)) | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:504:6: error: call to undeclared function 'hrtimer_is_queued'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 504 | if (hrtimer_is_queued(timer)) | ^ >> drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:621:2: >> error: call to undeclared function 'hrtimer_cancel'; ISO C99 and later do >> not support implicit function declarations [-Wimplicit-function-declaration] 621 | hrtimer_cancel(&sched->grant_timer.timer); | ^ >> drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:666:2: >> error: call to undeclared function 'hrtimer_setup'; ISO C99 and later do not >> support implicit function declarations [-Wimplicit-function-declaration] 666 | hrtimer_setup(&sched->grant_timer.timer, | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:668:26: error: use of undeclared identifier 'HRTIMER_MODE_REL' 668 | CLOCK_MONOTONIC, HRTIMER_MODE_REL); | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:671:26: error: use of undeclared identifier 'HRTIMER_MODE_REL' 671 | CLOCK_MONOTONIC, HRTIMER_MODE_REL); | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:674:26: error: use of undeclared identifier 'HRTIMER_MODE_REL' 674 | CLOCK_MONOTONIC, HRTIMER_MODE_REL); | ^ drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c:807:2: error: call to undeclared function 'hrtimer_cancel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 807 | hrtimer_cancel(&sched->grant_timer.timer); | ^ 15 errors generated. vim +/hrtimer_start +223 drivers/gpu/drm/panthor/arbitration/panthor_arbitration_sched.c 207 208 static void arb_sched_stop_locked(struct panthor_arbitration_sched *sched) 209 { 210 int ret; 211 212 lockdep_assert_held(&sched->lock); 213 214 ret = __arb_sched_stop_locked(sched); 215 if (!ret) { 216 if (sched->phase != ARB_SCHED_PHASE_STOPPING) { 217 dev_warn(sched->dev, "%s: Stop ACKED when not yielding", 218 sched->name); 219 return; 220 } 221 222 sched->stop_timer.epoch = sched->epoch; > 223 hrtimer_start(&sched->stop_timer.timer, > 224 ms_to_ktime(yield_timeout), > HRTIMER_MODE_REL); 225 } 226 } 227 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
