Re: [PATCH v3 4/6] drm/panel: add VIEWE JD9365TX 7 inch DSI panel
From: kernel test robot
Date: Wed Nov 25 2026 - 09:07:19 EST
Hi Hefei,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on dtor-input/next dtor-input/for-linus lee-backlight/for-backlight-next lee-backlight/for-backlight-fixes linus/master v7.4-rc4 next-20261124]
[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/Hefei/dt-bindings-input-add-Jadard-JD9365TX-touchscreen-binding/20261125-101123
base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next
patch link: https://lore.kernel.org/r/tencent_3D3EC29E27E9DF37D4C9F1A60F2F2BA3EF07%40qq.com
patch subject: [PATCH v3 4/6] drm/panel: add VIEWE JD9365TX 7 inch DSI panel
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20261125/20261125220244.8Pj15HWb-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261125/20261125220244.8Pj15HWb-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261125220244.8Pj15HWb-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/gpu/drm/panel/panel-viewe-jd9365tx.c: In function 'jd9365tx_probe':
drivers/gpu/drm/panel/panel-viewe-jd9365tx.c:304:15: error: implicit declaration of function 'of_drm_get_panel_orientation' [-Werror=implicit-function-declaration]
304 | ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/panel/panel-viewe-jd9365tx.c:308:9: error: implicit declaration of function 'drm_panel_init'; did you mean 'drm_panel_put'? [-Werror=implicit-function-declaration]
308 | drm_panel_init(&ctx->panel, dev, &jd9365tx_funcs, DRM_MODE_CONNECTOR_DSI);
| ^~~~~~~~~~~~~~
| drm_panel_put
cc1: some warnings being treated as errors
vim +308 drivers/gpu/drm/panel/panel-viewe-jd9365tx.c
273
274 static int jd9365tx_probe(struct mipi_dsi_device *dsi)
275 {
276 struct device *dev = &dsi->dev;
277 struct jd9365tx_panel *ctx;
278 int ret;
279
280 ctx = devm_kzalloc(dev, sizeof(*ctx), GFP_KERNEL);
281 if (!ctx)
282 return -ENOMEM;
283
284 ctx->dsi = dsi;
285 mipi_dsi_set_drvdata(dsi, ctx);
286
287 dsi->lanes = 2;
288 dsi->format = MIPI_DSI_FMT_RGB888;
289 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
290 MIPI_DSI_MODE_LPM;
291
292 ctx->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH);
293 if (IS_ERR(ctx->reset))
294 return PTR_ERR(ctx->reset);
295
296 ctx->vdd = devm_regulator_get(dev, "vdd");
297 if (IS_ERR(ctx->vdd))
298 return PTR_ERR(ctx->vdd);
299
300 ctx->iovcc = devm_regulator_get(dev, "iovcc");
301 if (IS_ERR(ctx->iovcc))
302 return PTR_ERR(ctx->iovcc);
303
304 ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation);
305 if (ret)
306 return ret;
307
> 308 drm_panel_init(&ctx->panel, dev, &jd9365tx_funcs, DRM_MODE_CONNECTOR_DSI);
309 ctx->panel.prepare_prev_first = true;
310
311 ret = drm_panel_of_backlight(&ctx->panel);
312 if (ret)
313 return ret;
314
315 drm_panel_add(&ctx->panel);
316
317 ret = mipi_dsi_attach(dsi);
318 if (ret < 0) {
319 drm_panel_remove(&ctx->panel);
320 return ret;
321 }
322
323 return 0;
324 }
325
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki