Hi Thomas, kernel test robot noticed the following build errors:
[auto build test ERROR on drm/drm-next] [also build test ERROR on drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.18-rc2 next-20251024] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Thomas-Zimmermann/drm-client-Remove-pitch-from-struct-drm_client_buffer/20251020-231709 base: git://anongit.freedesktop.org/drm/drm drm-next patch link: https://lore.kernel.org/r/20251020151402.53013-5-tzimmermann%40suse.de patch subject: [PATCH 4/7] drm/client: Deprecate struct drm_client_buffer.gem config: arm-multi_v5_defconfig (https://download.01.org/0day-ci/archive/20251026/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251026/[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]/ All errors (new ones prefixed by >>): arm-linux-gnueabi-ld: drivers/gpu/drm/drm_client.o: in function `drm_client_buffer_vmap_local': >> drivers/gpu/drm/drm_client.c:278:(.text+0x214): undefined reference to >> `drm_gem_fb_get_obj' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_client.o: in function `drm_client_buffer_vunmap_local': drivers/gpu/drm/drm_client.c:307:(.text+0x280): undefined reference to `drm_gem_fb_get_obj' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_client.o: in function `drm_client_buffer_vmap': drivers/gpu/drm/drm_client.c:338:(.text+0x2b4): undefined reference to `drm_gem_fb_get_obj' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_client.o: in function `drm_client_buffer_vunmap': drivers/gpu/drm/drm_client.c:360:(.text+0x2ec): undefined reference to `drm_gem_fb_get_obj' arm-linux-gnueabi-ld: drivers/gpu/drm/drm_client.o: in function `drm_client_buffer_delete': drivers/gpu/drm/drm_client.c:178:(.text+0x6ec): undefined reference to `drm_gem_fb_get_obj' vim +278 drivers/gpu/drm/drm_client.c 254 255 /** 256 * drm_client_buffer_vmap_local - Map DRM client buffer into address space 257 * @buffer: DRM client buffer 258 * @map_copy: Returns the mapped memory's address 259 * 260 * This function maps a client buffer into kernel address space. If the 261 * buffer is already mapped, it returns the existing mapping's address. 262 * 263 * Client buffer mappings are not ref'counted. Each call to 264 * drm_client_buffer_vmap_local() should be closely followed by a call to 265 * drm_client_buffer_vunmap_local(). See drm_client_buffer_vmap() for 266 * long-term mappings. 267 * 268 * The returned address is a copy of the internal value. In contrast to 269 * other vmap interfaces, you don't need it for the client's vunmap 270 * function. So you can modify it at will during blit and draw operations. 271 * 272 * Returns: 273 * 0 on success, or a negative errno code otherwise. 274 */ 275 int drm_client_buffer_vmap_local(struct drm_client_buffer *buffer, 276 struct iosys_map *map_copy) 277 { > 278 struct drm_gem_object *gem = drm_gem_fb_get_obj(buffer->fb, 0); 279 struct iosys_map *map = &buffer->map; 280 int ret; 281 282 drm_gem_lock(gem); 283 284 ret = drm_gem_vmap_locked(gem, map); 285 if (ret) 286 goto err_drm_gem_vmap_unlocked; 287 *map_copy = *map; 288 289 return 0; 290 291 err_drm_gem_vmap_unlocked: 292 drm_gem_unlock(gem); 293 return ret; 294 } 295 EXPORT_SYMBOL(drm_client_buffer_vmap_local); 296 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
