From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7C910C433EF for ; Thu, 9 Dec 2021 00:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=l4pTw0F4uZx3MQu0Hmn+UIixrrCu92/vW4/9ObjsN6M=; b=XRuivqIGQXsj8t BMW3rKLG8ZaiuMDbBhKRRWgw6VCiiTlyPCztI1dDpoNAJgtgTSQaQH+1De4N6BSdAlwosd4mB7xKJ 8jghc6Wbo1ffLAnVoSVjh1/Y4SDHDppxP8lgsUjfwqgFqiWMMA3NxLrQE2LWfg2buRkY/8Q2w0+vM Pr9gt7QLH6Z+xoFhSjWY4WaSXH+c2YmfSQrbesWFc46LJjymXGZ3jUF2cW6laYz40J9aLQ3tEQAiY qwFxBRKBhqbHfgyerSuHG0fS+f4ZAAgTpN2vD3kN5RTXVj0Jm1BZ5LflXQGHQIRAh7bTfukJ8NsCe Bxa1NHQPWdOBNQt9GnHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mv7dS-00EclR-Dv; Thu, 09 Dec 2021 00:50:10 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mv7dP-00Ecke-6k for linux-rockchip@lists.infradead.org; Thu, 09 Dec 2021 00:50:08 +0000 X-IronPort-AV: E=McAfee;i="6200,9189,10192"; a="224856025" X-IronPort-AV: E=Sophos;i="5.88,190,1635231600"; d="scan'208";a="224856025" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2021 16:50:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,190,1635231600"; d="scan'208";a="480130673" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 08 Dec 2021 16:50:01 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mv7dJ-0001G9-01; Thu, 09 Dec 2021 00:50:01 +0000 Date: Thu, 9 Dec 2021 08:49:27 +0800 From: kernel test robot To: Sascha Hauer , dri-devel@lists.freedesktop.org Cc: kbuild-all@lists.01.org, devicetree@vger.kernel.org, Benjamin Gaignard , Peter Geis , Sascha Hauer , Sandy Huang , linux-rockchip@lists.infradead.org, Michael Riesch , kernel@pengutronix.de, Andy Yan Subject: Re: [PATCH 17/18] drm: rockchip: Add VOP2 driver Message-ID: <202112090830.YVovXyce-lkp@intel.com> References: <20211208151230.3695378-18-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211208151230.3695378-18-s.hauer@pengutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211208_165007_325710_DC179619 X-CRM114-Status: GOOD ( 14.76 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hi Sascha, Thank you for the patch! Yet something to improve: [auto build test ERROR on rockchip/for-next] [also build test ERROR on drm/drm-next drm-intel/for-linux-next drm-exynos/exynos-drm-next v5.16-rc4] [cannot apply to drm-tip/drm-tip tegra-drm/drm/tegra/for-next airlied/drm-next next-20211208] [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/Sascha-Hauer/drm-rockchip-RK356x-VOP2-support/20211208-231502 base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20211209/202112090830.YVovXyce-lkp@intel.com/config) compiler: arceb-elf-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/8d57a528cbdfec4716a21d22d3d6c04c40451355 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Sascha-Hauer/drm-rockchip-RK356x-VOP2-support/20211208-231502 git checkout 8d57a528cbdfec4716a21d22d3d6c04c40451355 # 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=arc SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 'vop2_dither_setup': >> drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:1489:22: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration] 1489 | *dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__DITHER_DOWN_SEL, | ^~~~~~~~~~ drivers/gpu/drm/rockchip/rockchip_drm_vop2.c: In function 'vop2_setup_cluster_alpha': drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:1861:33: warning: variable 'top_win_pstate' set but not used [-Wunused-but-set-variable] 1861 | struct drm_plane_state *top_win_pstate; | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/FIELD_PREP +1489 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c 1463 1464 static void vop2_dither_setup(struct drm_crtc *crtc, uint32_t *dsp_ctrl) 1465 { 1466 struct rockchip_crtc_state *vcstate = to_rockchip_crtc_state(crtc->state); 1467 1468 switch (vcstate->bus_format) { 1469 case MEDIA_BUS_FMT_RGB565_1X16: 1470 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN; 1471 break; 1472 case MEDIA_BUS_FMT_RGB666_1X18: 1473 case MEDIA_BUS_FMT_RGB666_1X24_CPADHI: 1474 case MEDIA_BUS_FMT_RGB666_1X7X3_SPWG: 1475 *dsp_ctrl |= RK3568_VP_DSP_CTRL__DITHER_DOWN_EN; 1476 *dsp_ctrl |= RGB888_TO_RGB666; 1477 break; 1478 case MEDIA_BUS_FMT_YUV8_1X24: 1479 case MEDIA_BUS_FMT_UYYVYY8_0_5X24: 1480 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN; 1481 break; 1482 default: 1483 break; 1484 } 1485 1486 if (vcstate->output_mode != ROCKCHIP_OUT_MODE_AAAA) 1487 *dsp_ctrl |= RK3568_VP_DSP_CTRL__PRE_DITHER_DOWN_EN; 1488 > 1489 *dsp_ctrl |= FIELD_PREP(RK3568_VP_DSP_CTRL__DITHER_DOWN_SEL, 1490 DITHER_DOWN_ALLEGRO); 1491 } 1492 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip