[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202309030946.q2LgJYO7-lkp@intel.com>
Date: Sun, 3 Sep 2023 09:56:40 +0800
From: kernel test robot <lkp@...el.com>
To: André Almeida <andrealmeid@...lia.com>,
dri-devel@...ts.freedesktop.org, amd-gfx@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, pierre-eric.pelloux-prayer@....com,
André Almeida <andrealmeid@...lia.com>,
'Marek Olšák' <maraeo@...il.com>,
kernel-dev@...lia.com, alexander.deucher@....com,
christian.koenig@....com
Subject: Re: [PATCH 1/2] drm/amdgpu: Merge debug module parameters
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 <lkp@...el.com>
| 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
Powered by blists - more mailing lists