[drm-intel:for-linux-next 3/6] drivers/gpu//drm/i915/display/intel_display.c:253:1: error: 'has_transcoder' defined but not used
kbuild test robot
lkp at intel.com
Thu Feb 27 00:27:27 UTC 2020
tree: git://anongit.freedesktop.org/drm-intel for-linux-next
head: 7a0a6ee731508b770f3ee198af7b0c87a20ebb80
commit: d54c1a513c487ac6d6b3c4595e93e3625b461cc3 [3/6] drm/i915: Fix broken transcoder err state
config: x86_64-randconfig-b003-20200226 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout d54c1a513c487ac6d6b3c4595e93e3625b461cc3
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu//drm/i915/display/intel_display.c:253:1: error: 'has_transcoder' defined but not used [-Werror=unused-function]
has_transcoder(struct drm_i915_private *dev_priv, enum transcoder cpu_transcoder)
^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/has_transcoder +253 drivers/gpu//drm/i915/display/intel_display.c
251
252 static bool
> 253 has_transcoder(struct drm_i915_private *dev_priv, enum transcoder cpu_transcoder)
254 {
255 if (cpu_transcoder == TRANSCODER_EDP)
256 return HAS_TRANSCODER_EDP(dev_priv);
257 else
258 return INTEL_INFO(dev_priv)->pipe_mask & BIT(cpu_transcoder);
259 }
260
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 36746 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200227/6b6931ae/attachment-0001.gz>
More information about the dri-devel
mailing list