public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alice Ryhl <aliceryhl@google.com>,
	Danilo Krummrich <dakr@kernel.org>,
	Daniel Almeida <daniel.almeida@collabora.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	"Matthew Brost" <matthew.brost@intel.com>,
	"Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Boris Brezillon" <bbrezillon@kernel.org>,
	"Steven Price" <steven.price@arm.com>,
	"Liviu Dudau" <liviu.dudau@arm.com>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Frank Binns" <frank.binns@imgtec.com>,
	"Matt Coster" <matt.coster@imgtec.com>,
	"Rob Clark" <robin.clark@oss.qualcomm.com>,
	"Dmitry Baryshkov" <lumag@kernel.org>,
	"Abhinav Kumar" <abhinav.kumar@linux.dev>,
	"Jessica Zhang" <jessica.zhang@oss.qualcomm.com>,
	"Sean Paul" <sean@poorly.run>,
	"Marijn Suijten" <marijn.suijten@somainline.org>,
	"Lyude Paul" <lyude@redhat.com>,
	"Lucas De Marchi" <lucas.demarchi@intel.com>,
	"Rodrigo Vivi" <rodrigo.vivi@intel.com>
Subject: Re: [PATCH 4/4] rust: drm: add GPUVM immediate mode abstraction
Date: Mon, 1 Dec 2025 18:44:51 +0800	[thread overview]
Message-ID: <202512011741.Euw2XF0j-lkp@intel.com> (raw)
In-Reply-To: <20251128-gpuvm-rust-v1-4-ebf66bf234e0@google.com>

Hi Alice,

kernel test robot noticed the following build errors:

[auto build test ERROR on 77b686f688126a5f758b51441a03186e9eb1b0f1]

url:    https://github.com/intel-lab-lkp/linux/commits/Alice-Ryhl/drm-gpuvm-take-GEM-lock-inside-drm_gpuvm_bo_obtain_prealloc/20251128-221710
base:   77b686f688126a5f758b51441a03186e9eb1b0f1
patch link:    https://lore.kernel.org/r/20251128-gpuvm-rust-v1-4-ebf66bf234e0%40google.com
patch subject: [PATCH 4/4] rust: drm: add GPUVM immediate mode abstraction
config: x86_64-randconfig-006-20251201 (https://download.01.org/0day-ci/archive/20251201/202512011741.Euw2XF0j-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251201/202512011741.Euw2XF0j-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/202512011741.Euw2XF0j-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0425]: cannot find function `drm_gpuvm_get` in crate `bindings`
   --> rust/kernel/drm/gpuvm/mod.rs:58:28
   |
   58    |         unsafe { bindings::drm_gpuvm_get(self.vm.get()) };
   |                            ^^^^^^^^^^^^^ help: a function with a similar name exists: `drm_gpuvm_put`
   |
   ::: rust/bindings/bindings_generated.rs:75807:5
   |
   75807 |     pub fn drm_gpuvm_put(gpuvm: *mut drm_gpuvm);
   |     -------------------------------------------- similarly named function `drm_gpuvm_put` defined here
--
>> error[E0425]: cannot find function `drm_gpuvm_is_extobj` in crate `bindings`
   --> rust/kernel/drm/gpuvm/mod.rs:217:28
   |
   217   |         unsafe { bindings::drm_gpuvm_is_extobj(self.as_raw(), obj.as_raw()) }
   |                            ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `drm_gpuvm_bo_extobj_add`
   |
   ::: rust/bindings/bindings_generated.rs:75985:5
   |
   75985 |     pub fn drm_gpuvm_bo_extobj_add(vm_bo: *mut drm_gpuvm_bo);
   |     --------------------------------------------------------- similarly named function `drm_gpuvm_bo_extobj_add` defined here
--
>> error[E0425]: cannot find function `drm_gpuvm_exec_unlock` in crate `bindings`
   --> rust/kernel/drm/gpuvm/mod.rs:345:28
   |
   345   |         unsafe { bindings::drm_gpuvm_exec_unlock(self.exec.get()) };
   |                            ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `drm_gpuvm_exec_lock`
   |
   ::: rust/bindings/bindings_generated.rs:75876:5
   |
   75876 |     pub fn drm_gpuvm_exec_lock(vm_exec: *mut drm_gpuvm_exec) -> ffi::c_int;
   |     ----------------------------------------------------------------------- similarly named function `drm_gpuvm_exec_lock` defined here
--
>> error[E0425]: cannot find function `dma_resv_lock` in crate `bindings`
   --> rust/kernel/drm/gpuvm/mod.rs:376:28
   |
   376   |         unsafe { bindings::dma_resv_lock(self.raw_resv_lock(), ptr::null_mut()) };
   |                            ^^^^^^^^^^^^^ help: a function with a similar name exists: `dma_resv_fini`
   |
   ::: rust/bindings/bindings_generated.rs:74915:5
   |
   74915 |     pub fn dma_resv_fini(obj: *mut dma_resv);
   |     ----------------------------------------- similarly named function `dma_resv_fini` defined here
--
>> error[E0425]: cannot find function `dma_resv_unlock` in crate `bindings`
   --> rust/kernel/drm/gpuvm/mod.rs:392:28
   |
   392  |         unsafe { bindings::dma_resv_unlock(self.0.raw_resv_lock()) };
   |                            ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `mmap_read_unlock`
   |
   ::: rust/bindings/bindings_helpers_generated.rs:1129:5
   |
   1129 |     pub fn mmap_read_unlock(mm: *mut mm_struct);
   |     -------------------------------------------- similarly named function `mmap_read_unlock` defined here

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

           reply	other threads:[~2025-12-01 10:45 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20251128-gpuvm-rust-v1-4-ebf66bf234e0@google.com>]

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=202512011741.Euw2XF0j-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=a.hindborg@kernel.org \
    --cc=abhinav.kumar@linux.dev \
    --cc=airlied@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=bbrezillon@kernel.org \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=frank.binns@imgtec.com \
    --cc=gary@garyguo.net \
    --cc=jessica.zhang@oss.qualcomm.com \
    --cc=liviu.dudau@arm.com \
    --cc=llvm@lists.linux.dev \
    --cc=lossin@kernel.org \
    --cc=lucas.demarchi@intel.com \
    --cc=lumag@kernel.org \
    --cc=lyude@redhat.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=marijn.suijten@somainline.org \
    --cc=matt.coster@imgtec.com \
    --cc=matthew.brost@intel.com \
    --cc=mripard@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ojeda@kernel.org \
    --cc=robin.clark@oss.qualcomm.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=sean@poorly.run \
    --cc=simona@ffwll.ch \
    --cc=steven.price@arm.com \
    --cc=thomas.hellstrom@linux.intel.com \
    --cc=tmgross@umich.edu \
    --cc=tzimmermann@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox