* [Intel-gfx] [PATCH] drm/i915/execlists: Include priority info in trace_ports
@ 2020-03-30 11:31 Chris Wilson
2020-03-30 13:08 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Chris Wilson @ 2020-03-30 11:31 UTC (permalink / raw)
To: intel-gfx; +Cc: Chris Wilson
Add some extra information into trace_ports to help with reviewing
correctness.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
drivers/gpu/drm/i915/gt/intel_lrc.c | 30 +++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
index 9104796673dc..9332269d2a79 100644
--- a/drivers/gpu/drm/i915/gt/intel_lrc.c
+++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
@@ -1415,6 +1415,24 @@ static inline void write_desc(struct intel_engine_execlists *execlists, u64 desc
}
}
+static char *dump_port(char *buf, int buflen,
+ const char *prefix,
+ struct i915_request *rq)
+{
+ if (!rq)
+ return "";
+
+ snprintf(buf, buflen, "%s%llx:%lld%s prio %d",
+ prefix,
+ rq->fence.context, rq->fence.seqno,
+ i915_request_completed(rq) ? "!" :
+ i915_request_started(rq) ? "*" :
+ "",
+ rq_prio(rq));
+
+ return buf;
+}
+
static __maybe_unused void
trace_ports(const struct intel_engine_execlists *execlists,
const char *msg,
@@ -1422,18 +1440,14 @@ trace_ports(const struct intel_engine_execlists *execlists,
{
const struct intel_engine_cs *engine =
container_of(execlists, typeof(*engine), execlists);
+ char p0[40], p1[40];
if (!ports[0])
return;
- ENGINE_TRACE(engine, "%s { %llx:%lld%s, %llx:%lld }\n", msg,
- ports[0]->fence.context,
- ports[0]->fence.seqno,
- i915_request_completed(ports[0]) ? "!" :
- i915_request_started(ports[0]) ? "*" :
- "",
- ports[1] ? ports[1]->fence.context : 0,
- ports[1] ? ports[1]->fence.seqno : 0);
+ ENGINE_TRACE(engine, "%s { %s%s }\n", msg,
+ dump_port(p0, sizeof(p0), "", ports[0]),
+ dump_port(p1, sizeof(p1), ", ", ports[1]));
}
static inline bool
--
2.20.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/execlists: Include priority info in trace_ports
2020-03-30 11:31 [Intel-gfx] [PATCH] drm/i915/execlists: Include priority info in trace_ports Chris Wilson
@ 2020-03-30 13:08 ` Patchwork
2020-03-30 15:51 ` [Intel-gfx] [PATCH] " Matthew Auld
2020-04-13 1:52 ` kbuild test robot
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2020-03-30 13:08 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: drm/i915/execlists: Include priority info in trace_ports
URL : https://patchwork.freedesktop.org/series/75229/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_8213 -> Patchwork_17126
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_17126 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_17126, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17126/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_17126:
### IGT changes ###
#### Possible regressions ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-cml-u2: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8213/fi-cml-u2/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17126/fi-cml-u2/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
Known issues
------------
Here are the changes found in Patchwork_17126 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@execlists:
- fi-icl-y: [PASS][3] -> [DMESG-FAIL][4] ([fdo#108569])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8213/fi-icl-y/igt@i915_selftest@live@execlists.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17126/fi-icl-y/igt@i915_selftest@live@execlists.html
* igt@i915_selftest@live@requests:
- fi-icl-u2: [PASS][5] -> [INCOMPLETE][6] ([fdo#109644] / [fdo#110464])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8213/fi-icl-u2/igt@i915_selftest@live@requests.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17126/fi-icl-u2/igt@i915_selftest@live@requests.html
#### Possible fixes ####
* igt@i915_selftest@live@execlists:
- fi-bxt-dsi: [INCOMPLETE][7] ([i915#656]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8213/fi-bxt-dsi/igt@i915_selftest@live@execlists.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17126/fi-bxt-dsi/igt@i915_selftest@live@execlists.html
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#109644]: https://bugs.freedesktop.org/show_bug.cgi?id=109644
[fdo#110464]: https://bugs.freedesktop.org/show_bug.cgi?id=110464
[i915#656]: https://gitlab.freedesktop.org/drm/intel/issues/656
Participating hosts (47 -> 37)
------------------------------
Additional (3): fi-byt-j1900 fi-glk-dsi fi-tgl-y
Missing (13): fi-ilk-m540 fi-hsw-4200u fi-skl-6770hq fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-gdg-551 fi-cfl-8109u fi-elk-e7500 fi-byt-n2820 fi-byt-clapper fi-bdw-samus fi-snb-2600
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_8213 -> Patchwork_17126
CI-20190529: 20190529
CI_DRM_8213: 3cebf14c87d0d4508d4cc9c49db14061af752c37 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5544: 477c562fc9932939083d732b77dd7b083c6bc0a1 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17126: 50d4d7aa6e6b5f5916662908a47cdf1e46bb5edf @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
50d4d7aa6e6b drm/i915/execlists: Include priority info in trace_ports
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17126/index.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915/execlists: Include priority info in trace_ports
2020-03-30 11:31 [Intel-gfx] [PATCH] drm/i915/execlists: Include priority info in trace_ports Chris Wilson
2020-03-30 13:08 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
@ 2020-03-30 15:51 ` Matthew Auld
2020-04-13 1:52 ` kbuild test robot
2 siblings, 0 replies; 4+ messages in thread
From: Matthew Auld @ 2020-03-30 15:51 UTC (permalink / raw)
To: Chris Wilson; +Cc: Intel Graphics Development
On Mon, 30 Mar 2020 at 12:32, Chris Wilson <chris@chris-wilson.co.uk> wrote:
>
> Add some extra information into trace_ports to help with reviewing
> correctness.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915/execlists: Include priority info in trace_ports
2020-03-30 11:31 [Intel-gfx] [PATCH] drm/i915/execlists: Include priority info in trace_ports Chris Wilson
2020-03-30 13:08 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
2020-03-30 15:51 ` [Intel-gfx] [PATCH] " Matthew Auld
@ 2020-04-13 1:52 ` kbuild test robot
2 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2020-04-13 1:52 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2913 bytes --]
Hi Chris,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v5.7-rc1 next-20200412]
[cannot apply to drm-tip/drm-tip]
[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-execlists-Include-priority-info-in-trace_ports/20200331-020633
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-a001-20200412 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/gt/intel_lrc.c: In function 'trace_ports':
>> drivers/gpu/drm/i915/gt/intel_lrc.c:1443:15: error: unused variable 'p1' [-Werror=unused-variable]
char p0[40], p1[40];
^
>> drivers/gpu/drm/i915/gt/intel_lrc.c:1443:7: error: unused variable 'p0' [-Werror=unused-variable]
char p0[40], p1[40];
^
drivers/gpu/drm/i915/gt/intel_lrc.c: At top level:
>> drivers/gpu/drm/i915/gt/intel_lrc.c:1418:14: error: 'dump_port' defined but not used [-Werror=unused-function]
static char *dump_port(char *buf, int buflen,
^
cc1: all warnings being treated as errors
vim +/p1 +1443 drivers/gpu/drm/i915/gt/intel_lrc.c
1417
> 1418 static char *dump_port(char *buf, int buflen,
1419 const char *prefix,
1420 struct i915_request *rq)
1421 {
1422 if (!rq)
1423 return "";
1424
1425 snprintf(buf, buflen, "%s%llx:%lld%s prio %d",
1426 prefix,
1427 rq->fence.context, rq->fence.seqno,
1428 i915_request_completed(rq) ? "!" :
1429 i915_request_started(rq) ? "*" :
1430 "",
1431 rq_prio(rq));
1432
1433 return buf;
1434 }
1435
1436 static __maybe_unused void
1437 trace_ports(const struct intel_engine_execlists *execlists,
1438 const char *msg,
1439 struct i915_request * const *ports)
1440 {
1441 const struct intel_engine_cs *engine =
1442 container_of(execlists, typeof(*engine), execlists);
> 1443 char p0[40], p1[40];
1444
1445 if (!ports[0])
1446 return;
1447
1448 ENGINE_TRACE(engine, "%s { %s%s }\n", msg,
1449 dump_port(p0, sizeof(p0), "", ports[0]),
1450 dump_port(p1, sizeof(p1), ", ", ports[1]));
1451 }
1452
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33010 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-13 1:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 11:31 [Intel-gfx] [PATCH] drm/i915/execlists: Include priority info in trace_ports Chris Wilson
2020-03-30 13:08 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
2020-03-30 15:51 ` [Intel-gfx] [PATCH] " Matthew Auld
2020-04-13 1:52 ` kbuild test robot
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.