From: kbuild test robot <lkp@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org, kbuild-all@lists.01.org
Subject: Re: [PATCH] drm/i915/gt: Schedule request retirement when submission idles
Date: Tue, 19 Nov 2019 23:28:31 +0800 [thread overview]
Message-ID: <201911192314.OVv3X2gh%lkp@intel.com> (raw)
In-Reply-To: <20191118144513.2384135-1-chris@chris-wilson.co.uk>
[-- Attachment #1: Type: text/plain, Size: 3589 bytes --]
Hi Chris,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20191118]
[cannot apply to v5.4-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-gt-Schedule-request-retirement-when-submission-idles/20191119-023819
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-e002-20191119 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/export.h:42:0,
from include/linux/linkage.h:7,
from include/linux/kernel.h:8,
from include/linux/interrupt.h:6,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
drivers/gpu/drm/i915/gt/intel_lrc.c: In function 'execlists_submission_tasklet':
drivers/gpu/drm/i915/gt/intel_lrc.c:2235:7: error: implicit declaration of function 'execlists_execlists'; did you mean 'execlists_active'? [-Werror=implicit-function-declaration]
if (!execlists_execlists(&engine->execlists))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> drivers/gpu/drm/i915/gt/intel_lrc.c:2235:2: note: in expansion of macro 'if'
if (!execlists_execlists(&engine->execlists))
^~
cc1: some warnings being treated as errors
vim +/if +2235 drivers/gpu/drm/i915/gt/intel_lrc.c
2205
2206 /*
2207 * Check the unread Context Status Buffers and manage the submission of new
2208 * contexts to the ELSP accordingly.
2209 */
2210 static void execlists_submission_tasklet(unsigned long data)
2211 {
2212 struct intel_engine_cs * const engine = (struct intel_engine_cs *)data;
2213 bool timeout = preempt_timeout(engine);
2214
2215 process_csb(engine);
2216 if (!READ_ONCE(engine->execlists.pending[0]) || timeout) {
2217 unsigned long flags;
2218
2219 spin_lock_irqsave(&engine->active.lock, flags);
2220 __execlists_submission_tasklet(engine);
2221 spin_unlock_irqrestore(&engine->active.lock, flags);
2222
2223 /* Recheck after serialising with direct-submission */
2224 if (timeout && preempt_timeout(engine))
2225 preempt_reset(engine);
2226 }
2227
2228 /*
2229 * If the GPU is currently idle, retire the outstanding completed
2230 * requests. This will allow us to enter soft-rc6 as soon as possible,
2231 * albeit at the cost of running the retire worker much more frequently
2232 * (over the entire GT not just this engine) and emitting more idle
2233 * barriers (i.e. kernel context switches) which may some extra latency.
2234 */
> 2235 if (!execlists_execlists(&engine->execlists))
2236 intel_gt_schedule_retire_requests(engine->gt);
2237 }
2238
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33036 bytes --]
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org, kbuild-all@lists.01.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/gt: Schedule request retirement when submission idles
Date: Tue, 19 Nov 2019 23:28:31 +0800 [thread overview]
Message-ID: <201911192314.OVv3X2gh%lkp@intel.com> (raw)
Message-ID: <20191119152831.Xl0h_n3NckwjZoJkk20fVNKvnaBeZ7tems6qeOusOk8@z> (raw)
In-Reply-To: <20191118144513.2384135-1-chris@chris-wilson.co.uk>
[-- Attachment #1: Type: text/plain, Size: 3589 bytes --]
Hi Chris,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20191118]
[cannot apply to v5.4-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-gt-Schedule-request-retirement-when-submission-idles/20191119-023819
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-e002-20191119 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/export.h:42:0,
from include/linux/linkage.h:7,
from include/linux/kernel.h:8,
from include/linux/interrupt.h:6,
from drivers/gpu/drm/i915/gt/intel_lrc.c:134:
drivers/gpu/drm/i915/gt/intel_lrc.c: In function 'execlists_submission_tasklet':
drivers/gpu/drm/i915/gt/intel_lrc.c:2235:7: error: implicit declaration of function 'execlists_execlists'; did you mean 'execlists_active'? [-Werror=implicit-function-declaration]
if (!execlists_execlists(&engine->execlists))
^
include/linux/compiler.h:58:52: note: in definition of macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond))
^~~~
>> drivers/gpu/drm/i915/gt/intel_lrc.c:2235:2: note: in expansion of macro 'if'
if (!execlists_execlists(&engine->execlists))
^~
cc1: some warnings being treated as errors
vim +/if +2235 drivers/gpu/drm/i915/gt/intel_lrc.c
2205
2206 /*
2207 * Check the unread Context Status Buffers and manage the submission of new
2208 * contexts to the ELSP accordingly.
2209 */
2210 static void execlists_submission_tasklet(unsigned long data)
2211 {
2212 struct intel_engine_cs * const engine = (struct intel_engine_cs *)data;
2213 bool timeout = preempt_timeout(engine);
2214
2215 process_csb(engine);
2216 if (!READ_ONCE(engine->execlists.pending[0]) || timeout) {
2217 unsigned long flags;
2218
2219 spin_lock_irqsave(&engine->active.lock, flags);
2220 __execlists_submission_tasklet(engine);
2221 spin_unlock_irqrestore(&engine->active.lock, flags);
2222
2223 /* Recheck after serialising with direct-submission */
2224 if (timeout && preempt_timeout(engine))
2225 preempt_reset(engine);
2226 }
2227
2228 /*
2229 * If the GPU is currently idle, retire the outstanding completed
2230 * requests. This will allow us to enter soft-rc6 as soon as possible,
2231 * albeit at the cost of running the retire worker much more frequently
2232 * (over the entire GT not just this engine) and emitting more idle
2233 * barriers (i.e. kernel context switches) which may some extra latency.
2234 */
> 2235 if (!execlists_execlists(&engine->execlists))
2236 intel_gt_schedule_retire_requests(engine->gt);
2237 }
2238
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 33036 bytes --]
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2019-11-19 15:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-18 14:45 [PATCH] drm/i915/gt: Schedule request retirement when submission idles Chris Wilson
2019-11-18 14:45 ` [Intel-gfx] " Chris Wilson
2019-11-18 14:46 ` Chris Wilson
2019-11-18 14:46 ` [Intel-gfx] " Chris Wilson
2019-11-18 15:12 ` Tvrtko Ursulin
2019-11-18 15:12 ` [Intel-gfx] " Tvrtko Ursulin
2019-11-18 15:18 ` Chris Wilson
2019-11-18 15:18 ` [Intel-gfx] " Chris Wilson
2019-11-18 16:16 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Schedule request retirement when submission idles (rev2) Patchwork
2019-11-18 16:16 ` [Intel-gfx] " Patchwork
2019-11-18 16:42 ` ✗ Fi.CI.BAT: failure " Patchwork
2019-11-18 16:42 ` [Intel-gfx] " Patchwork
2019-11-18 21:30 ` [PATCH] drm/i915/gt: Schedule request retirement when submission idles kbuild test robot
2019-11-18 21:30 ` [Intel-gfx] " kbuild test robot
2019-11-19 15:28 ` kbuild test robot [this message]
2019-11-19 15:28 ` kbuild test robot
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=201911192314.OVv3X2gh%lkp@intel.com \
--to=lkp@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
--cc=kbuild-all@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox