[PATCH 10/11] drm/vc4: hdmi: Support HDMI YUV output
kernel test robot
lkp at intel.com
Sat Dec 4 00:30:37 UTC 2021
Hi Maxime,
I love your patch! Perhaps something to improve:
[auto build test WARNING on drm/drm-next]
[also build test WARNING on next-20211203]
[cannot apply to drm-intel/for-linux-next anholt/for-next v5.16-rc3]
[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/20211203-185623
base: git://anongit.freedesktop.org/drm/drm drm-next
config: powerpc-randconfig-s031-20211203 (https://download.01.org/0day-ci/archive/20211204/202112040851.zYD2J0lK-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/0day-ci/linux/commit/70ee339decc66c157b6c9c983e8cce172c323218
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/20211203-185623
git checkout 70ee339decc66c157b6c9c983e8cce172c323218
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/gpu/drm/vc4/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/vc4/vc4_hdmi.c:503:37: sparse: sparse: mixing different enum types:
>> drivers/gpu/drm/vc4/vc4_hdmi.c:503:37: sparse: unsigned int enum vc4_hdmi_output_format
>> drivers/gpu/drm/vc4/vc4_hdmi.c:503:37: sparse: unsigned int enum hdmi_colorspace
vim +503 drivers/gpu/drm/vc4/vc4_hdmi.c
491
492 static void vc4_hdmi_avi_infoframe_colorspace(struct hdmi_avi_infoframe *frame,
493 enum vc4_hdmi_output_format fmt)
494 {
495 switch (fmt) {
496 case VC4_HDMI_OUTPUT_RGB:
497 fallthrough;
498 case VC4_HDMI_OUTPUT_YUV420:
499 fallthrough;
500 case VC4_HDMI_OUTPUT_YUV422:
501 fallthrough;
502 case VC4_HDMI_OUTPUT_YUV444:
> 503 frame->colorspace = fmt;
504 break;
505
506 default:
507 break;
508 }
509 }
510
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
More information about the dri-devel
mailing list