Re: [PATCH] drm/panel-simple: Add Vivax TPC-9150 panel v3

From: kernel test robot
Date: Tue Aug 17 2021 - 15:14:54 EST


Hi Nikola,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master v5.14-rc6 next-20210817]
[cannot apply to drm/drm-next]
[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]

url: https://github.com/0day-ci/linux/commits/Nikola-Pavlica/drm-panel-simple-Add-Vivax-TPC-9150-panel-v3/20210818-003804
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: arm64-randconfig-r025-20210816 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2c6448cdc2f68f8c28fd0bd9404182b81306e6e6)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/b3b8de24d73c21a6e689abb123326d84425c877b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Nikola-Pavlica/drm-panel-simple-Add-Vivax-TPC-9150-panel-v3/20210818-003804
git checkout b3b8de24d73c21a6e689abb123326d84425c877b
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/panel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/panel/panel-simple.c:4386:16: error: use of undeclared identifier 'MEDIA_BUS_FMT_RGB666_1X24'
.bus_format = MEDIA_BUS_FMT_RGB666_1X24,
^
1 error generated.


vim +/MEDIA_BUS_FMT_RGB666_1X24 +4386 drivers/gpu/drm/panel/panel-simple.c

4377
4378 static const struct panel_desc vivax_tpc9150_panel = {
4379 .modes = &vivax_tpc9150_panel_mode,
4380 .num_modes = 1,
4381 .size = {
4382 .width = 200,
4383 .height = 115,
4384 },
4385 .bpc = 6,
> 4386 .bus_format = MEDIA_BUS_FMT_RGB666_1X24,
4387 .bus_flags = DRM_BUS_FLAG_DE_HIGH,
4388 .connector_type = DRM_MODE_CONNECTOR_LVDS,
4389 };
4390
4391

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip