From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 2AAA45CA7 for ; Fri, 19 Aug 2022 14:41:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660920062; x=1692456062; h=date:from:to:cc:subject:message-id:mime-version; bh=QJCohzmA6wte7TO2zXC2D3QguFaAb5AK+F2YZ8NHYiE=; b=iInmbSECIcjw/YCr/OZDvJFslHP1yWv74JBrqu5bLAGupAdxlaWb2Wpi SNNxN5hHTBLfV15oW+lBs11fiWIWVg+1j9wstfMp5GzBjcFwzCwqt1yZn hfYs7GEvWUoO8MirSYAc0IjKx/kF4DUjdQxsIetOc7OZCTft843hk602J JronefxPNJMTjqmexnLD+s34NZ0LDjEM8nvF3y6JucSaK776M9YVWFXAS 7e8gQFjovGzyfpTEe6fXg+iGanUnGq9CEkwhwbG3eTl1fpbjn5oYXyhZ1 S9C31k086GfIVV6YzGpiC5OvkjBmYwdk46DK2bBx6Iy4PHl4OGziiJq5C w==; X-IronPort-AV: E=McAfee;i="6500,9779,10444"; a="279988001" X-IronPort-AV: E=Sophos;i="5.93,248,1654585200"; d="scan'208";a="279988001" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2022 07:41:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,248,1654585200"; d="scan'208";a="936241117" Received: from lkp-server01.sh.intel.com (HELO 44b6dac04a33) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 19 Aug 2022 07:40:59 -0700 Received: from kbuild by 44b6dac04a33 with local (Exim 4.96) (envelope-from ) id 1oP3BD-0001WV-09; Fri, 19 Aug 2022 14:40:59 +0000 Date: Fri, 19 Aug 2022 22:39:58 +0800 From: kernel test robot To: Matthew Brost Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, John Harrison , Alan Previn Subject: [drm-intel:drm-intel-gt-next 2/2] drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:352:20: error: unused function 'context_has_committed_requests' Message-ID: <202208192254.jhkStQcS-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline drivers/gpu/drm/i915/gem/i915_gem_context.c drivers/gpu/drm/i915/gt/intel_context.h drivers/gpu/drm/i915/gt/intel_context_types.h drivers/gpu/drm/i915/gt/uc/intel_guc.h drivers/gpu/drm/i915/gt/uc/intel_guc_debugfs.c drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c drivers/gpu/drm/i915/i915_selftest.h tree: git://anongit.freedesktop.org/drm-intel drm-intel-gt-next head: 6a079903847cce1dd06345127d2a32f26d2cd9c6 commit: 6a079903847cce1dd06345127d2a32f26d2cd9c6 [2/2] drm/i915/guc: Add delay to disable scheduling after pin count goes to zero config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20220819/202208192254.jhkStQcS-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 0ac597f3cacf60479ffd36b03766fa7462dabd78) 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 git remote add drm-intel git://anongit.freedesktop.org/drm-intel git fetch --no-tags drm-intel drm-intel-gt-next git checkout 6a079903847cce1dd06345127d2a32f26d2cd9c6 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/i915/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:352:20: error: unused function 'context_has_committed_requests' [-Werror,-Wunused-function] static inline bool context_has_committed_requests(struct intel_context *ce) ^ 1 error generated. vim +/context_has_committed_requests +352 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c 62eaf0ae217d45 Matthew Brost 2021-07-26 351 5b116c17e6babc Matthew Brost 2021-09-09 @352 static inline bool context_has_committed_requests(struct intel_context *ce) 5b116c17e6babc Matthew Brost 2021-09-09 353 { 5b116c17e6babc Matthew Brost 2021-09-09 354 return !!ce->guc_state.number_committed_requests; 5b116c17e6babc Matthew Brost 2021-09-09 355 } 5b116c17e6babc Matthew Brost 2021-09-09 356 :::::: The code at line 352 was first introduced by commit :::::: 5b116c17e6babc6de2e26714bc66228c74038b71 drm/i915/guc: Drop pin count check trick between sched_disable and re-pin :::::: TO: Matthew Brost :::::: CC: John Harrison -- 0-DAY CI Kernel Test Service https://01.org/lkp