From: kernel test robot <lkp@intel.com>
To: Thomas Zimmermann <tzimmermann@suse.de>,
simona@ffwll.ch, airlied@gmail.com, mripard@kernel.org,
maarten.lankhorst@linux.intel.com, geert@linux-m68k.org,
tomi.valkeinen@ideasonboard.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
dri-devel@lists.freedesktop.org,
linux-mediatek@lists.infradead.org,
freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org,
imx@lists.linux.dev, linux-samsung-soc@vger.kernel.org,
nouveau@lists.freedesktop.org, virtualization@lists.linux.dev,
spice-devel@lists.freedesktop.org,
linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org, linux-tegra@vger.kernel.org,
intel-xe@lists.freedesktop.org, xen-devel@lists.xenproject.org,
Thomas Zimmermann <tzimmermann@suse.de>,
Biju Das <biju.das.jz@bp.renesas.com>
Subject: Re: [PATCH v4 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes with drm_mode_size_dumb()
Date: Thu, 13 Mar 2025 11:58:50 +0800 [thread overview]
Message-ID: <202503131309.ZzS9Tova-lkp@intel.com> (raw)
In-Reply-To: <20250311155120.442633-19-tzimmermann@suse.de>
Hi Thomas,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20250311]
[also build test ERROR on v6.14-rc6]
[cannot apply to drm-exynos/exynos-drm-next rockchip/for-next tegra/for-next drm-xe/drm-xe-next linus/master v6.14-rc6 v6.14-rc5 v6.14-rc4]
[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-dumb-buffers-Sanitize-output-on-errors/20250311-235818
base: next-20250311
patch link: https://lore.kernel.org/r/20250311155120.442633-19-tzimmermann%40suse.de
patch subject: [PATCH v4 18/25] drm/renesas/rz-du: Compute dumb-buffer sizes with drm_mode_size_dumb()
config: i386-buildonly-randconfig-003-20250313 (https://download.01.org/0day-ci/archive/20250313/202503131309.ZzS9Tova-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250313/202503131309.ZzS9Tova-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/202503131309.ZzS9Tova-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c:10:
In file included from include/drm/drm_atomic.h:31:
In file included from include/drm/drm_crtc.h:32:
In file included from include/drm/drm_modes.h:33:
In file included from include/drm/drm_connector.h:32:
In file included from include/drm/drm_util.h:36:
In file included from include/linux/kgdb.h:19:
In file included from include/linux/kprobes.h:28:
In file included from include/linux/ftrace.h:13:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2296:
include/linux/vmstat.h:507:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
507 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c:80:8: error: call to undeclared function 'drm_mode_size_dumb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
80 | ret = drm_mode_size_dumb(dev, args, 16 * args->bpp / 8, 0);
| ^
drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c:80:8: note: did you mean 'drm_mode_set_name'?
include/drm/drm_modes.h:530:6: note: 'drm_mode_set_name' declared here
530 | void drm_mode_set_name(struct drm_display_mode *mode);
| ^
1 warning and 1 error generated.
vim +/drm_mode_size_dumb +80 drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c
70
71 /* -----------------------------------------------------------------------------
72 * Frame buffer
73 */
74
75 int rzg2l_du_dumb_create(struct drm_file *file, struct drm_device *dev,
76 struct drm_mode_create_dumb *args)
77 {
78 int ret;
79
> 80 ret = drm_mode_size_dumb(dev, args, 16 * args->bpp / 8, 0);
81 if (ret)
82 return ret;
83
84 return drm_gem_dma_dumb_create_internal(file, dev, args);
85 }
86
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-03-13 3:59 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-11 15:47 [PATCH v4 00/25] drm/dumb-buffers: Fix and improve buffer-size calculation Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 01/25] drm/dumb-buffers: Sanitize output on errors Thomas Zimmermann
2025-06-12 8:11 ` Tomi Valkeinen
2025-03-11 15:47 ` [PATCH v4 02/25] drm/dumb-buffers: Provide helper to set pitch and size Thomas Zimmermann
2025-06-12 8:36 ` Tomi Valkeinen
2025-06-13 7:02 ` Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 03/25] drm/gem-dma: Compute dumb-buffer sizes with drm_mode_size_dumb() Thomas Zimmermann
2025-06-12 8:43 ` Tomi Valkeinen
2025-06-13 7:15 ` Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 04/25] drm/gem-shmem: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 05/25] drm/gem-vram: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 06/25] drm/armada: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 07/25] drm/exynos: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 08/25] drm/gma500: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 09/25] drm/hibmc: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 10/25] drm/imx/ipuv3: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 11/25] drm/loongson: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 12/25] drm/mediatek: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 13/25] drm/msm: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 14/25] drm/nouveau: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 15/25] drm/omapdrm: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 16/25] drm/qxl: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 17/25] drm/renesas/rcar-du: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 18/25] drm/renesas/rz-du: " Thomas Zimmermann
2025-03-13 2:15 ` kernel test robot
2025-03-13 3:58 ` kernel test robot [this message]
2025-03-11 15:47 ` [PATCH v4 19/25] drm/rockchip: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 20/25] drm/tegra: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 21/25] drm/virtio: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 22/25] drm/vmwgfx: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 23/25] drm/xe: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 24/25] drm/xen: " Thomas Zimmermann
2025-03-11 15:47 ` [PATCH v4 25/25] drm/xlnx: " Thomas Zimmermann
2025-05-28 8:23 ` [PATCH v4 00/25] drm/dumb-buffers: Fix and improve buffer-size calculation Thomas Zimmermann
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=202503131309.ZzS9Tova-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@gmail.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=geert@linux-m68k.org \
--cc=imx@lists.linux.dev \
--cc=intel-xe@lists.freedesktop.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=nouveau@lists.freedesktop.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=simona@ffwll.ch \
--cc=spice-devel@lists.freedesktop.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tzimmermann@suse.de \
--cc=virtualization@lists.linux.dev \
--cc=xen-devel@lists.xenproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox