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 1E2ADC433F5 for ; Wed, 24 Nov 2021 08:12:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241274AbhKXIPw (ORCPT ); Wed, 24 Nov 2021 03:15:52 -0500 Received: from mga18.intel.com ([134.134.136.126]:28488 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238955AbhKXIPw (ORCPT ); Wed, 24 Nov 2021 03:15:52 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10177"; a="222103967" X-IronPort-AV: E=Sophos;i="5.87,260,1631602800"; d="scan'208";a="222103967" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Nov 2021 00:12:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,260,1631602800"; d="scan'208";a="591495451" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 24 Nov 2021 00:12:38 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mpnOQ-0004W4-3B; Wed, 24 Nov 2021 08:12:38 +0000 Date: Wed, 24 Nov 2021 16:12:15 +0800 From: kernel test robot To: Akhil P Oommen , freedreno , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark Cc: kbuild-all@lists.01.org, Douglas Anderson , Jordan Crouse , Matthias Kaehlcke , Jonathan Marek , Daniel Vetter , David Airlie Subject: Re: [PATCH v2 6/6] drm/msm/a6xx: Add a few gmu buffers to coredump Message-ID: <202111241604.cGzD1KB0-lkp@intel.com> References: <20211124024436.v2.6.Ibfca354efaf274142593a6dbfbedb3de31918ff6@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211124024436.v2.6.Ibfca354efaf274142593a6dbfbedb3de31918ff6@changeid> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Akhil, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm/drm-next] [also build test WARNING on drm-intel/for-linux-next drm-tip/drm-tip v5.16-rc2 next-20211124] [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/Akhil-P-Oommen/drm-msm-Increase-gpu-boost-interval/20211124-052303 base: git://anongit.freedesktop.org/drm/drm drm-next config: xtensa-allyesconfig (https://download.01.org/0day-ci/archive/20211124/202111241604.cGzD1KB0-lkp@intel.com/config) compiler: xtensa-linux-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/9bb31a2940567b37d0eead980d4bef5f4cef7d24 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Akhil-P-Oommen/drm-msm-Increase-gpu-boost-interval/20211124-052303 git checkout 9bb31a2940567b37d0eead980d4bef5f4cef7d24 # save the config file to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=xtensa If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:1244:6: warning: no previous prototype for 'a6xx_gmu_show' [-Wmissing-prototypes] 1244 | void a6xx_gmu_show(struct a6xx_gmu_state *gmu_state, struct drm_printer *p) | ^~~~~~~~~~~~~ vim +/a6xx_gmu_show +1244 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c 1243 > 1244 void a6xx_gmu_show(struct a6xx_gmu_state *gmu_state, struct drm_printer *p) 1245 { 1246 int i; 1247 1248 drm_puts(p, "gmu-log:\n"); 1249 if (gmu_state->log_bo) { 1250 struct msm_gpu_state_bo *log_bo = gmu_state->log_bo; 1251 1252 drm_printf(p, " iova: 0x%016llx\n", log_bo->iova); 1253 drm_printf(p, " size: %zu\n", log_bo->size); 1254 adreno_show_object(p, &log_bo->data, log_bo->size, 1255 &log_bo->encoded); 1256 } 1257 1258 drm_puts(p, "gmu-hfi:\n"); 1259 if (gmu_state->hfi_bo) { 1260 struct msm_gpu_state_bo *hfi_bo = gmu_state->hfi_bo; 1261 1262 drm_printf(p, " iova: 0x%016llx\n", hfi_bo->iova); 1263 drm_printf(p, " size: %zu\n", hfi_bo->size); 1264 adreno_show_object(p, &hfi_bo->data, hfi_bo->size, 1265 &hfi_bo->encoded); 1266 } 1267 1268 drm_puts(p, "gmu-debug:\n"); 1269 if (gmu_state->debug_bo) { 1270 struct msm_gpu_state_bo *debug_bo = gmu_state->debug_bo; 1271 1272 drm_printf(p, " iova: 0x%016llx\n", debug_bo->iova); 1273 drm_printf(p, " size: %zu\n", debug_bo->size); 1274 adreno_show_object(p, &debug_bo->data, debug_bo->size, 1275 &debug_bo->encoded); 1276 } 1277 1278 drm_puts(p, "registers-gmu:\n"); 1279 for (i = 0; i < gmu_state->nr_registers; i++) { 1280 struct a6xx_gpu_state_obj *obj = &gmu_state->registers[i]; 1281 const struct a6xx_registers *regs = obj->handle; 1282 1283 if (!obj->handle) 1284 continue; 1285 1286 a6xx_show_registers(regs->registers, obj->data, regs->count, p); 1287 } 1288 } 1289 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org