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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 4E3C7C64ED6 for ; Tue, 28 Feb 2023 14:49:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 76A2F10E4BB; Tue, 28 Feb 2023 14:49:44 +0000 (UTC) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6468110E4BB; Tue, 28 Feb 2023 14:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677595782; x=1709131782; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=V4G61WSFnqEOguuAQwLLbjdFVdolGBb6jaifYOOPXHs=; b=Vz4DfR0dNHCthCibdFxzXzTokrB8jphee6enPYWYD5WX1qzVn0OcnZca qx5+KXF+OepjyydknrxumubBPJZjJT3qNNtCGuY+yHsCSRCutRXPbCcUV gMq3qa15rI2gNr/rhwo30Zj0YgswxUUV/eDEWzx6TnybI4glaRmZBwB3f 69zBXUJ8JWX1Zv/TDOZBORUQFChrWmwm2AaFg6Sm1LyQFP2o5n8NVKwRN wHM3EX+zwVghhm2lgH33u2i/D0FZuarOVGcoNixYQLuarY3gqQ0fzMtxN +5NqI8thnuMTIlGZLjcRkkWVM/v2SbSuXA5Yv2WXGiwoUpYzdnmMRGyEl Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="398930451" X-IronPort-AV: E=Sophos;i="5.98,222,1673942400"; d="scan'208";a="398930451" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 06:49:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="676322534" X-IronPort-AV: E=Sophos;i="5.98,222,1673942400"; d="scan'208";a="676322534" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 28 Feb 2023 06:49:37 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pX1IP-0005T7-0b; Tue, 28 Feb 2023 14:49:37 +0000 Date: Tue, 28 Feb 2023 22:49:00 +0800 From: kernel test robot To: Dmitry Baryshkov , David Airlie , Daniel Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten Message-ID: <202302282203.ghUPsryf-lkp@intel.com> References: <20230228113342.2051425-4-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230228113342.2051425-4-dmitry.baryshkov@linaro.org> Subject: Re: [Intel-gfx] [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, intel-gfx@lists.freedesktop.org, freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, oe-kbuild-all@lists.linux.dev Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm/drm-next linus/master v6.2 next-20230228] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230228113342.2051425-4-dmitry.baryshkov%40linaro.org patch subject: [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230228/202302282203.ghUPsryf-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 git checkout ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302282203.ghUPsryf-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/display/drm_dsc_helper.c:635: warning: expecting prototype for drm_dsc_compute_rc_parameters(). Prototype was for drm_dsc_setup_rc_params() instead vim +635 drivers/gpu/drm/display/drm_dsc_helper.c 627 628 /** 629 * drm_dsc_compute_rc_parameters() - Set parameters and limits for RC model in 630 * accordance with the DSC 1.1 or 1.2 specification and DSC C Model 631 * 632 * @vdsc_cfg: DSC Configuration data partially filled by driver 633 */ 634 int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg) > 635 { 636 const struct rc_parameters *rc_params; 637 int i; 638 639 /* fractional BPP is not supported */ 640 if (vdsc_cfg->bits_per_pixel & 0xf) 641 return -EINVAL; 642 643 rc_params = get_rc_params(vdsc_cfg->bits_per_pixel >> 4, 644 vdsc_cfg->bits_per_component); 645 if (!rc_params) 646 return -EINVAL; 647 648 vdsc_cfg->first_line_bpg_offset = rc_params->first_line_bpg_offset; 649 vdsc_cfg->initial_xmit_delay = rc_params->initial_xmit_delay; 650 vdsc_cfg->initial_offset = rc_params->initial_offset; 651 vdsc_cfg->flatness_min_qp = rc_params->flatness_min_qp; 652 vdsc_cfg->flatness_max_qp = rc_params->flatness_max_qp; 653 vdsc_cfg->rc_quant_incr_limit0 = rc_params->rc_quant_incr_limit0; 654 vdsc_cfg->rc_quant_incr_limit1 = rc_params->rc_quant_incr_limit1; 655 656 for (i = 0; i < DSC_NUM_BUF_RANGES; i++) { 657 vdsc_cfg->rc_range_params[i].range_min_qp = 658 rc_params->rc_range_params[i].range_min_qp; 659 vdsc_cfg->rc_range_params[i].range_max_qp = 660 rc_params->rc_range_params[i].range_max_qp; 661 /* 662 * Range BPG Offset uses 2's complement and is only a 6 bits. So 663 * mask it to get only 6 bits. 664 */ 665 vdsc_cfg->rc_range_params[i].range_bpg_offset = 666 rc_params->rc_range_params[i].range_bpg_offset & 667 DSC_RANGE_BPG_OFFSET_MASK; 668 } 669 670 return 0; 671 } 672 EXPORT_SYMBOL(drm_dsc_setup_rc_params); 673 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53AD8C64EC7 for ; Tue, 28 Feb 2023 14:49:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbjB1Otw (ORCPT ); Tue, 28 Feb 2023 09:49:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229675AbjB1Ott (ORCPT ); Tue, 28 Feb 2023 09:49:49 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21BB6CC3D for ; Tue, 28 Feb 2023 06:49:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677595782; x=1709131782; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=V4G61WSFnqEOguuAQwLLbjdFVdolGBb6jaifYOOPXHs=; b=Vz4DfR0dNHCthCibdFxzXzTokrB8jphee6enPYWYD5WX1qzVn0OcnZca qx5+KXF+OepjyydknrxumubBPJZjJT3qNNtCGuY+yHsCSRCutRXPbCcUV gMq3qa15rI2gNr/rhwo30Zj0YgswxUUV/eDEWzx6TnybI4glaRmZBwB3f 69zBXUJ8JWX1Zv/TDOZBORUQFChrWmwm2AaFg6Sm1LyQFP2o5n8NVKwRN wHM3EX+zwVghhm2lgH33u2i/D0FZuarOVGcoNixYQLuarY3gqQ0fzMtxN +5NqI8thnuMTIlGZLjcRkkWVM/v2SbSuXA5Yv2WXGiwoUpYzdnmMRGyEl Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="398930452" X-IronPort-AV: E=Sophos;i="5.98,222,1673942400"; d="scan'208";a="398930452" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 06:49:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="676322534" X-IronPort-AV: E=Sophos;i="5.98,222,1673942400"; d="scan'208";a="676322534" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 28 Feb 2023 06:49:37 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pX1IP-0005T7-0b; Tue, 28 Feb 2023 14:49:37 +0000 Date: Tue, 28 Feb 2023 22:49:00 +0800 From: kernel test robot To: Dmitry Baryshkov , David Airlie , Daniel Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten Cc: oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org, intel-gfx@lists.freedesktop.org, freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper Message-ID: <202302282203.ghUPsryf-lkp@intel.com> References: <20230228113342.2051425-4-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230228113342.2051425-4-dmitry.baryshkov@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm/drm-next linus/master v6.2 next-20230228] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230228113342.2051425-4-dmitry.baryshkov%40linaro.org patch subject: [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230228/202302282203.ghUPsryf-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 git checkout ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302282203.ghUPsryf-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/display/drm_dsc_helper.c:635: warning: expecting prototype for drm_dsc_compute_rc_parameters(). Prototype was for drm_dsc_setup_rc_params() instead vim +635 drivers/gpu/drm/display/drm_dsc_helper.c 627 628 /** 629 * drm_dsc_compute_rc_parameters() - Set parameters and limits for RC model in 630 * accordance with the DSC 1.1 or 1.2 specification and DSC C Model 631 * 632 * @vdsc_cfg: DSC Configuration data partially filled by driver 633 */ 634 int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg) > 635 { 636 const struct rc_parameters *rc_params; 637 int i; 638 639 /* fractional BPP is not supported */ 640 if (vdsc_cfg->bits_per_pixel & 0xf) 641 return -EINVAL; 642 643 rc_params = get_rc_params(vdsc_cfg->bits_per_pixel >> 4, 644 vdsc_cfg->bits_per_component); 645 if (!rc_params) 646 return -EINVAL; 647 648 vdsc_cfg->first_line_bpg_offset = rc_params->first_line_bpg_offset; 649 vdsc_cfg->initial_xmit_delay = rc_params->initial_xmit_delay; 650 vdsc_cfg->initial_offset = rc_params->initial_offset; 651 vdsc_cfg->flatness_min_qp = rc_params->flatness_min_qp; 652 vdsc_cfg->flatness_max_qp = rc_params->flatness_max_qp; 653 vdsc_cfg->rc_quant_incr_limit0 = rc_params->rc_quant_incr_limit0; 654 vdsc_cfg->rc_quant_incr_limit1 = rc_params->rc_quant_incr_limit1; 655 656 for (i = 0; i < DSC_NUM_BUF_RANGES; i++) { 657 vdsc_cfg->rc_range_params[i].range_min_qp = 658 rc_params->rc_range_params[i].range_min_qp; 659 vdsc_cfg->rc_range_params[i].range_max_qp = 660 rc_params->rc_range_params[i].range_max_qp; 661 /* 662 * Range BPG Offset uses 2's complement and is only a 6 bits. So 663 * mask it to get only 6 bits. 664 */ 665 vdsc_cfg->rc_range_params[i].range_bpg_offset = 666 rc_params->rc_range_params[i].range_bpg_offset & 667 DSC_RANGE_BPG_OFFSET_MASK; 668 } 669 670 return 0; 671 } 672 EXPORT_SYMBOL(drm_dsc_setup_rc_params); 673 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 8F33EC64ED6 for ; Tue, 28 Feb 2023 14:49:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9160410E4C7; Tue, 28 Feb 2023 14:49:45 +0000 (UTC) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6468110E4BB; Tue, 28 Feb 2023 14:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677595782; x=1709131782; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=V4G61WSFnqEOguuAQwLLbjdFVdolGBb6jaifYOOPXHs=; b=Vz4DfR0dNHCthCibdFxzXzTokrB8jphee6enPYWYD5WX1qzVn0OcnZca qx5+KXF+OepjyydknrxumubBPJZjJT3qNNtCGuY+yHsCSRCutRXPbCcUV gMq3qa15rI2gNr/rhwo30Zj0YgswxUUV/eDEWzx6TnybI4glaRmZBwB3f 69zBXUJ8JWX1Zv/TDOZBORUQFChrWmwm2AaFg6Sm1LyQFP2o5n8NVKwRN wHM3EX+zwVghhm2lgH33u2i/D0FZuarOVGcoNixYQLuarY3gqQ0fzMtxN +5NqI8thnuMTIlGZLjcRkkWVM/v2SbSuXA5Yv2WXGiwoUpYzdnmMRGyEl Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="398930451" X-IronPort-AV: E=Sophos;i="5.98,222,1673942400"; d="scan'208";a="398930451" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 06:49:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="676322534" X-IronPort-AV: E=Sophos;i="5.98,222,1673942400"; d="scan'208";a="676322534" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 28 Feb 2023 06:49:37 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pX1IP-0005T7-0b; Tue, 28 Feb 2023 14:49:37 +0000 Date: Tue, 28 Feb 2023 22:49:00 +0800 From: kernel test robot To: Dmitry Baryshkov , David Airlie , Daniel Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten Subject: Re: [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper Message-ID: <202302282203.ghUPsryf-lkp@intel.com> References: <20230228113342.2051425-4-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230228113342.2051425-4-dmitry.baryshkov@linaro.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, intel-gfx@lists.freedesktop.org, freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, oe-kbuild-all@lists.linux.dev Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Dmitry, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm/drm-next linus/master v6.2 next-20230228] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230228113342.2051425-4-dmitry.baryshkov%40linaro.org patch subject: [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230228/202302282203.ghUPsryf-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Dmitry-Baryshkov/drm-i915-dsc-change-DSC-param-tables-to-follow-the-DSC-model/20230228-193505 git checkout ee048cb6c2ec7f7f92bea6b72e8cd3ef9921993e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/gpu/drm/display/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302282203.ghUPsryf-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/display/drm_dsc_helper.c:635: warning: expecting prototype for drm_dsc_compute_rc_parameters(). Prototype was for drm_dsc_setup_rc_params() instead vim +635 drivers/gpu/drm/display/drm_dsc_helper.c 627 628 /** 629 * drm_dsc_compute_rc_parameters() - Set parameters and limits for RC model in 630 * accordance with the DSC 1.1 or 1.2 specification and DSC C Model 631 * 632 * @vdsc_cfg: DSC Configuration data partially filled by driver 633 */ 634 int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg) > 635 { 636 const struct rc_parameters *rc_params; 637 int i; 638 639 /* fractional BPP is not supported */ 640 if (vdsc_cfg->bits_per_pixel & 0xf) 641 return -EINVAL; 642 643 rc_params = get_rc_params(vdsc_cfg->bits_per_pixel >> 4, 644 vdsc_cfg->bits_per_component); 645 if (!rc_params) 646 return -EINVAL; 647 648 vdsc_cfg->first_line_bpg_offset = rc_params->first_line_bpg_offset; 649 vdsc_cfg->initial_xmit_delay = rc_params->initial_xmit_delay; 650 vdsc_cfg->initial_offset = rc_params->initial_offset; 651 vdsc_cfg->flatness_min_qp = rc_params->flatness_min_qp; 652 vdsc_cfg->flatness_max_qp = rc_params->flatness_max_qp; 653 vdsc_cfg->rc_quant_incr_limit0 = rc_params->rc_quant_incr_limit0; 654 vdsc_cfg->rc_quant_incr_limit1 = rc_params->rc_quant_incr_limit1; 655 656 for (i = 0; i < DSC_NUM_BUF_RANGES; i++) { 657 vdsc_cfg->rc_range_params[i].range_min_qp = 658 rc_params->rc_range_params[i].range_min_qp; 659 vdsc_cfg->rc_range_params[i].range_max_qp = 660 rc_params->rc_range_params[i].range_max_qp; 661 /* 662 * Range BPG Offset uses 2's complement and is only a 6 bits. So 663 * mask it to get only 6 bits. 664 */ 665 vdsc_cfg->rc_range_params[i].range_bpg_offset = 666 rc_params->rc_range_params[i].range_bpg_offset & 667 DSC_RANGE_BPG_OFFSET_MASK; 668 } 669 670 return 0; 671 } 672 EXPORT_SYMBOL(drm_dsc_setup_rc_params); 673 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests