From: kbuild test robot <lkp@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org, kbuild-all@01.org
Subject: Re: [PATCH] drm/i915: Don't mark an execlists context-switch when idle
Date: Tue, 11 Apr 2017 19:04:15 +0800 [thread overview]
Message-ID: <201704111836.UkYrm75c%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170411091856.4246-1-chris@chris-wilson.co.uk>
[-- Attachment #1: Type: text/plain, Size: 2801 bytes --]
Hi Chris,
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20170411]
[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: x86_64-randconfig-x003-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=x86_64
All warnings (new ones prefixed by >>):
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/sysrq.h:18,
from drivers/gpu/drm/i915/i915_irq.c:31:
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])) {
^
include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
>> drivers/gpu/drm/i915/i915_irq.c:1362:3: note: in expansion of macro 'if'
if (port_count(&engine->execlist_port[0])) {
^~
cc1: some warnings being treated as errors
vim +/if +1362 drivers/gpu/drm/i915/i915_irq.c
1346
1347 if (gt_iir & (GT_BLT_CS_ERROR_INTERRUPT |
1348 GT_BSD_CS_ERROR_INTERRUPT |
1349 GT_RENDER_CS_MASTER_ERROR_INTERRUPT))
1350 DRM_DEBUG("Command parser error, gt_iir 0x%08x\n", gt_iir);
1351
1352 if (gt_iir & GT_PARITY_ERROR(dev_priv))
1353 ivybridge_parity_error_irq_handler(dev_priv, gt_iir);
1354 }
1355
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 }
1366 }
1367
1368 if (iir & (GT_RENDER_USER_INTERRUPT << test_shift)) {
1369 notify_ring(engine);
1370 tasklet |= i915.enable_guc_submission;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25878 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-04-11 11:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-11 9:18 [PATCH] drm/i915: Don't mark an execlists context-switch when idle Chris Wilson
2017-04-11 9:20 ` ✗ Fi.CI.BAT: failure for " Patchwork
2017-04-11 10:54 ` [PATCH] " kbuild test robot
2017-04-11 11:04 ` kbuild test robot [this message]
2017-04-11 11:29 ` Chris Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201704111836.UkYrm75c%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
--cc=kbuild-all@01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.