All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Maxime Ripard <maxime@cerno.tech>,
	Daniel Vetter <daniel.vetter@intel.com>,
	David Airlie <airlied@linux.ie>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Thomas Zimmermann <tzimmermann@suse.de>
Cc: kbuild-all@lists.01.org, Dom Cobley <dom@raspberrypi.com>,
	Tim Gover <tim.gover@raspberrypi.com>,
	Dave Stevenson <dave.stevenson@raspberrypi.com>,
	dri-devel@lists.freedesktop.org,
	Werner Sembach <wse@tuxedocomputers.com>
Subject: Re: [PATCH v3 04/16] drm/connector: Fix typo in output format
Date: Fri, 14 Jan 2022 04:16:47 +0800	[thread overview]
Message-ID: <202201140436.WlQxR5wG-lkp@intel.com> (raw)
In-Reply-To: <20220113140720.1678907-5-maxime@cerno.tech>

Hi Maxime,

I love your patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on drm-intel/for-linux-next v5.16 next-20220113]
[cannot apply to anholt/for-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/Maxime-Ripard/drm-vc4-hdmi-Yet-Another-Approach-to-HDMI-YUV-output/20220113-221035
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20220114/202201140436.WlQxR5wG-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 11.2.0
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
        # https://github.com/0day-ci/linux/commit/52bba93426db6667839f3b01a759ad9084127008
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Maxime-Ripard/drm-vc4-hdmi-Yet-Another-Approach-to-HDMI-YUV-output/20220113-221035
        git checkout 52bba93426db6667839f3b01a759ad9084127008
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=csky SHELL=/bin/bash drivers/gpu/drm/rockchip/

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

All errors (new ones prefixed by >>):

   drivers/gpu/drm/rockchip/analogix_dp-rockchip.c: In function 'rockchip_dp_get_modes':
>> drivers/gpu/drm/rockchip/analogix_dp-rockchip.c:120:48: error: 'DRM_COLOR_FORMAT_YCRCB422' undeclared (first use in this function); did you mean 'DRM_COLOR_FORMAT_YCBCR422'?
     120 |         u32 mask = DRM_COLOR_FORMAT_YCBCR444 | DRM_COLOR_FORMAT_YCRCB422;
         |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~
         |                                                DRM_COLOR_FORMAT_YCBCR422
   drivers/gpu/drm/rockchip/analogix_dp-rockchip.c:120:48: note: each undeclared identifier is reported only once for each function it appears in


vim +120 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c

   114	
   115	static int rockchip_dp_get_modes(struct analogix_dp_plat_data *plat_data,
   116					 struct drm_connector *connector)
   117	{
   118		struct drm_display_info *di = &connector->display_info;
   119		/* VOP couldn't output YUV video format for eDP rightly */
 > 120		u32 mask = DRM_COLOR_FORMAT_YCBCR444 | DRM_COLOR_FORMAT_YCRCB422;
   121	
   122		if ((di->color_formats & mask)) {
   123			DRM_DEBUG_KMS("Swapping display color format from YUV to RGB\n");
   124			di->color_formats &= ~mask;
   125			di->color_formats |= DRM_COLOR_FORMAT_RGB444;
   126			di->bpc = 8;
   127		}
   128	
   129		return 0;
   130	}
   131	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3 04/16] drm/connector: Fix typo in output format
Date: Fri, 14 Jan 2022 04:16:47 +0800	[thread overview]
Message-ID: <202201140436.WlQxR5wG-lkp@intel.com> (raw)
In-Reply-To: <20220113140720.1678907-5-maxime@cerno.tech>

[-- Attachment #1: Type: text/plain, Size: 3160 bytes --]

Hi Maxime,

I love your patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on drm-intel/for-linux-next v5.16 next-20220113]
[cannot apply to anholt/for-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/Maxime-Ripard/drm-vc4-hdmi-Yet-Another-Approach-to-HDMI-YUV-output/20220113-221035
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20220114/202201140436.WlQxR5wG-lkp(a)intel.com/config)
compiler: csky-linux-gcc (GCC) 11.2.0
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
        # https://github.com/0day-ci/linux/commit/52bba93426db6667839f3b01a759ad9084127008
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Maxime-Ripard/drm-vc4-hdmi-Yet-Another-Approach-to-HDMI-YUV-output/20220113-221035
        git checkout 52bba93426db6667839f3b01a759ad9084127008
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=csky SHELL=/bin/bash drivers/gpu/drm/rockchip/

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

