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 1332DC64ED8 for ; Mon, 27 Feb 2023 12:31:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 78DD210E3F5; Mon, 27 Feb 2023 12:31:45 +0000 (UTC) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id B34A010E3F5 for ; Mon, 27 Feb 2023 12:31:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677501103; x=1709037103; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=OzaFYC+oQmseYd+lqZHoNG07c4huQ8EBmei6et9a3EM=; b=Wz4gsipon9VM8wGo8DINfqeKe4HYKWK6fEev4aoHrO5/grh4q3HwZnwv jKKUaao9MsMng679OmjNakal0fWrQ7GGRyorcTtT2WncvuRnW3VquWzaT fYbX6ifPS4vNEa3os60mZz9aAAjE6G7UynXD1MPhmCUVHt6/yONtLfwOw 4Q4guHP32tESgimuamGET0ltt1ig1PfiqWlsoJqGMc+sAcAOdbIyZtZI5 hoDP0a2UqcGl1RYRqAW5DhRtA9a1X02lFsZHpp9Qjms1V2B25jSxJ/Aab g5FMFqDOkUy9UQ9zlMLqYfNv/TGtgrXQoctyaUlTAezbPBslQfuRxz7nV g==; X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="396399185" X-IronPort-AV: E=Sophos;i="5.97,332,1669104000"; d="scan'208";a="396399185" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2023 04:31:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10633"; a="847827525" X-IronPort-AV: E=Sophos;i="5.97,332,1669104000"; d="scan'208";a="847827525" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 27 Feb 2023 04:31:41 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pWcfM-0004Ox-24; Mon, 27 Feb 2023 12:31:40 +0000 Date: Mon, 27 Feb 2023 20:30:43 +0800 From: kernel test robot To: Stanislav Lisovskiy , intel-gfx@lists.freedesktop.org Message-ID: <202302272028.pPiIBz9V-lkp@intel.com> References: <20230227095253.22415-1-stanislav.lisovskiy@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230227095253.22415-1-stanislav.lisovskiy@intel.com> Subject: Re: [Intel-gfx] [PATCH] drm/i915/display: Communicate display power demands to pcode more accurately 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: rodrigo.vivi@intel.com, oe-kbuild-all@lists.linux.dev Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Stanislav, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] url: https://github.com/intel-lab-lkp/linux/commits/Stanislav-Lisovskiy/drm-i915-display-Communicate-display-power-demands-to-pcode-more-accurately/20230227-175404 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20230227095253.22415-1-stanislav.lisovskiy%40intel.com patch subject: [Intel-gfx] [PATCH] drm/i915/display: Communicate display power demands to pcode more accurately config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20230227/202302272028.pPiIBz9V-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/bc4de3b25bbf043f68ef862c45f975b79af938be git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Stanislav-Lisovskiy/drm-i915-display-Communicate-display-power-demands-to-pcode-more-accurately/20230227-175404 git checkout bc4de3b25bbf043f68ef862c45f975b79af938be # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 olddefconfig make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302272028.pPiIBz9V-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/display/intel_cdclk.c:3006:6: error: no previous prototype for 'intel_cdclk_need_serialize' [-Werror=missing-prototypes] 3006 | bool intel_cdclk_need_serialize(struct drm_i915_private *i915, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/intel_cdclk_need_serialize +3006 drivers/gpu/drm/i915/display/intel_cdclk.c 3005 > 3006 bool intel_cdclk_need_serialize(struct drm_i915_private *i915, 3007 const struct intel_cdclk_state *old_cdclk_state, 3008 const struct intel_cdclk_state *new_cdclk_state) 3009 { 3010 /* 3011 * We need to poke hw for gen >= 12, because we notify PCode if 3012 * pipe power well count changes. 3013 */ 3014 return intel_cdclk_changed(&old_cdclk_state->actual, 3015 &new_cdclk_state->actual) || 3016 ((DISPLAY_VER(i915) >= 12 && 3017 hweight8(old_cdclk_state->active_pipes) != 3018 hweight8(new_cdclk_state->active_pipes))); 3019 } 3020 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests