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 2A2D3C83F33 for ; Sun, 3 Sep 2023 01:57:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 01D0910E0DA; Sun, 3 Sep 2023 01:57:44 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id F31ED10E086; Sun, 3 Sep 2023 01:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693706262; x=1725242262; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=w7kAA0dDhx3JMWGLOZ3PRy9gzEcEaBz2rEhs9OuIcYs=; b=E6KGuRI88Icm6yZ+C9lx7Ty1AfzE29b/cLFkiqXchc7kZGw8hnloevLL PUXy4SlekLOkSJTE7Wzo37mcnYOPWoXxbgVV3oug6gIKpapD8i35A7MsD racWXbm1W/BJ7Ky8mGslmmkZ1A3otaIHV38sVmQhbY5R42yd8wOKq6wAJ ZE2ixQu9/CJqawgUUg9NHmwlGjpynayfeZHwKFEvJKVo8H9tU6Oggfhm+ z62USxn2antdAgR/MGdZoYN/wVDwTfYGqRTyVkI7GgGlFGmNyVs4QhAU9 X2dugD9I9lLJ3fjEQnbIEmhQ3keAuSrTtuXDHR9z444umUQlQ6uHGUG5A Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10821"; a="380203286" X-IronPort-AV: E=Sophos;i="6.02,223,1688454000"; d="scan'208";a="380203286" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2023 18:57:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10821"; a="855164368" X-IronPort-AV: E=Sophos;i="6.02,223,1688454000"; d="scan'208";a="855164368" Received: from lkp-server01.sh.intel.com (HELO 5d8055a4f6aa) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 02 Sep 2023 18:57:38 -0700 Received: from kbuild by 5d8055a4f6aa with local (Exim 4.96) (envelope-from ) id 1qccMq-0002nH-0t; Sun, 03 Sep 2023 01:57:36 +0000 Date: Sun, 3 Sep 2023 09:56:40 +0800 From: kernel test robot To: =?iso-8859-1?Q?Andr=E9?= Almeida , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] drm/amdgpu: Merge debug module parameters Message-ID: <202309030946.q2LgJYO7-lkp@intel.com> References: <20230824162505.173399-2-andrealmeid@igalia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230824162505.173399-2-andrealmeid@igalia.com> X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pierre-eric.pelloux-prayer@amd.com, =?iso-8859-1?Q?Andr=E9?= Almeida , 'Marek =?utf-8?B?T2zFocOhayc=?= , kernel-dev@igalia.com, oe-kbuild-all@lists.linux.dev, alexander.deucher@amd.com, christian.koenig@amd.com Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" Hi André, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.5 next-20230831] [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/Andr-Almeida/drm-amdgpu-Merge-debug-module-parameters/20230825-002641 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230824162505.173399-2-andrealmeid%40igalia.com patch subject: [PATCH 1/2] drm/amdgpu: Merge debug module parameters config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230903/202309030946.q2LgJYO7-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230903/202309030946.q2LgJYO7-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202309030946.q2LgJYO7-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c: In function 'amdgpu_init_debug_options': >> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:2923:33: error: assignment of read-only variable 'debug_evictions' 2923 | debug_evictions = true; | ^ >> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:2933:17: error: 'debug_largebar' undeclared (first use in this function) 2933 | debug_largebar = true; | ^~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:2933:17: note: each undeclared identifier is reported only once for each function it appears in vim +/debug_evictions +2923 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c 2918 2919 static void amdgpu_init_debug_options(void) 2920 { 2921 if (amdgpu_debug_mask & DEBUG_VERBOSE_EVICTIONS) { 2922 pr_info("debug: eviction debug messages enabled\n"); > 2923 debug_evictions = true; 2924 } 2925 2926 if (amdgpu_debug_mask & DEBUG_VM) { 2927 pr_info("debug: VM handling debug enabled\n"); 2928 amdgpu_vm_debug = true; 2929 } 2930 2931 if (amdgpu_debug_mask & DEBUG_LARGEBAR) { 2932 pr_info("debug: enabled simulating large-bar capability on non-large bar system\n"); > 2933 debug_largebar = true; 2934 } 2935 } 2936 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki