[Intel-gfx] [PATCH] drm/i915/execlists: Add interrupt-pending check to intel_execlists_idle()
kbuild test robot
lkp at intel.com
Wed Feb 1 13:57:52 UTC 2017
Hi Chris,
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.10-rc6 next-20170201]
[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-execlists-Add-interrupt-pending-check-to-intel_execlists_idle/20170201-212404
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x014-201705 (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=x86_64
All errors (new ones prefixed by >>):
In file included from include/linux/bitops.h:36:0,
from include/linux/kernel.h:10,
from include/linux/interrupt.h:5,
from drivers/gpu/drm/i915/intel_lrc.c:134:
drivers/gpu/drm/i915/intel_lrc.c: In function 'intel_execlists_idle':
>> drivers/gpu/drm/i915/intel_lrc.c:551:16: error: 'ENGINE_IRQ_EXECLIST' undeclared (first use in this function)
if (test_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted))
^
arch/x86/include/asm/bitops.h:349:25: note: in definition of macro 'test_bit'
(__builtin_constant_p((nr)) \
^~
drivers/gpu/drm/i915/intel_lrc.c:551:16: note: each undeclared identifier is reported only once for each function it appears in
if (test_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted))
^
arch/x86/include/asm/bitops.h:349:25: note: in definition of macro 'test_bit'
(__builtin_constant_p((nr)) \
^~
>> drivers/gpu/drm/i915/intel_lrc.c:551:44: error: 'struct intel_engine_cs' has no member named 'irq_posted'; did you mean 'irq_tasklet'?
if (test_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted))
^
arch/x86/include/asm/bitops.h:350:30: note: in definition of macro 'test_bit'
? constant_test_bit((nr), (addr)) \
^~~~
>> drivers/gpu/drm/i915/intel_lrc.c:551:44: error: 'struct intel_engine_cs' has no member named 'irq_posted'; did you mean 'irq_tasklet'?
if (test_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted))
^
arch/x86/include/asm/bitops.h:351:30: note: in definition of macro 'test_bit'
: variable_test_bit((nr), (addr)))
^~~~
vim +/ENGINE_IRQ_EXECLIST +551 drivers/gpu/drm/i915/intel_lrc.c
545
546 if (!i915.enable_execlists)
547 return true;
548
549 for_each_engine(engine, dev_priv, id) {
550 /* Interrupt/tasklet pending? */
> 551 if (test_bit(ENGINE_IRQ_EXECLIST, &engine->irq_posted))
552 return false;
553
554 /* Both ports drained, no more ELSP submission? */
---
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: 30900 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170201/cebcb8d6/attachment-0001.gz>
More information about the Intel-gfx
mailing list