All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3 4/7] drm/vmwgfx: Implement an infrastructure for write-coherent resources
Date: Thu, 03 Oct 2019 03:07:57 +0800	[thread overview]
Message-ID: <201910030339.K3dvMpgE%lkp@intel.com> (raw)
In-Reply-To: <20191002134730.40985-5-thomas_os@shipmail.org>

[-- Attachment #1: Type: text/plain, Size: 3303 bytes --]

Hi "Thomas,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.4-rc1 next-20191002]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Thomas-Hellstr-m-VMware/Emulated-coherent-graphics-memory-take-2/20191003-022615
config: x86_64-randconfig-s0-201939 (attached as .config)
compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c: In function 'vmw_mmap':
>> drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c:36:11: error: 'ttm_bo_vm_open' undeclared (first use in this function)
      .open = ttm_bo_vm_open,
              ^
   drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c:36:11: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c:37:12: error: 'ttm_bo_vm_close' undeclared (first use in this function)
      .close = ttm_bo_vm_close
               ^
--
   drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c: In function 'vmw_bo_vm_mkwrite':
>> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c:360:8: error: implicit declaration of function 'ttm_bo_vm_reserve' [-Werror=implicit-function-declaration]
     ret = ttm_bo_vm_reserve(bo, vmf);
           ^
   drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c: In function 'vmw_bo_vm_fault':
>> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c:410:3: error: 'TTM_BO_VM_NUM_PREFAULT' undeclared (first use in this function)
      TTM_BO_VM_NUM_PREFAULT;
      ^
   drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c:410:3: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c:411:8: error: implicit declaration of function 'ttm_bo_vm_fault_reserved' [-Werror=implicit-function-declaration]
     ret = ttm_bo_vm_fault_reserved(vmf, prot, num_prefault);
           ^
   cc1: some warnings being treated as errors

vim +/ttm_bo_vm_open +36 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c

    29	
    30	int vmw_mmap(struct file *filp, struct vm_area_struct *vma)
    31	{
    32		static const struct vm_operations_struct vmw_vm_ops = {
    33			.pfn_mkwrite = vmw_bo_vm_mkwrite,
    34			.page_mkwrite = vmw_bo_vm_mkwrite,
    35			.fault = vmw_bo_vm_fault,
  > 36			.open = ttm_bo_vm_open,
  > 37			.close = ttm_bo_vm_close
    38		};
    39		struct drm_file *file_priv = filp->private_data;
    40		struct vmw_private *dev_priv = vmw_priv(file_priv->minor->dev);
    41		int ret = ttm_bo_mmap(filp, vma, &dev_priv->bdev);
    42	
    43		if (ret)
    44			return ret;
    45	
    46		vma->vm_ops = &vmw_vm_ops;
    47	
    48		return 0;
    49	}
    50	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30803 bytes --]

  reply	other threads:[~2019-10-02 19:07 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-02 13:47 [PATCH v3 0/7] Emulated coherent graphics memory take 2 Thomas Hellström (VMware)
2019-10-02 13:47 ` [PATCH v3 1/7] mm: Remove BUG_ON mmap_sem not held from xxx_trans_huge_lock() Thomas Hellström (VMware)
2019-10-03 11:02   ` Kirill A. Shutemov
2019-10-03 11:32     ` Thomas Hellström (VMware)
2019-10-02 13:47 ` [PATCH v3 2/7] mm: Add a walk_page_mapping() function to the pagewalk code Thomas Hellström (VMware)
2019-10-02 17:52   ` Linus Torvalds
2019-10-03 11:17   ` Kirill A. Shutemov
2019-10-03 11:32     ` Thomas Hellström (VMware)
2019-10-04 12:37       ` Kirill A. Shutemov
2019-10-04 12:58         ` Thomas Hellström (VMware)
2019-10-04 13:24           ` Kirill A. Shutemov
2019-10-02 13:47 ` [PATCH v3 3/7] mm: Add write-protect and clean utilities for address space ranges Thomas Hellström (VMware)
2019-10-02 18:06   ` Linus Torvalds
2019-10-02 18:13     ` Matthew Wilcox
2019-10-02 19:09     ` Thomas Hellström (VMware)
2019-10-02 20:27       ` Linus Torvalds
2019-10-03  7:56         ` Thomas Hellstrom
2019-10-03 16:55           ` Linus Torvalds
2019-10-03 18:03             ` Thomas Hellström (VMware)
2019-10-03 18:11               ` Linus Torvalds
2019-10-02 13:47 ` [PATCH v3 4/7] drm/vmwgfx: Implement an infrastructure for write-coherent resources Thomas Hellström (VMware)
2019-10-02 19:07   ` kbuild test robot [this message]
2019-10-02 19:17   ` kbuild test robot
2019-10-02 13:47 ` [PATCH v3 5/7] drm/vmwgfx: Use an RBtree instead of linked list for MOB resources Thomas Hellström (VMware)
2019-10-02 13:47 ` [PATCH v3 6/7] drm/vmwgfx: Implement an infrastructure for read-coherent resources Thomas Hellström (VMware)
2019-10-02 13:47 ` [PATCH v3 7/7] drm/vmwgfx: Add surface dirty-tracking callbacks Thomas Hellström (VMware)

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=201910030339.K3dvMpgE%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.