* [android-common:android16-6.12-lts 152/152] drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:157: warning: Function parameter or struct member 'flags' not described in 'amdgpu_sync_fence'
@ 2026-11-17 0:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-17 0:46 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android16-6.12-lts
head: c5e3d3a3d3b60eb95c36e3c49dbfe7a34c220c5a
commit: 7770f84cf3c19f5f26c90db3466f532f0fed8364 [152/152] drm/amdgpu: use GFP_NOWAIT for memory allocations
config: x86_64-randconfig-r2307-20261116 (https://download.01.org/0day-ci/archive/20261117/202611170116.ffmj2zKA-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261117/202611170116.ffmj2zKA-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/202611170116.ffmj2zKA-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:157: warning: Function parameter or struct member 'flags' not described in 'amdgpu_sync_fence'
vim +157 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
832a902f9433b81 Christian König 2016-02-15 146
d38ceaf99ed015f Alex Deucher 2015-04-20 147 /**
91e1a5207edec9e Christian König 2015-07-06 148 * amdgpu_sync_fence - remember to sync to this fence
d38ceaf99ed015f Alex Deucher 2015-04-20 149 *
d38ceaf99ed015f Alex Deucher 2015-04-20 150 * @sync: sync object to add fence to
e095fc17bbd216c Christian König 2019-11-29 151 * @f: fence to sync to
d38ceaf99ed015f Alex Deucher 2015-04-20 152 *
e095fc17bbd216c Christian König 2019-11-29 153 * Add the fence to the sync object.
d38ceaf99ed015f Alex Deucher 2015-04-20 154 */
7770f84cf3c19f5 Christian König 2026-09-22 155 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f,
7770f84cf3c19f5 Christian König 2026-09-22 156 gfp_t flags)
d38ceaf99ed015f Alex Deucher 2015-04-20 @157 {
f91b3a694181209 Christian König 2015-08-20 158 struct amdgpu_sync_entry *e;
d38ceaf99ed015f Alex Deucher 2015-04-20 159
91e1a5207edec9e Christian König 2015-07-06 160 if (!f)
91e1a5207edec9e Christian König 2015-07-06 161 return 0;
3c62338c26bf267 Chunming Zhou 2015-08-20 162
174b328bc89b5fa Christian König 2020-05-27 163 if (amdgpu_sync_add_later(sync, f))
f91b3a694181209 Christian König 2015-08-20 164 return 0;
f91b3a694181209 Christian König 2015-08-20 165
7770f84cf3c19f5 Christian König 2026-09-22 166 e = kmem_cache_alloc(amdgpu_sync_slab, flags);
f91b3a694181209 Christian König 2015-08-20 167 if (!e)
f91b3a694181209 Christian König 2015-08-20 168 return -ENOMEM;
f91b3a694181209 Christian König 2015-08-20 169
f91b3a694181209 Christian König 2015-08-20 170 hash_add(sync->fences, &e->node, f->context);
f54d1867005c332 Chris Wilson 2016-10-25 171 e->fence = dma_fence_get(f);
f91b3a694181209 Christian König 2015-08-20 172 return 0;
f91b3a694181209 Christian König 2015-08-20 173 }
d38ceaf99ed015f Alex Deucher 2015-04-20 174
:::::: The code at line 157 was first introduced by commit
:::::: d38ceaf99ed015f2a0b9af3499791bd3a3daae21 drm/amdgpu: add core driver (v4)
:::::: TO: Alex Deucher <alexander.deucher@amd.com>
:::::: CC: Alex Deucher <alexander.deucher@amd.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-17 0:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-17 0:46 [android-common:android16-6.12-lts 152/152] drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c:157: warning: Function parameter or struct member 'flags' not described in 'amdgpu_sync_fence' kernel test robot
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.