From: kernel test robot <lkp@intel.com>
To: Matthew Brost <matthew.brost@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>,
intel-xe@lists.freedesktop.org, oe-kbuild-all@lists.linux.dev
Subject: [Intel-xe] [drm-xe:drm-xe-next 963/1426] drivers/gpu/drm/v3d/v3d_sched.c:403:30: error: 'ULL' undeclared
Date: Mon, 30 Oct 2023 23:14:39 +0800 [thread overview]
Message-ID: <202310302310.8sINH2Pc-lkp@intel.com> (raw)
tree: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
head: d7eb9a5c3acda8d87699bc82add7e8d88f5f4700
commit: 394fe33ea259ba7b01dd7b24cc7e9ddf98551c56 [963/1426] drm/sched: Move schedule policy to scheduler
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20231030/202310302310.8sINH2Pc-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231030/202310302310.8sINH2Pc-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310302310.8sINH2Pc-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/gpu/drm/v3d/v3d_sched.c: In function 'v3d_sched_init':
>> drivers/gpu/drm/v3d/v3d_sched.c:403:30: error: 'ULL' undeclared (first use in this function)
403 | ULL, "v3d_render", DRM_SCHED_POLICY_DEFAULT,
| ^~~
drivers/gpu/drm/v3d/v3d_sched.c:403:30: note: each undeclared identifier is reported only once for each function it appears in
vim +/ULL +403 drivers/gpu/drm/v3d/v3d_sched.c
381
382 int
383 v3d_sched_init(struct v3d_dev *v3d)
384 {
385 int hw_jobs_limit = 1;
386 int job_hang_limit = 0;
387 int hang_limit_ms = 500;
388 int ret;
389
390 ret = drm_sched_init(&v3d->queue[V3D_BIN].sched,
391 &v3d_bin_sched_ops, NULL,
392 hw_jobs_limit, job_hang_limit,
393 msecs_to_jiffies(hang_limit_ms), NULL,
394 NULL, "v3d_bin", DRM_SCHED_POLICY_DEFAULT,
395 v3d->drm.dev);
396 if (ret)
397 return ret;
398
399 ret = drm_sched_init(&v3d->queue[V3D_RENDER].sched,
400 &v3d_render_sched_ops, NULL,
401 hw_jobs_limit, job_hang_limit,
402 msecs_to_jiffies(hang_limit_ms), NULL,
> 403 ULL, "v3d_render", DRM_SCHED_POLICY_DEFAULT,
404 v3d->drm.dev);
405 if (ret)
406 goto fail;
407
408 ret = drm_sched_init(&v3d->queue[V3D_TFU].sched,
409 &v3d_tfu_sched_ops, NULL,
410 hw_jobs_limit, job_hang_limit,
411 msecs_to_jiffies(hang_limit_ms), NULL,
412 NULL, "v3d_tfu", DRM_SCHED_POLICY_DEFAULT,
413 v3d->drm.dev);
414 if (ret)
415 goto fail;
416
417 if (v3d_has_csd(v3d)) {
418 ret = drm_sched_init(&v3d->queue[V3D_CSD].sched,
419 &v3d_csd_sched_ops, NULL,
420 hw_jobs_limit, job_hang_limit,
421 msecs_to_jiffies(hang_limit_ms), NULL,
422 NULL, "v3d_csd", DRM_SCHED_POLICY_DEFAULT,
423 v3d->drm.dev);
424 if (ret)
425 goto fail;
426
427 ret = drm_sched_init(&v3d->queue[V3D_CACHE_CLEAN].sched,
428 &v3d_cache_clean_sched_ops, NULL,
429 hw_jobs_limit, job_hang_limit,
430 msecs_to_jiffies(hang_limit_ms), NULL,
431 NULL, "v3d_cache_clean",
432 DRM_SCHED_POLICY_DEFAULT, v3d->drm.dev);
433 if (ret)
434 goto fail;
435 }
436
437 return 0;
438
439 fail:
440 v3d_sched_fini(v3d);
441 return ret;
442 }
443
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Matthew Brost <matthew.brost@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, intel-xe@lists.freedesktop.org,
"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
"Thomas Hellström" <thomas.hellstrom@linux.intel.com>
Subject: [drm-xe:drm-xe-next 963/1426] drivers/gpu/drm/v3d/v3d_sched.c:403:30: error: 'ULL' undeclared
Date: Mon, 30 Oct 2023 23:14:39 +0800 [thread overview]
Message-ID: <202310302310.8sINH2Pc-lkp@intel.com> (raw)
tree: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
head: d7eb9a5c3acda8d87699bc82add7e8d88f5f4700
commit: 394fe33ea259ba7b01dd7b24cc7e9ddf98551c56 [963/1426] drm/sched: Move schedule policy to scheduler
config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20231030/202310302310.8sINH2Pc-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231030/202310302310.8sINH2Pc-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310302310.8sINH2Pc-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/gpu/drm/v3d/v3d_sched.c: In function 'v3d_sched_init':
>> drivers/gpu/drm/v3d/v3d_sched.c:403:30: error: 'ULL' undeclared (first use in this function)
403 | ULL, "v3d_render", DRM_SCHED_POLICY_DEFAULT,
| ^~~
drivers/gpu/drm/v3d/v3d_sched.c:403:30: note: each undeclared identifier is reported only once for each function it appears in
vim +/ULL +403 drivers/gpu/drm/v3d/v3d_sched.c
381
382 int
383 v3d_sched_init(struct v3d_dev *v3d)
384 {
385 int hw_jobs_limit = 1;
386 int job_hang_limit = 0;
387 int hang_limit_ms = 500;
388 int ret;
389
390 ret = drm_sched_init(&v3d->queue[V3D_BIN].sched,
391 &v3d_bin_sched_ops, NULL,
392 hw_jobs_limit, job_hang_limit,
393 msecs_to_jiffies(hang_limit_ms), NULL,
394 NULL, "v3d_bin", DRM_SCHED_POLICY_DEFAULT,
395 v3d->drm.dev);
396 if (ret)
397 return ret;
398
399 ret = drm_sched_init(&v3d->queue[V3D_RENDER].sched,
400 &v3d_render_sched_ops, NULL,
401 hw_jobs_limit, job_hang_limit,
402 msecs_to_jiffies(hang_limit_ms), NULL,
> 403 ULL, "v3d_render", DRM_SCHED_POLICY_DEFAULT,
404 v3d->drm.dev);
405 if (ret)
406 goto fail;
407
408 ret = drm_sched_init(&v3d->queue[V3D_TFU].sched,
409 &v3d_tfu_sched_ops, NULL,
410 hw_jobs_limit, job_hang_limit,
411 msecs_to_jiffies(hang_limit_ms), NULL,
412 NULL, "v3d_tfu", DRM_SCHED_POLICY_DEFAULT,
413 v3d->drm.dev);
414 if (ret)
415 goto fail;
416
417 if (v3d_has_csd(v3d)) {
418 ret = drm_sched_init(&v3d->queue[V3D_CSD].sched,
419 &v3d_csd_sched_ops, NULL,
420 hw_jobs_limit, job_hang_limit,
421 msecs_to_jiffies(hang_limit_ms), NULL,
422 NULL, "v3d_csd", DRM_SCHED_POLICY_DEFAULT,
423 v3d->drm.dev);
424 if (ret)
425 goto fail;
426
427 ret = drm_sched_init(&v3d->queue[V3D_CACHE_CLEAN].sched,
428 &v3d_cache_clean_sched_ops, NULL,
429 hw_jobs_limit, job_hang_limit,
430 msecs_to_jiffies(hang_limit_ms), NULL,
431 NULL, "v3d_cache_clean",
432 DRM_SCHED_POLICY_DEFAULT, v3d->drm.dev);
433 if (ret)
434 goto fail;
435 }
436
437 return 0;
438
439 fail:
440 v3d_sched_fini(v3d);
441 return ret;
442 }
443
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2023-10-30 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 15:14 kernel test robot [this message]
2023-10-30 15:14 ` [drm-xe:drm-xe-next 963/1426] drivers/gpu/drm/v3d/v3d_sched.c:403:30: error: 'ULL' undeclared kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202310302310.8sINH2Pc-lkp@intel.com \
--to=lkp@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.brost@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rodrigo.vivi@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.