All errors (new ones prefixed by >>):

   drivers/gpu/drm/rockchip/analogix_dp-rockchip.c: In function 'rockchip_dp_get_modes':
>> drivers/gpu/drm/rockchip/analogix_dp-rockchip.c:120:48: error: 'DRM_COLOR_FORMAT_YCRCB422' undeclared (first use in this function); did you mean 'DRM_COLOR_FORMAT_YCBCR422'?
     120 |         u32 mask = DRM_COLOR_FORMAT_YCBCR444 | DRM_COLOR_FORMAT_YCRCB422;
         |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~
         |                                                DRM_COLOR_FORMAT_YCBCR422
   drivers/gpu/drm/rockchip/analogix_dp-rockchip.c:120:48: note: each undeclared identifier is reported only once for each function it appears in


vim +120 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c

   114	
   115	static int rockchip_dp_get_modes(struct analogix_dp_plat_data *plat_data,
   116					 struct drm_connector *connector)
   117	{
   118		struct drm_display_info *di = &connector->display_info;
   119		/* VOP couldn't output YUV video format for eDP rightly */
 > 120		u32 mask = DRM_COLOR_FORMAT_YCBCR444 | DRM_COLOR_FORMAT_YCRCB422;
   121	
   122		if ((di->color_formats & mask)) {
   123			DRM_DEBUG_KMS("Swapping display color format from YUV to RGB\n");
   124			di->color_formats &= ~mask;
   125			di->color_formats |= DRM_COLOR_FORMAT_RGB444;
   126			di->bpc = 8;
   127		}
   128	
   129		return 0;
   130	}
   131	

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

  reply	other threads:[~2022-01-13 20:17 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-13 14:07 [PATCH v3 00/16] drm/vc4: hdmi: Yet Another Approach to HDMI YUV output Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 01/16] drm/edid: Rename drm_hdmi_avi_infoframe_colorspace to _colorimetry Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 02/16] drm/edid: Don't clear formats if using deep color Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 03/16] drm/edid: Split deep color modes between RGB and YUV444 Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 04/16] drm/connector: Fix typo in output format Maxime Ripard
2022-01-13 20:16   ` kernel test robot [this message]
2022-01-13 20:16     ` kernel test robot
2022-01-13 14:07 ` [PATCH v3 05/16] drm/vc4: hdmi: Add full range RGB helper Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 06/16] drm/vc4: hdmi: Use full range helper in csc functions Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 07/16] drm/vc4: hdmi: Move XBAR setup to csc_setup Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 08/16] drm/vc4: hdmi: Replace CSC_CTL hardcoded value by defines Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 09/16] drm/vc4: hdmi: Define colorspace matrices Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 10/16] drm/vc4: hdmi: Change CSC callback prototype Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 11/16] drm/vc4: hdmi: Move clock validation to its own function Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 12/16] drm/vc4: hdmi: Move clock calculation into " Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 13/16] drm/vc4: hdmi: Take the sink maximum TMDS clock into account Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 14/16] drm/vc4: hdmi: Take bpp into account for the scrambler Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 15/16] drm/vc4: hdmi: Always try to have the highest bpc Maxime Ripard
2022-01-13 14:07 ` [PATCH v3 16/16] drm/vc4: hdmi: Support HDMI YUV output Maxime Ripard

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=202201140436.WlQxR5wG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@linux.ie \
    --cc=daniel.vetter@intel.com \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=dom@raspberrypi.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@lists.01.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=maxime@cerno.tech \
    --cc=tim.gover@raspberrypi.com \
    --cc=tzimmermann@suse.de \
    --cc=wse@tuxedocomputers.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.