[Intel-gfx] [PATCH] drm/i915: Don't mark an execlists context-switch when idle

kbuild test robot lkp at intel.com
Tue Apr 11 10:54:05 UTC 2017


Hi Chris,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20170410]
[cannot apply to v4.11-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-Don-t-mark-an-execlists-context-switch-when-idle/20170411-183510
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-x070-201715 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_irq.c: In function 'gen8_cs_irq_handler':
>> drivers/gpu/drm/i915/i915_irq.c:1362:7: error: implicit declaration of function 'port_count' [-Werror=implicit-function-declaration]
      if (port_count(&engine->execlist_port[0])) {
          ^~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/port_count +1362 drivers/gpu/drm/i915/i915_irq.c

  1356	static __always_inline void
  1357	gen8_cs_irq_handler(struct intel_engine_cs *engine, u32 iir, int test_shift)
  1358	{
  1359		bool tasklet = false;
  1360	
  1361		if (iir & (GT_CONTEXT_SWITCH_INTERRUPT << test_shift)) {
> 1362			if (port_count(&engine->execlist_port[0])) {
  1363				set_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted);
  1364				tasklet = true;
  1365			}

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 24805 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170411/f2156fde/attachment-0001.gz>


More information about the Intel-gfx mailing list