[PATCH 1/2] drm/sched: adding a new scheduling policy
kernel test robot
lkp at intel.com
Sat Oct 12 10:44:32 UTC 2024
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-exynos/exynos-drm-next]
[also build test ERROR on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.12-rc2 next-20241011]
[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/jesse-zhang-amd-com/drm-amdgpu-add-the-ring-id-schedule-module-parameter-for-amdgpu/20241011-142247
base: https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-next
patch link: https://lore.kernel.org/r/20241011062136.1019695-1-jesse.zhang%40amd.com
patch subject: [PATCH 1/2] drm/sched: adding a new scheduling policy
config: sparc64-randconfig-r073-20241012 (https://download.01.org/0day-ci/archive/20241012/202410121817.HUe5MN9d-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241012/202410121817.HUe5MN9d-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410121817.HUe5MN9d-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/panthor/panthor_drv.c: In function 'panthor_submit_ctx_add_deps_and_arm_jobs':
>> drivers/gpu/drm/panthor/panthor_drv.c:674:17: error: too few arguments to function 'drm_sched_job_arm'
674 | drm_sched_job_arm(ctx->jobs[i].job);
| ^~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/panthor/panthor_drv.c:20:
include/drm/gpu_scheduler.h:556:6: note: declared here
556 | void drm_sched_job_arm(struct drm_sched_job *job, int ring);
| ^~~~~~~~~~~~~~~~~
--
drivers/gpu/drm/scheduler/sched_main.c:405: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done'
>> drivers/gpu/drm/scheduler/sched_main.c:828: warning: Function parameter or struct member 'ring' not described in 'drm_sched_job_arm'
vim +/drm_sched_job_arm +674 drivers/gpu/drm/panthor/panthor_drv.c
4bdca11507928a Boris Brezillon 2024-02-29 655
4bdca11507928a Boris Brezillon 2024-02-29 656 /**
4bdca11507928a Boris Brezillon 2024-02-29 657 * panthor_submit_ctx_add_deps_and_arm_jobs() - Add jobs dependencies and arm jobs
4bdca11507928a Boris Brezillon 2024-02-29 658 * @ctx: Submit context.
4bdca11507928a Boris Brezillon 2024-02-29 659 *
4bdca11507928a Boris Brezillon 2024-02-29 660 * Must be called after the resv preparation has been taken care of.
4bdca11507928a Boris Brezillon 2024-02-29 661 *
4bdca11507928a Boris Brezillon 2024-02-29 662 * Return: 0 on success, a negative error code otherwise.
4bdca11507928a Boris Brezillon 2024-02-29 663 */
4bdca11507928a Boris Brezillon 2024-02-29 664 static int
4bdca11507928a Boris Brezillon 2024-02-29 665 panthor_submit_ctx_add_deps_and_arm_jobs(struct panthor_submit_ctx *ctx)
4bdca11507928a Boris Brezillon 2024-02-29 666 {
4bdca11507928a Boris Brezillon 2024-02-29 667 for (u32 i = 0; i < ctx->job_count; i++) {
4bdca11507928a Boris Brezillon 2024-02-29 668 int ret;
4bdca11507928a Boris Brezillon 2024-02-29 669
4bdca11507928a Boris Brezillon 2024-02-29 670 ret = panthor_submit_ctx_add_sync_deps_to_job(ctx, i);
4bdca11507928a Boris Brezillon 2024-02-29 671 if (ret)
4bdca11507928a Boris Brezillon 2024-02-29 672 return ret;
4bdca11507928a Boris Brezillon 2024-02-29 673
4bdca11507928a Boris Brezillon 2024-02-29 @674 drm_sched_job_arm(ctx->jobs[i].job);
4bdca11507928a Boris Brezillon 2024-02-29 675
4bdca11507928a Boris Brezillon 2024-02-29 676 ret = panthor_submit_ctx_update_job_sync_signal_fences(ctx, i);
4bdca11507928a Boris Brezillon 2024-02-29 677 if (ret)
4bdca11507928a Boris Brezillon 2024-02-29 678 return ret;
4bdca11507928a Boris Brezillon 2024-02-29 679 }
4bdca11507928a Boris Brezillon 2024-02-29 680
4bdca11507928a Boris Brezillon 2024-02-29 681 return 0;
4bdca11507928a Boris Brezillon 2024-02-29 682 }
4bdca11507928a Boris Brezillon 2024-02-29 683
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the amd-gfx
mailing list