X-Received: by 2002:a17:906:8157:b0:6cd:88f7:41d with SMTP id z23-20020a170906815700b006cd88f7041dmr22335ejw.301.1645627041315; Wed, 23 Feb 2022 06:37:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645627041; cv=none; d=google.com; s=arc-20160816; b=t2/Tz9O50wpkGeQy3gMgJ7KA4x5qTSs56HjazS25nQdn5q8yr3qpgXmuiWWvTPl23B TZbdswHQyOaEElKskraeGy0YPo4ltVXT1OgAhxkQhSm79nQiic3CZTYraM4AeW774Equ HsBI/pc4eyI8kGD5LbKgNcwi6t0OLs6npWs1FcXs1JNBBAOWyo1g897H+nMQW9WR/hZk 68uU9Bz5mC5ytTubnbbTz1Mw3/LzyKkRBzOSd27BH2ulDzJo9niQ3r5IBx8NHMWR+ls1 dVAk6DKcEnSc9yohFfsw7TEFW3SHpzYC92Q7nmlVgBiuuiJQwyHR2YDZCilS8vGtUaZ2 Rjxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=4p20aME4k4d26YnLFTZUpFQLF4oSSHIcIYwR7pdDTYM=; b=ckXFGtowd/nE12Liyg/7SDEBpTmpcXcOW/uJwq1LTWH/d2E03VbdjHZbZRRwSIGPaB YSQK5c8xYQeh/nsiBgo9xHksFiLhrARha4hiPkC/3gtrfnYphz+k/hzcotiFf+Ih3TB+ F3L/y6keMiBkcgzwBvvvaAXkc0zdyXB8XUv3bYVlTg3Q+Eh1xVV3dliKcu78THVnXYBx mr1gMdVz8/mTHG8VPUz8u0L8gIxIhB86jl5gIi+bza1se2t3IQjO1siGpDVKFjrrUAdZ X14f/KSGbfkCrQ0ag0nt4B2BQFoA409eXQhuFOB9dTZcspE0Xt6iOHLNg5tdgrLOtukG zF2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bCZmVIck; 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 i17si17684801edc.591.2022.02.23.06.36.55; Wed, 23 Feb 2022 06:37:21 -0800 (PST) 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=bCZmVIck; 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 S240661AbiBWMtS (ORCPT + 99 others); Wed, 23 Feb 2022 07:49:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240606AbiBWMtF (ORCPT ); Wed, 23 Feb 2022 07:49:05 -0500 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40047A8891; Wed, 23 Feb 2022 04:48:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645620517; x=1677156517; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SeCtxrXr47ee1ECiebJOHKwJcw5JwFiRtxOV0liAsAM=; b=bCZmVIckcTvorv5HlejCowrneY4kG6IossE8NkrXzu1UfiNhi1cA4a+Q xPHYYCEbKURyOrZaMo3zeQIwMFRKNfKoMwxJSx8BoKShuYC9DC4Jecz/e Jso9hce7via17zitv2xXH9QYsZrW1xuEkvHe+CoirgmfNQZhw7nZ17JIM d3Gm0iIc3FzEKwqdA5ni+euCQKDtXxIx/j8h9UmKYywfTihHlmVGWpLzr f6FNNeftd0lBN8bo/fVglligjUFAll5+5OHzKUk711INN3ILKRUXvkBis ZRbwAD3CXx2uqZDEG7W4PII8PtR2bOSSPrIsusa7210EAVN0eexwyzLjW g==; X-IronPort-AV: E=McAfee;i="6200,9189,10266"; a="249537081" X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="249537081" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2022 04:48:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,390,1635231600"; d="scan'208";a="683884207" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 23 Feb 2022 04:48:30 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nMr4I-0001Q5-6I; Wed, 23 Feb 2022 12:48:30 +0000 Date: Wed, 23 Feb 2022 20:47:27 +0800 From: kernel test robot To: Sui Jingfeng <15330273260@189.cn>, Maxime Ripard , Thomas Zimmermann , Roland Scheidegger , Zack Rusin , Christian Gmeiner , David Airlie , Daniel Vetter , Rob Herring , Thomas Bogendoerfer , Dan Carpenter , Krzysztof Kozlowski , Andrey Zhizhikin , Sam Ravnborg , "David S . Miller" , Jiaxun Yang , Lucas Stach , Maarten Lankhorst , Ilia Mirkin , Qing Zhang , suijingfeng Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Randy Dunlap , kernel test robot Subject: Re: [PATCH v10 3/4] drm/lsdc: add drm driver for loongson display controller Message-ID: <202202231909.8x2nM3si-lkp@intel.com> References: <20220220145554.117854-4-15330273260@189.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220220145554.117854-4-15330273260@189.cn> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Sui, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on robh/for-next v5.17-rc5 next-20220222] [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/Sui-Jingfeng/drm-lsdc-add-drm-driver-for-loongson-display-controller/20220220-225801 base: git://anongit.freedesktop.org/drm/drm drm-next config: riscv-randconfig-r012-20220221 (https://download.01.org/0day-ci/archive/20220223/202202231909.8x2nM3si-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/0day-ci/linux/commit/3891cda03ed77e66fafaf7cfe075042e13f20173 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Sui-Jingfeng/drm-lsdc-add-drm-driver-for-loongson-display-controller/20220220-225801 git checkout 3891cda03ed77e66fafaf7cfe075042e13f20173 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: undefined symbol: ttm_bo_init >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_create) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: ttm_bo_put >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_put) in archive drivers/built-in.a >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_object_free) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: ttm_tt_init >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(bo_driver_ttm_tt_create) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: ttm_tt_fini >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(bo_driver_ttm_tt_destroy) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: ttm_bo_move_memcpy >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(bo_driver_move) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: ttm_bo_vunmap >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_bo_driver_move_notify) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: drm_gem_ttm_print_info >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_object_funcs) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: drm_gem_ttm_mmap >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_object_funcs) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: ttm_bo_eviction_valuable >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(bo_driver) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: drm_gem_ttm_dumb_map_offset >>> referenced by lsdc_drv.c >>> gpu/drm/lsdc/lsdc_drv.o:(lsdc_vram_driver_stub) in archive drivers/built-in.a -- >> ld.lld: error: undefined symbol: ttm_bo_move_to_lru_tail >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_pin) in archive drivers/built-in.a >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_unpin) in archive drivers/built-in.a >>> referenced by drm_gem_vram_helper.c >>> gpu/drm/drm_gem_vram_helper.o:(drm_gem_vram_vmap) in archive drivers/built-in.a >>> referenced 1 more times .. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org