mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Hefei <3066883572@qq.com>, dri-devel@lists.freedesktop.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-input@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, robh@kernel.org, conor@kernel.org,
	Hefei <3066883572@qq.com>
Subject: Re: [PATCH v3 4/6] drm/panel: add VIEWE JD9365TX 7 inch DSI panel
Date: Thu, 26 Nov 2026 00:03:08 +0800	[thread overview]
Message-ID: <20261125235231.H9Nhpv9l-lkp@intel.com> (raw)
In-Reply-To: <tencent_3D3EC29E27E9DF37D4C9F1A60F2F2BA3EF07@qq.com>

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: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20261125/20261125235231.H9Nhpv9l-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 2012344e5da8e03ea4b8283ecd6fad6e13f09d64)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261125/20261125235231.H9Nhpv9l-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/20261125235231.H9Nhpv9l-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/panel/panel-viewe-jd9365tx.c:304:8: error: call to undeclared function 'of_drm_get_panel_orientation'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     304 |         ret = of_drm_get_panel_orientation(dev->of_node, &ctx->orientation);
         |               ^
>> drivers/gpu/drm/panel/panel-viewe-jd9365tx.c:308:2: error: call to undeclared function 'drm_panel_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     308 |         drm_panel_init(&ctx->panel, dev, &jd9365tx_funcs, DRM_MODE_CONNECTOR_DSI);
         |         ^
   2 errors generated.


vim +/drm_panel_init +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

  parent reply	other threads:[~2026-11-25 16:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261125021127.1430-1-3066883572@qq.com>
2026-11-25  2:11 ` [PATCH v3 1/6] dt-bindings: display: add VIEWE JD9365TX panel binding Hefei
2026-11-25  7:13   ` Krzysztof Kozlowski
2026-11-25 10:22     ` Hefei
2026-11-25  2:11 ` [PATCH v3 2/6] dt-bindings: input: add Jadard JD9365TX touchscreen binding Hefei
2026-11-25  7:14   ` Krzysztof Kozlowski
2026-11-25  2:11 ` [PATCH v3 3/6] dt-bindings: backlight: add VIEWE I2C backlight binding Hefei
2026-11-25  2:11 ` [PATCH v3 4/6] drm/panel: add VIEWE JD9365TX 7 inch DSI panel Hefei
2026-11-25 14:06   ` kernel test robot
2026-11-25 16:03   ` kernel test robot [this message]
2026-11-25  2:11 ` [PATCH v3 5/6] Input: add Jadard JD9365TX in-cell touchscreen driver Hefei
2026-11-25  2:32   ` Dmitry Torokhov
2026-11-25  2:11 ` [PATCH v3 6/6] backlight: add VIEWE I2C backlight driver Hefei

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=20261125235231.H9Nhpv9l-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=3066883572@qq.com \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.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

all inboxes | Powered by JetHome®