Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp956396rwd; Wed, 7 Jun 2023 09:02:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5q25oiZy4fZ2dquku/GStjgKFCx/s6nepJlsWBrqdm6Auxwpt+OA0gmXtt7NZ23u8BOzjj X-Received: by 2002:a05:6a20:a120:b0:10b:8221:3348 with SMTP id q32-20020a056a20a12000b0010b82213348mr4228364pzk.50.1686153777260; Wed, 07 Jun 2023 09:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686153777; cv=none; d=google.com; s=arc-20160816; b=syjUM96AbsQZViKn4PVjtnBfZSJtVUdlpvKiqx+5V/5kKnWqPt8XEWskTQ+hWE1NU2 oAOJNGH+LUDz5EeLWoG4Qsn96uNWFuStNVJr8vgeFsBq7gll/ERPIzlj3+7OjqZLgFV2 Dj7hhvhBKX0VFECPtzJdVhT4iYrhzvNP20I6vhibB+o3cE1n2N1CYDoevREtZnc5swhq ncAghaYDAErkGghskkjpAWXynZhL72VoutYvVtHfRhYAp89FY76M2o8ypsBm4F9Z4Lgo qGDbJHIOBUWSZMEX2SgRxTX2sI4d8198xYovi/VT7uKtpSrX75jw8rBWoRoujpahLEhv 47Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=82nNMX/FrNSBXIid7JRoOOJpiFKlBz0yRf6fItliZ+A=; b=0g8Wt5BeUgd/DpRAU1gZfkG5VwyoGEQQq5G9XvxBAOJIatIR7JQz/BueOW32DqBIBb hujzgXcPmFD98ukxT3hZwx4rSHwCB6TnNiOQr0A0P9EHhBw4O2t5MxhF6yjri8IdHJaU FAxd2gJtPIf3Z7U+AKjjuMpkLCn+ynnKaSVp1cwuMz1CgPykzQEcKUeQaTg6S1DToPlv 5gtI8zke3dnPGzoboaJV9vL5a8VNOO9Q3rGLcofOJWiyZuOLTQ5LCeuySMmtoT9Sjnoz DEjoWbZ/NagljCdHcp00LBJJRU1K4qDFA8eJK7+aPRuR25pbHbdUkJkuY0CENWakFi/1 e6ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=elmY1HQz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a634949000000b0053fcc4f96cesi9072779pgk.844.2023.06.07.09.02.33; Wed, 07 Jun 2023 09:02:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=elmY1HQz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241172AbjFGPni (ORCPT + 99 others); Wed, 7 Jun 2023 11:43:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240088AbjFGPng (ORCPT ); Wed, 7 Jun 2023 11:43:36 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0814173B; Wed, 7 Jun 2023 08:43:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686152615; x=1717688615; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=j6zflyQMoWlDas1SZirAeOtucemhZGcw3KpPqh1Lgbc=; b=elmY1HQzSzVoTfnUwXwM7pma+QNO7V9eLQqVDTKjbm8UFULv0Nm4/jVY v1ohLV/zMi7mBlTZeNpbwq/SjSElMf+LKpk+2bREjdhB/x78CeJsOs9gQ Qq+73sEV/FQmQ8Ls9mu9YzC7OoxZi8Li90ObuDF5WHA6crXUgUzM0ywq1 Ksluj8NaQURR9OMZhUcIaMSpBJf2EFj6SuBRObD/GG9//c7g4TiqLU+mo l4u2T410X7QU/PDZSm+CFcFLNb3xxrWmA+yLpNiOtFTfntuqBrHBEGDpV SDK6MBhWtvI33NDIRGMgsLcsbxueBNMnVBv7IVvqQ9/1Qnr+eAt5tP4aK Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10734"; a="420584314" X-IronPort-AV: E=Sophos;i="6.00,224,1681196400"; d="scan'208";a="420584314" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2023 08:43:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10734"; a="1039727330" X-IronPort-AV: E=Sophos;i="6.00,224,1681196400"; d="scan'208";a="1039727330" Received: from lkp-server01.sh.intel.com (HELO 15ab08e44a81) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 07 Jun 2023 08:43:20 -0700 Received: from kbuild by 15ab08e44a81 with local (Exim 4.96) (envelope-from ) id 1q6vJf-0006hv-24; Wed, 07 Jun 2023 15:43:19 +0000 Date: Wed, 7 Jun 2023 23:42:32 +0800 From: kernel test robot To: Danilo Krummrich , airlied@gmail.com, daniel@ffwll.ch, tzimmermann@suse.de, mripard@kernel.org, corbet@lwn.net, christian.koenig@amd.com, bskeggs@redhat.com, Liam.Howlett@oracle.com, matthew.brost@intel.com, boris.brezillon@collabora.com, alexdeucher@gmail.com, ogabbay@kernel.org, bagasdotme@gmail.com, willy@infradead.org, jason@jlekstrand.net Cc: oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Danilo Krummrich Subject: Re: [PATCH drm-next v4 09/14] drm/nouveau: fence: separate fence alloc and emit Message-ID: <202306072327.BHC88W12-lkp@intel.com> References: <20230606223130.6132-10-dakr@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230606223130.6132-10-dakr@redhat.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Danilo, kernel test robot noticed the following build errors: [auto build test ERROR on 33a86170888b7e4aa0cea94ebb9c67180139cea9] url: https://github.com/intel-lab-lkp/linux/commits/Danilo-Krummrich/drm-execution-context-for-GEM-buffers-v4/20230607-063442 base: 33a86170888b7e4aa0cea94ebb9c67180139cea9 patch link: https://lore.kernel.org/r/20230606223130.6132-10-dakr%40redhat.com patch subject: [PATCH drm-next v4 09/14] drm/nouveau: fence: separate fence alloc and emit config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230607/202306072327.BHC88W12-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): git checkout 33a86170888b7e4aa0cea94ebb9c67180139cea9 b4 shazam https://lore.kernel.org/r/20230606223130.6132-10-dakr@redhat.com # 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 drivers/gpu/drm/ 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/202306072327.BHC88W12-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/gpu/drm/nouveau/nouveau_dmem.c: In function 'nouveau_dmem_migrate_chunk': >> drivers/gpu/drm/nouveau/nouveau_dmem.c:681:43: error: 'chunk' undeclared (first use in this function) 681 | nouveau_fence_emit(fence, chunk->drm->dmem->migrate.chan); | ^~~~~ drivers/gpu/drm/nouveau/nouveau_dmem.c:681:43: note: each undeclared identifier is reported only once for each function it appears in vim +/chunk +681 drivers/gpu/drm/nouveau/nouveau_dmem.c 664 665 static void nouveau_dmem_migrate_chunk(struct nouveau_drm *drm, 666 struct nouveau_svmm *svmm, struct migrate_vma *args, 667 dma_addr_t *dma_addrs, u64 *pfns) 668 { 669 struct nouveau_fence *fence; 670 unsigned long addr = args->start, nr_dma = 0, i; 671 672 for (i = 0; addr < args->end; i++) { 673 args->dst[i] = nouveau_dmem_migrate_copy_one(drm, svmm, 674 args->src[i], dma_addrs + nr_dma, pfns + i); 675 if (!dma_mapping_error(drm->dev->dev, dma_addrs[nr_dma])) 676 nr_dma++; 677 addr += PAGE_SIZE; 678 } 679 680 if (!nouveau_fence_new(&fence)) > 681 nouveau_fence_emit(fence, chunk->drm->dmem->migrate.chan); 682 migrate_vma_pages(args); 683 nouveau_dmem_fence_done(&fence); 684 nouveau_pfns_map(svmm, args->vma->vm_mm, args->start, pfns, i); 685 686 while (nr_dma--) { 687 dma_unmap_page(drm->dev->dev, dma_addrs[nr_dma], PAGE_SIZE, 688 DMA_BIDIRECTIONAL); 689 } 690 migrate_vma_finalize(args); 691 } 692 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki