Re: [PATCH v3 3/4] drm/msm/dsi: Add support for RGB101010 pixel format
From: kernel test robot
Date: Fri Mar 20 2026 - 14:06:47 EST
Hi Alexander,
kernel test robot noticed the following build errors:
[auto build test ERROR on f338e77383789c0cae23ca3d48adcc5e9e137e3c]
url: https://github.com/intel-lab-lkp/linux/commits/Alexander-Koskovich/drm-msm-dsi-rename-MSM8998-DSI-version-from-V2_2_0-to-V2_0_0/20260320-011528
base: f338e77383789c0cae23ca3d48adcc5e9e137e3c
patch link: https://lore.kernel.org/r/20260319-dsi-rgb101010-support-v3-3-85b99df2d090%40pm.me
patch subject: [PATCH v3 3/4] drm/msm/dsi: Add support for RGB101010 pixel format
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20260321/202603210139.i7hnShAJ-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260321/202603210139.i7hnShAJ-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/202603210139.i7hnShAJ-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'dsi_get_vid_fmt':
>> drivers/gpu/drm/msm/dsi/dsi_host.c:760:14: error: 'MIPI_DSI_FMT_RGB101010' undeclared (first use in this function); did you mean 'MIPI_DSI_FMT_RGB565'?
760 | case MIPI_DSI_FMT_RGB101010: return VID_DST_FORMAT_RGB101010;
| ^~~~~~~~~~~~~~~~~~~~~~
| MIPI_DSI_FMT_RGB565
drivers/gpu/drm/msm/dsi/dsi_host.c:760:14: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'dsi_get_cmd_fmt':
drivers/gpu/drm/msm/dsi/dsi_host.c:773:14: error: 'MIPI_DSI_FMT_RGB101010' undeclared (first use in this function); did you mean 'MIPI_DSI_FMT_RGB565'?
773 | case MIPI_DSI_FMT_RGB101010: return CMD_DST_FORMAT_RGB101010;
| ^~~~~~~~~~~~~~~~~~~~~~
| MIPI_DSI_FMT_RGB565
drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'dsi_host_attach':
drivers/gpu/drm/msm/dsi/dsi_host.c:1710:28: error: 'MIPI_DSI_FMT_RGB101010' undeclared (first use in this function); did you mean 'MIPI_DSI_FMT_RGB565'?
1710 | if (dsi->format == MIPI_DSI_FMT_RGB101010 &&
| ^~~~~~~~~~~~~~~~~~~~~~
| MIPI_DSI_FMT_RGB565
vim +760 drivers/gpu/drm/msm/dsi/dsi_host.c
755
756 static inline enum dsi_vid_dst_format
757 dsi_get_vid_fmt(const enum mipi_dsi_pixel_format mipi_fmt)
758 {
759 switch (mipi_fmt) {
> 760 case MIPI_DSI_FMT_RGB101010: return VID_DST_FORMAT_RGB101010;
761 case MIPI_DSI_FMT_RGB888: return VID_DST_FORMAT_RGB888;
762 case MIPI_DSI_FMT_RGB666: return VID_DST_FORMAT_RGB666_LOOSE;
763 case MIPI_DSI_FMT_RGB666_PACKED: return VID_DST_FORMAT_RGB666;
764 case MIPI_DSI_FMT_RGB565: return VID_DST_FORMAT_RGB565;
765 default: return VID_DST_FORMAT_RGB888;
766 }
767 }
768
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki