Hi Christian,

First bad commit (maybe != root cause):

tree:   https://gitlab.freedesktop.org/drm/misc/kernel.git for-linux-next
head:   2622649ad6cdbb3e77bfafc8c0fe686090b77f70
commit: 1f32f310a13c9fb67a9993ab67f596b3f960206f [4/13] dma-buf: inline 
spinlock for fence protection v5
config: i386-allmodconfig 
(https://download.01.org/0day-ci/archive/20260225/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260225/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

Note: the drm-misc/for-linux-next HEAD 2622649ad6cdbb3e77bfafc8c0fe686090b77f70 
builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/i915_active.c:1177:
   drivers/gpu/drm/i915/selftests/i915_active.c: In function 'active_flush':
>> drivers/gpu/drm/i915/selftests/i915_active.c:326:28: error: 'struct 
>> dma_fence' has no member named 'lock'
     326 |         spin_lock_irq(fence->lock);
         |                            ^~
   drivers/gpu/drm/i915/selftests/i915_active.c:328:30: error: 'struct 
dma_fence' has no member named 'lock'
     328 |         spin_unlock_irq(fence->lock); /* serialise with 
fence->cb_list */
         |                              ^~


vim +326 drivers/gpu/drm/i915/selftests/i915_active.c

38813767c7c5d9 Chris Wilson 2019-11-01  316  
e3e7aeec3281af Chris Wilson 2020-03-06  317  static void active_flush(struct 
i915_active *ref,
e3e7aeec3281af Chris Wilson 2020-03-06  318                      struct 
i915_active_fence *active)
e3e7aeec3281af Chris Wilson 2020-03-06  319  {
e3e7aeec3281af Chris Wilson 2020-03-06  320     struct dma_fence *fence;
e3e7aeec3281af Chris Wilson 2020-03-06  321  
e3e7aeec3281af Chris Wilson 2020-03-06  322     fence = 
xchg(__active_fence_slot(active), NULL);
e3e7aeec3281af Chris Wilson 2020-03-06  323     if (!fence)
e3e7aeec3281af Chris Wilson 2020-03-06  324             return;
e3e7aeec3281af Chris Wilson 2020-03-06  325  
e3e7aeec3281af Chris Wilson 2020-03-06 @326     spin_lock_irq(fence->lock);
e3e7aeec3281af Chris Wilson 2020-03-06  327     
__list_del_entry(&active->cb.node);
e3e7aeec3281af Chris Wilson 2020-03-06  328     spin_unlock_irq(fence->lock); 
/* serialise with fence->cb_list */
e3e7aeec3281af Chris Wilson 2020-03-06  329     atomic_dec(&ref->count);
e3e7aeec3281af Chris Wilson 2020-03-06  330  
e3e7aeec3281af Chris Wilson 2020-03-06  331     
GEM_BUG_ON(!test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags));
e3e7aeec3281af Chris Wilson 2020-03-06  332  }
e3e7aeec3281af Chris Wilson 2020-03-06  333  

:::::: The code at line 326 was first introduced by commit
:::::: e3e7aeec3281af446d7410d6982020e1aa5795fc drm/i915/selftests: Apply a 
heavy handed flush to i915_active

:::::: TO: Chris Wilson <[email protected]>
:::::: CC: Chris Wilson <[email protected]>

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

Reply via email to