tree: git://people.freedesktop.org/~airlied/linux.git drm-syncobj-tip head: a7ce6e30a1f755c4ee18025134fb8c8069a76d80 commit: a7ce6e30a1f755c4ee18025134fb8c8069a76d80 [9/9] Merge git://git.freedesktop.org/git/drm-tip into drm-syncobj-tip config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout a7ce6e30a1f755c4ee18025134fb8c8069a76d80 # save the attached .config to linux build tree make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c: In function 'etnaviv_ioctl_gem_submit': >> drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:456:15: error: too few arguments to function 'sync_file_create' sync_file = sync_file_create(submit->fence); ^~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c:19:0: include/linux/sync_file.h:62:19: note: declared here struct sync_file *sync_file_create(struct dma_fence *fence, uint32_t type, uint32_t flags); ^~~~~~~~~~~~~~~~ vim +/sync_file_create +456 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c a8c21a54 The etnaviv authors 2015-12-03 440 goto out; a8c21a54 The etnaviv authors 2015-12-03 441 a8c21a54 The etnaviv authors 2015-12-03 442 memcpy(cmdbuf->vaddr, stream, args->stream_size); a8c21a54 The etnaviv authors 2015-12-03 443 cmdbuf->user_size = ALIGN(args->stream_size, 8); a8c21a54 The etnaviv authors 2015-12-03 444 a8c21a54 The etnaviv authors 2015-12-03 445 ret = etnaviv_gpu_submit(gpu, submit, cmdbuf); a8c21a54 The etnaviv authors 2015-12-03 446 if (ret == 0) a8c21a54 The etnaviv authors 2015-12-03 447 cmdbuf = NULL; a8c21a54 The etnaviv authors 2015-12-03 448 78ec187f Philipp Zabel 2017-03-02 449 if (args->flags & ETNA_SUBMIT_FENCE_FD_OUT) { 78ec187f Philipp Zabel 2017-03-02 450 /* 78ec187f Philipp Zabel 2017-03-02 451 * This can be improved: ideally we want to allocate the sync 78ec187f Philipp Zabel 2017-03-02 452 * file before kicking off the GPU job and just attach the 78ec187f Philipp Zabel 2017-03-02 453 * fence to the sync file here, eliminating the ENOMEM 78ec187f Philipp Zabel 2017-03-02 454 * possibility at this stage. 78ec187f Philipp Zabel 2017-03-02 455 */ 78ec187f Philipp Zabel 2017-03-02 @456 sync_file = sync_file_create(submit->fence); 78ec187f Philipp Zabel 2017-03-02 457 if (!sync_file) { 78ec187f Philipp Zabel 2017-03-02 458 ret = -ENOMEM; 78ec187f Philipp Zabel 2017-03-02 459 goto out; 78ec187f Philipp Zabel 2017-03-02 460 } 78ec187f Philipp Zabel 2017-03-02 461 fd_install(out_fence_fd, sync_file->file); 78ec187f Philipp Zabel 2017-03-02 462 } 78ec187f Philipp Zabel 2017-03-02 463 78ec187f Philipp Zabel 2017-03-02 464 args->fence_fd = out_fence_fd; :::::: The code at line 456 was first introduced by commit :::::: 78ec187f64fa5d8f837b8fc5bbbad88a89b63ab4 drm/etnaviv: submit support for out-fences :::::: TO: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> :::::: CC: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel