Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp2026387rdb; Wed, 31 Jan 2024 17:35:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGBqqiqWsnzQH1jRdB2ShGj3ZXC89k1cOGPFUtoaMcCyBgBRQQB+3OEwe0lgZf1W6al7vy X-Received: by 2002:a17:906:e0b:b0:a36:73c0:d204 with SMTP id l11-20020a1709060e0b00b00a3673c0d204mr647541eji.50.1706751324399; Wed, 31 Jan 2024 17:35:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706751324; cv=pass; d=google.com; s=arc-20160816; b=QWSubkP/x8GByXJbY1xm3VGh1JJ4lshr/u47AlCFJ+Ddvnpd8fuaDDB5VUXbhNBrjl XHor5ao6GD70i/SLVLW3UtnS5jDcBUTGvZYaoHlnaWs0zMKpko19Y+VxDC3vCNdrvges lztUFt8+9S2aBa8m1gzYAxuzWzTQpWzNNG8xEdTRtA0huZ39byvWJ7nLOoKalBcjqrCN Qhu2RzFcyiFmHnFWbide5tj0kgmJYk8YiON31G8OzZbJROK+qCddBQXEhkeRWB/8cGCe ZyeKvf4Y+oPJe/AwO17OM92KTfaI+NJ79bjP3U2su8uIEtl2wcfJ868H3ra1MM25Kzc9 mLxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=Qsqg8clBGT4TZHbbY1fOIApImdsIN/gstF6BgyI2EQw=; fh=js5IaTlo0gYa7jCC/mmKxskLM4whsqJUgrFMtpNDxEc=; b=g+vFGf/FEC1VRFyf5ywcxFaVBtvLlLsJUwYRUFvEfMzp0INnAuVM0lKdz2aQBxDbv2 6XLovonfT56FXO0X+GpLFw25o5waTeMBunecpk/nJGLgghEvR/snavZhPicl31Hu4soP TsH7E3qGvraTUb9cixQZiaDe9THyRa2WKL6qnUvMPHfAkw7Je5Z1uKVeJGCjpA+w3lv+ dsMJdvW5afLd3TEafqcQtHXGYaGBkxH0mNTVvYj31jPatDbGcpBRtyxMsTFcTf/zcPth gfPBOWcgZ2gu1t79avzb41j2BBen5Bf8lu0RRn74fPdIxU4kX3mdHyNIuXEAJPsAktNN 4eAA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BZsB0746; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-47501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47501-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCVkmU8r/bD/V3PzQra+59dszWdGW2Q/8By6wbJ2mVIbTU8cgQIYqmItoD0DGxnzRC9jA/hOrrvODPuQby06pAoZLWPJZxJ/9oOoRpAoXw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n22-20020a1709061d1600b00a32e34b96d1si5959956ejh.669.2024.01.31.17.35.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 17:35:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BZsB0746; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-47501-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47501-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2723D1F24BD4 for ; Thu, 1 Feb 2024 01:35:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C5D92119; Thu, 1 Feb 2024 01:35:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BZsB0746" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B4BD4A2E for ; Thu, 1 Feb 2024 01:35:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706751315; cv=none; b=L7oLwcaf4D2ix/x27xDD73DGqenm53FCaSHN5SmL3yJVQVInNG99VYtK7XfHz2x6DozVcfLNaz942fyQwLJ8JflLO0zi6ezl0IYC/2NGtL+0WtsWtkcf6eSqPuB2J72eMKZ5Yqf7ptyw9nkaCN4soOa61b0gIxT+G8EW/qzhygU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706751315; c=relaxed/simple; bh=3ncwFn2EBiz7K4vNyQ2OHTqEHXKCkUDlLERY625dMWs=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=uJkzhmsrdcp6EvdprLZ/ux/kORD08U2KxPvZFuyR1jGlHgFiCsE9nnAG0M6BKV1GzDlcFc9vtqFnd9Le3afVE5xofRCetAimi1pV7qtRaNnjTPCa7D5dKkOBuI5ZdtQRwRUgCMM6VmIgUpEiGXNHqy0UcGFrQ9QnMZqsb5Xb1Po= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=BZsB0746; arc=none smtp.client-ip=192.198.163.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706751312; x=1738287312; h=date:from:to:cc:subject:message-id:mime-version; bh=3ncwFn2EBiz7K4vNyQ2OHTqEHXKCkUDlLERY625dMWs=; b=BZsB0746fW13UqidfyKdOwX/RSo9daP0ic7s61fSXqO9zNmpFlun924T u+Rvp/ziDefGCcjbmtxChuod9AxcCZ/08SBkxHfdUhSBh+Sax1Da3eFvA CG+QcJNCY06mT5wQcA3XEy7Aq8V/Y3+Fpbgm5ZNgc02jBL6FR4WDr7ewk 2eWyVwpdfB0ZN5r9lIo1n5whE+R+uQ49q08k/GD+yjVHoAvRHKxLOjZUq KcDZi1ykm3J9kwiEC/lwHbJgUvNmHloCC3PqusLvmQzwV7z9fs0js6+Aj MTLtCL+C4RigHgDklG5XcHpN5fOSqafidajJqmYbvbfQD7pgo94rzT+LY g==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="10432074" X-IronPort-AV: E=Sophos;i="6.05,233,1701158400"; d="scan'208";a="10432074" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2024 17:35:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="788787437" X-IronPort-AV: E=Sophos;i="6.05,233,1701158400"; d="scan'208";a="788787437" Received: from lkp-server02.sh.intel.com (HELO 59f4f4cd5935) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 31 Jan 2024 17:35:09 -0800 Received: from kbuild by 59f4f4cd5935 with local (Exim 4.96) (envelope-from ) id 1rVLy0-0002FC-2p; Thu, 01 Feb 2024 01:34:38 +0000 Date: Thu, 1 Feb 2024 09:33:44 +0800 From: kernel test robot To: Matthew Brost Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Rodrigo Vivi Subject: drivers/gpu/drm/xe/xe_lrc.c:544:1: error: unused function '__xe_lrc_regs_ggtt_addr' Message-ID: <202402010928.g3j2aSBL-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6764c317b6bb91bd806ef79adf6d9c0e428b191e commit: dd08ebf6c3525a7ea2186e636df064ea47281987 drm/xe: Introduce a new DRM driver for Intel GPUs date: 7 weeks ago config: x86_64-randconfig-002-20240201 (https://download.01.org/0day-ci/archive/20240201/202402010928.g3j2aSBL-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240201/202402010928.g3j2aSBL-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/202402010928.g3j2aSBL-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/gpu/drm/xe/xe_lrc.c:544:1: error: unused function '__xe_lrc_regs_ggtt_addr' [-Werror,-Wunused-function] 544 | DECL_MAP_ADDR_HELPERS(regs) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/xe/xe_lrc.c:536:19: note: expanded from macro 'DECL_MAP_ADDR_HELPERS' 536 | static inline u32 __xe_lrc_##elem##_ggtt_addr(struct xe_lrc *lrc) \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ :54:1: note: expanded from here 54 | __xe_lrc_regs_ggtt_addr | ^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for DRM_I915_DEBUG_GEM Depends on [n]: HAS_IOMEM [=y] && DRM_I915 [=y] && EXPERT [=y] && DRM_I915_WERROR [=n] Selected by [y]: - DRM_I915_DEBUG [=y] && HAS_IOMEM [=y] && DRM_I915 [=y] && EXPERT [=y] && !COMPILE_TEST [=n] vim +/__xe_lrc_regs_ggtt_addr +544 drivers/gpu/drm/xe/xe_lrc.c 540 541 DECL_MAP_ADDR_HELPERS(ring) 542 DECL_MAP_ADDR_HELPERS(pphwsp) 543 DECL_MAP_ADDR_HELPERS(seqno) > 544 DECL_MAP_ADDR_HELPERS(regs) 545 DECL_MAP_ADDR_HELPERS(start_seqno) 546 DECL_MAP_ADDR_HELPERS(parallel) 547 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki