* [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs
@ 2018-12-13 10:57 Ville Syrjala
2018-12-13 11:19 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
` (5 more replies)
0 siblings, 6 replies; 9+ messages in thread
From: Ville Syrjala @ 2018-12-13 10:57 UTC (permalink / raw)
To: igt-dev; +Cc: Dhinakaran Pandiyan
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
We currently only spot check some of the CRCs. We should check them
all. This will probably cause failures on machines with PSR as
it looks like the CRC captured after PSR exit is bogus. Or at least
it is on ICL. We should probably just disable PSR whenever CRC
capturing is active.
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=106974
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
lib/igt_debugfs.c | 41 ++++++++++++++++++-----------------------
1 file changed, 18 insertions(+), 23 deletions(-)
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index a3aca8466658..f6ffcbe67b7b 100644
--- a/lib/igt_debugfs.c
+++ b/lib/igt_debugfs.c
@@ -760,6 +760,22 @@ static bool pipe_crc_init_from_string(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc,
return true;
}
+static void crc_sanity_checks(igt_crc_t *crc)
+{
+ bool all_zero = true;
+
+ for (int i = 0; i < crc->n_words; i++) {
+ igt_warn_on_f(crc->crc[i] == 0xffffffff,
+ "Suspicious CRC: it looks like the CRC "
+ "read back was from a register in a powered "
+ "down well\n");
+ if (crc->crc[i])
+ all_zero = false;
+ }
+
+ igt_warn_on_f(all_zero, "Suspicious CRC: All values are 0.\n");
+}
+
static int read_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out)
{
ssize_t bytes_read;
@@ -777,6 +793,8 @@ static int read_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out)
if (bytes_read > 0 && !pipe_crc_init_from_string(pipe_crc, out, buf))
return -EINVAL;
+ crc_sanity_checks(out);
+
return bytes_read;
}
@@ -884,23 +902,6 @@ igt_pipe_crc_get_crcs(igt_pipe_crc_t *pipe_crc, int n_crcs,
return n;
}
-static void crc_sanity_checks(igt_crc_t *crc)
-{
- int i;
- bool all_zero = true;
-
- for (i = 0; i < crc->n_words; i++) {
- igt_warn_on_f(crc->crc[i] == 0xffffffff,
- "Suspicious CRC: it looks like the CRC "
- "read back was from a register in a powered "
- "down well\n");
- if (crc->crc[i])
- all_zero = false;
- }
-
- igt_warn_on_f(all_zero, "Suspicious CRC: All values are 0.\n");
-}
-
/**
* igt_pipe_crc_collect_crc:
* @pipe_crc: pipe CRC object
@@ -927,8 +928,6 @@ void igt_pipe_crc_collect_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out_crc)
igt_pipe_crc_start(pipe_crc);
read_one_crc(pipe_crc, out_crc);
igt_pipe_crc_stop(pipe_crc);
-
- crc_sanity_checks(out_crc);
}
/**
@@ -971,8 +970,6 @@ void igt_pipe_crc_drain(igt_pipe_crc_t *pipe_crc)
void igt_pipe_crc_get_single(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc)
{
read_one_crc(pipe_crc, crc);
-
- crc_sanity_checks(crc);
}
/**
@@ -1000,8 +997,6 @@ igt_pipe_crc_get_current(int drm_fd, igt_pipe_crc_t *pipe_crc, igt_crc_t *crc)
return;
}
} while (crc->frame <= vblank);
-
- crc_sanity_checks(crc);
}
/*
--
2.18.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 9+ messages in thread* [igt-dev] ✗ Fi.CI.BAT: failure for lib/debugfs: Sanity check even discarded CRCs 2018-12-13 10:57 [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala @ 2018-12-13 11:19 ` Patchwork 2018-12-13 20:51 ` [igt-dev] [PATCH i-g-t] " Dhinakaran Pandiyan ` (4 subsequent siblings) 5 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2018-12-13 11:19 UTC (permalink / raw) To: Ville Syrjala; +Cc: igt-dev == Series Details == Series: lib/debugfs: Sanity check even discarded CRCs URL : https://patchwork.freedesktop.org/series/53982/ State : failure == Summary == CI Bug Log - changes from CI_DRM_5311 -> IGTPW_2147 ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_2147 absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_2147, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://patchwork.freedesktop.org/api/1.0/series/53982/revisions/1/mbox/ Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_2147: ### IGT changes ### #### Possible regressions #### * igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b: - fi-byt-clapper: PASS -> WARN +2 Known issues ------------ Here are the changes found in IGTPW_2147 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_frontbuffer_tracking@basic: - fi-byt-clapper: PASS -> FAIL [fdo#103167] * igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence: - fi-byt-clapper: PASS -> FAIL [fdo#103191] / [fdo#107362] * {igt@runner@aborted}: - fi-icl-y: NOTRUN -> FAIL [fdo#108070] #### Possible fixes #### * igt@gem_ctx_create@basic-files: - fi-kbl-7560u: INCOMPLETE [fdo#103665] -> PASS * igt@kms_chamelium@hdmi-hpd-fast: - fi-kbl-7500u: FAIL [fdo#108767] -> PASS {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191 [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362 [fdo#108070]: https://bugs.freedesktop.org/show_bug.cgi?id=108070 [fdo#108767]: https://bugs.freedesktop.org/show_bug.cgi?id=108767 Participating hosts (47 -> 44) ------------------------------ Additional (1): fi-icl-y Missing (4): fi-kbl-soraka fi-ctg-p8600 fi-byt-squawks fi-ilk-m540 Build changes ------------- * IGT: IGT_4746 -> IGTPW_2147 CI_DRM_5311: a42fd8bf199784ee4ff1cdb5ee03eedd9a535d4a @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_2147: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2147/ IGT_4746: 2c793666d8c8328733f5769b16ae5858fee97f3f @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2147/ _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs 2018-12-13 10:57 [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala 2018-12-13 11:19 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork @ 2018-12-13 20:51 ` Dhinakaran Pandiyan 2018-12-19 14:46 ` [igt-dev] ✗ Fi.CI.BAT: failure for lib/debugfs: Sanity check even discarded CRCs (rev2) Patchwork ` (3 subsequent siblings) 5 siblings, 0 replies; 9+ messages in thread From: Dhinakaran Pandiyan @ 2018-12-13 20:51 UTC (permalink / raw) To: Ville Syrjala, igt-dev On Thu, 2018-12-13 at 12:57 +0200, Ville Syrjala wrote: > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > We currently only spot check some of the CRCs. We should check them > all. Sounds like the right thing to do Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> > This will probably cause failures on machines with PSR as > it looks like the CRC captured after PSR exit is bogus. Or at least > it is on ICL. We should probably just disable PSR whenever CRC > capturing is active. The frame counter got updated, but the CRC is junk. Isn't it still useful to see make sure we get the CRC we expect with PSR, even if the CRC is delayed by a frame? > > Cc: José Roberto de Souza <jose.souza@intel.com> > Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> > References: https://bugs.freedesktop.org/show_bug.cgi?id=106974 > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > --- > lib/igt_debugfs.c | 41 ++++++++++++++++++----------------------- > 1 file changed, 18 insertions(+), 23 deletions(-) > > diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c > index a3aca8466658..f6ffcbe67b7b 100644 > --- a/lib/igt_debugfs.c > +++ b/lib/igt_debugfs.c > @@ -760,6 +760,22 @@ static bool > pipe_crc_init_from_string(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc, > return true; > } > > +static void crc_sanity_checks(igt_crc_t *crc) > +{ > + bool all_zero = true; > + > + for (int i = 0; i < crc->n_words; i++) { > + igt_warn_on_f(crc->crc[i] == 0xffffffff, > + "Suspicious CRC: it looks like the CRC " > + "read back was from a register in a > powered " > + "down well\n"); > + if (crc->crc[i]) > + all_zero = false; > + } > + > + igt_warn_on_f(all_zero, "Suspicious CRC: All values are 0.\n"); > +} > + > static int read_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out) > { > ssize_t bytes_read; > @@ -777,6 +793,8 @@ static int read_crc(igt_pipe_crc_t *pipe_crc, > igt_crc_t *out) > if (bytes_read > 0 && !pipe_crc_init_from_string(pipe_crc, out, > buf)) > return -EINVAL; > > + crc_sanity_checks(out); > + > return bytes_read; > } > > @@ -884,23 +902,6 @@ igt_pipe_crc_get_crcs(igt_pipe_crc_t *pipe_crc, > int n_crcs, > return n; > } > > -static void crc_sanity_checks(igt_crc_t *crc) > -{ > - int i; > - bool all_zero = true; > - > - for (i = 0; i < crc->n_words; i++) { > - igt_warn_on_f(crc->crc[i] == 0xffffffff, > - "Suspicious CRC: it looks like the CRC " > - "read back was from a register in a > powered " > - "down well\n"); > - if (crc->crc[i]) > - all_zero = false; > - } > - > - igt_warn_on_f(all_zero, "Suspicious CRC: All values are 0.\n"); > -} > - > /** > * igt_pipe_crc_collect_crc: > * @pipe_crc: pipe CRC object > @@ -927,8 +928,6 @@ void igt_pipe_crc_collect_crc(igt_pipe_crc_t > *pipe_crc, igt_crc_t *out_crc) > igt_pipe_crc_start(pipe_crc); > read_one_crc(pipe_crc, out_crc); > igt_pipe_crc_stop(pipe_crc); > - > - crc_sanity_checks(out_crc); > } > > /** > @@ -971,8 +970,6 @@ void igt_pipe_crc_drain(igt_pipe_crc_t *pipe_crc) > void igt_pipe_crc_get_single(igt_pipe_crc_t *pipe_crc, igt_crc_t > *crc) > { > read_one_crc(pipe_crc, crc); > - > - crc_sanity_checks(crc); > } > > /** > @@ -1000,8 +997,6 @@ igt_pipe_crc_get_current(int drm_fd, > igt_pipe_crc_t *pipe_crc, igt_crc_t *crc) > return; > } > } while (crc->frame <= vblank); > - > - crc_sanity_checks(crc); > } > > /* _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✗ Fi.CI.BAT: failure for lib/debugfs: Sanity check even discarded CRCs (rev2) 2018-12-13 10:57 [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala 2018-12-13 11:19 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork 2018-12-13 20:51 ` [igt-dev] [PATCH i-g-t] " Dhinakaran Pandiyan @ 2018-12-19 14:46 ` Patchwork 2020-05-15 14:38 ` [igt-dev] [PATCH i-g-t v2] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala ` (2 subsequent siblings) 5 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2018-12-19 14:46 UTC (permalink / raw) To: Ville Syrjälä; +Cc: igt-dev == Series Details == Series: lib/debugfs: Sanity check even discarded CRCs (rev2) URL : https://patchwork.freedesktop.org/series/53982/ State : failure == Summary == CI Bug Log - changes from CI_DRM_5333 -> IGTPW_2170 ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_2170 absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_2170, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. External URL: https://patchwork.freedesktop.org/api/1.0/series/53982/revisions/2/mbox/ Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_2170: ### IGT changes ### #### Possible regressions #### * igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b: - fi-byt-clapper: PASS -> WARN +3 #### Warnings #### * igt@pm_rpm@basic-pci-d3-state: - fi-byt-j1900: PASS -> SKIP - fi-bsw-kefka: PASS -> SKIP Known issues ------------ Here are the changes found in IGTPW_2170 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_suspend@basic-s3: - fi-blb-e6850: PASS -> INCOMPLETE [fdo#107718] * igt@pm_rpm@basic-rte: - fi-byt-j1900: PASS -> FAIL [fdo#108800] - fi-bsw-kefka: PASS -> FAIL [fdo#108800] * {igt@runner@aborted}: - fi-icl-y: NOTRUN -> FAIL [fdo#108070] #### Possible fixes #### * igt@i915_selftest@live_hangcheck: - fi-bwr-2160: DMESG-FAIL [fdo#108735] -> PASS - fi-apl-guc: DMESG-FAIL -> PASS - fi-kbl-7560u: INCOMPLETE [fdo#108044] -> PASS * igt@kms_flip@basic-flip-vs-dpms: - fi-skl-6700hq: DMESG-WARN [fdo#105998] -> PASS * igt@kms_frontbuffer_tracking@basic: - fi-byt-clapper: FAIL [fdo#103167] -> PASS * igt@kms_pipe_crc_basic@hang-read-crc-pipe-a: - fi-byt-clapper: FAIL [fdo#103191] / [fdo#107362] -> PASS #### Warnings #### * igt@i915_selftest@live_contexts: - fi-icl-u2: INCOMPLETE [fdo#108315] -> DMESG-FAIL [fdo#108569] {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191 [fdo#105998]: https://bugs.freedesktop.org/show_bug.cgi?id=105998 [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362 [fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718 [fdo#108044]: https://bugs.freedesktop.org/show_bug.cgi?id=108044 [fdo#108070]: https://bugs.freedesktop.org/show_bug.cgi?id=108070 [fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315 [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569 [fdo#108735]: https://bugs.freedesktop.org/show_bug.cgi?id=108735 [fdo#108800]: https://bugs.freedesktop.org/show_bug.cgi?id=108800 Participating hosts (49 -> 45) ------------------------------ Additional (2): fi-icl-y fi-pnv-d510 Missing (6): fi-kbl-soraka fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus Build changes ------------- * IGT: IGT_4750 -> IGTPW_2170 CI_DRM_5333: c758693b615deff56e5e2098379b587486cfff8a @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_2170: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2170/ IGT_4750: f05c8c2739dce89185349703062784a7745cab14 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_2170/ _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] [PATCH i-g-t v2] lib/debugfs: Sanity check even discarded CRCs 2018-12-13 10:57 [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala ` (2 preceding siblings ...) 2018-12-19 14:46 ` [igt-dev] ✗ Fi.CI.BAT: failure for lib/debugfs: Sanity check even discarded CRCs (rev2) Patchwork @ 2020-05-15 14:38 ` Ville Syrjala 2020-05-18 19:06 ` Souza, Jose 2020-05-15 15:12 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/debugfs: Sanity check even discarded CRCs (rev3) Patchwork 2020-05-15 18:14 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 5 siblings, 1 reply; 9+ messages in thread From: Ville Syrjala @ 2020-05-15 14:38 UTC (permalink / raw) To: igt-dev; +Cc: Dhinakaran Pandiyan From: Ville Syrjälä <ville.syrjala@linux.intel.com> We currently only spot check some of the CRCs. We should check them all. This will probably cause failures on machines with PSR as it looks like the CRC captured after PSR exit is bogus. Or at least it is on ICL. We should probably just disable PSR whenever CRC capturing is active. v2: Rebase Cc: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> #v1 References: https://bugs.freedesktop.org/show_bug.cgi?id=106974 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> --- lib/igt_debugfs.c | 47 ++++++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 25 deletions(-) diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index 0506707852f0..73975f922e19 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -759,6 +759,26 @@ static bool pipe_crc_init_from_string(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc, return true; } +static void crc_sanity_checks(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc) +{ + bool all_zero = true; + + /* Any CRC value can be considered valid on amdgpu hardware. */ + if (is_amdgpu_device(pipe_crc->fd)) + return; + + for (int i = 0; i < crc->n_words; i++) { + igt_warn_on_f(crc->crc[i] == 0xffffffff, + "Suspicious CRC: it looks like the CRC " + "read back was from a register in a powered " + "down well\n"); + if (crc->crc[i]) + all_zero = false; + } + + igt_warn_on_f(all_zero, "Suspicious CRC: All values are 0.\n"); +} + static int read_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out) { ssize_t bytes_read; @@ -776,6 +796,8 @@ static int read_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out) if (bytes_read > 0 && !pipe_crc_init_from_string(pipe_crc, out, buf)) return -EINVAL; + crc_sanity_checks(pipe_crc, out); + return bytes_read; } @@ -885,27 +907,6 @@ igt_pipe_crc_get_crcs(igt_pipe_crc_t *pipe_crc, int n_crcs, return n; } -static void crc_sanity_checks(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc) -{ - int i; - bool all_zero = true; - - /* Any CRC value can be considered valid on amdgpu hardware. */ - if (is_amdgpu_device(pipe_crc->fd)) - return; - - for (i = 0; i < crc->n_words; i++) { - igt_warn_on_f(crc->crc[i] == 0xffffffff, - "Suspicious CRC: it looks like the CRC " - "read back was from a register in a powered " - "down well\n"); - if (crc->crc[i]) - all_zero = false; - } - - igt_warn_on_f(all_zero, "Suspicious CRC: All values are 0.\n"); -} - /** * igt_pipe_crc_drain: * @pipe_crc: pipe CRC object @@ -946,8 +947,6 @@ void igt_pipe_crc_drain(igt_pipe_crc_t *pipe_crc) void igt_pipe_crc_get_single(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc) { read_one_crc(pipe_crc, crc); - - crc_sanity_checks(pipe_crc, crc); } /** @@ -974,8 +973,6 @@ igt_pipe_crc_get_for_frame(int drm_fd, igt_pipe_crc_t *pipe_crc, return; } } while (igt_vblank_before(crc->frame, vblank)); - - crc_sanity_checks(pipe_crc, crc); } /** -- 2.26.2 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [igt-dev] [PATCH i-g-t v2] lib/debugfs: Sanity check even discarded CRCs 2020-05-15 14:38 ` [igt-dev] [PATCH i-g-t v2] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala @ 2020-05-18 19:06 ` Souza, Jose 0 siblings, 0 replies; 9+ messages in thread From: Souza, Jose @ 2020-05-18 19:06 UTC (permalink / raw) To: ville.syrjala@linux.intel.com, igt-dev@lists.freedesktop.org Cc: Pandiyan, Dhinakaran On Fri, 2020-05-15 at 17:38 +0300, Ville Syrjala wrote: > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > We currently only spot check some of the CRCs. We should check them > all. This will probably cause failures on machines with PSR as > it looks like the CRC captured after PSR exit is bogus. Or at least > it is on ICL. We should probably just disable PSR whenever CRC > capturing is active. There was some PSR changes around CRC, it should not be a problem anymore. > > v2: Rebase > Reviewed-by: José Roberto de Souza <jose.souza@intel.com> > Cc: José Roberto de Souza <jose.souza@intel.com> > Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> #v1 > References: https://bugs.freedesktop.org/show_bug.cgi?id=106974 > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > --- > lib/igt_debugfs.c | 47 ++++++++++++++++++++++------------------------- > 1 file changed, 22 insertions(+), 25 deletions(-) > > diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c > index 0506707852f0..73975f922e19 100644 > --- a/lib/igt_debugfs.c > +++ b/lib/igt_debugfs.c > @@ -759,6 +759,26 @@ static bool pipe_crc_init_from_string(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc, > return true; > } > > +static void crc_sanity_checks(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc) > +{ > + bool all_zero = true; > + > + /* Any CRC value can be considered valid on amdgpu hardware. */ > + if (is_amdgpu_device(pipe_crc->fd)) > + return; > + > + for (int i = 0; i < crc->n_words; i++) { > + igt_warn_on_f(crc->crc[i] == 0xffffffff, > + "Suspicious CRC: it looks like the CRC " > + "read back was from a register in a powered " > + "down well\n"); > + if (crc->crc[i]) > + all_zero = false; > + } > + > + igt_warn_on_f(all_zero, "Suspicious CRC: All values are 0.\n"); > +} > + > static int read_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out) > { > ssize_t bytes_read; > @@ -776,6 +796,8 @@ static int read_crc(igt_pipe_crc_t *pipe_crc, igt_crc_t *out) > if (bytes_read > 0 && !pipe_crc_init_from_string(pipe_crc, out, buf)) > return -EINVAL; > > + crc_sanity_checks(pipe_crc, out); > + > return bytes_read; > } > > @@ -885,27 +907,6 @@ igt_pipe_crc_get_crcs(igt_pipe_crc_t *pipe_crc, int n_crcs, > return n; > } > > -static void crc_sanity_checks(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc) > -{ > - int i; > - bool all_zero = true; > - > - /* Any CRC value can be considered valid on amdgpu hardware. */ > - if (is_amdgpu_device(pipe_crc->fd)) > - return; > - > - for (i = 0; i < crc->n_words; i++) { > - igt_warn_on_f(crc->crc[i] == 0xffffffff, > - "Suspicious CRC: it looks like the CRC " > - "read back was from a register in a powered " > - "down well\n"); > - if (crc->crc[i]) > - all_zero = false; > - } > - > - igt_warn_on_f(all_zero, "Suspicious CRC: All values are 0.\n"); > -} > - > /** > * igt_pipe_crc_drain: > * @pipe_crc: pipe CRC object > @@ -946,8 +947,6 @@ void igt_pipe_crc_drain(igt_pipe_crc_t *pipe_crc) > void igt_pipe_crc_get_single(igt_pipe_crc_t *pipe_crc, igt_crc_t *crc) > { > read_one_crc(pipe_crc, crc); > - > - crc_sanity_checks(pipe_crc, crc); > } > > /** > @@ -974,8 +973,6 @@ igt_pipe_crc_get_for_frame(int drm_fd, igt_pipe_crc_t *pipe_crc, > return; > } > } while (igt_vblank_before(crc->frame, vblank)); > - > - crc_sanity_checks(pipe_crc, crc); > } > > /** _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for lib/debugfs: Sanity check even discarded CRCs (rev3) 2018-12-13 10:57 [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala ` (3 preceding siblings ...) 2020-05-15 14:38 ` [igt-dev] [PATCH i-g-t v2] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala @ 2020-05-15 15:12 ` Patchwork 2020-05-15 18:14 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 5 siblings, 0 replies; 9+ messages in thread From: Patchwork @ 2020-05-15 15:12 UTC (permalink / raw) To: Ville Syrjala; +Cc: igt-dev == Series Details == Series: lib/debugfs: Sanity check even discarded CRCs (rev3) URL : https://patchwork.freedesktop.org/series/53982/ State : success == Summary == CI Bug Log - changes from CI_DRM_8488 -> IGTPW_4574 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/index.html Known issues ------------ Here are the changes found in IGTPW_4574 that come from known issues: ### IGT changes ### #### Possible fixes #### * igt@i915_selftest@live@execlists: - fi-whl-u: [INCOMPLETE][1] ([i915#656]) -> [PASS][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/fi-whl-u/igt@i915_selftest@live@execlists.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/fi-whl-u/igt@i915_selftest@live@execlists.html [i915#656]: https://gitlab.freedesktop.org/drm/intel/issues/656 Participating hosts (51 -> 43) ------------------------------ Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-hsw-4770 fi-byt-clapper fi-bdw-samus Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5655 -> IGTPW_4574 CI-20190529: 20190529 CI_DRM_8488: d40ec60813532e485e9c63623c91babf556cfbe3 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4574: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/index.html IGT_5655: 2cc4c1edc3065590f9917930b6d049a90c4a38fd @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for lib/debugfs: Sanity check even discarded CRCs (rev3) 2018-12-13 10:57 [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala ` (4 preceding siblings ...) 2020-05-15 15:12 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/debugfs: Sanity check even discarded CRCs (rev3) Patchwork @ 2020-05-15 18:14 ` Patchwork 2020-05-15 18:52 ` Ville Syrjälä 5 siblings, 1 reply; 9+ messages in thread From: Patchwork @ 2020-05-15 18:14 UTC (permalink / raw) To: Ville Syrjälä; +Cc: igt-dev == Series Details == Series: lib/debugfs: Sanity check even discarded CRCs (rev3) URL : https://patchwork.freedesktop.org/series/53982/ State : failure == Summary == CI Bug Log - changes from CI_DRM_8488_full -> IGTPW_4574_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_4574_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_4574_full, 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/IGTPW_4574/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_4574_full: ### IGT changes ### #### Possible regressions #### * igt@gem_ctx_ringsize@idle@rcs0: - shard-iclb: [PASS][1] -> [INCOMPLETE][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb8/igt@gem_ctx_ringsize@idle@rcs0.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb5/igt@gem_ctx_ringsize@idle@rcs0.html * igt@kms_cursor_edge_walk@pipe-a-256x256-bottom-edge: - shard-iclb: [PASS][3] -> [WARN][4] +33 similar issues [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb8/igt@kms_cursor_edge_walk@pipe-a-256x256-bottom-edge.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb8/igt@kms_cursor_edge_walk@pipe-a-256x256-bottom-edge.html * igt@kms_cursor_edge_walk@pipe-a-256x256-right-edge: - shard-tglb: [PASS][5] -> [WARN][6] +47 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-tglb2/igt@kms_cursor_edge_walk@pipe-a-256x256-right-edge.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-tglb3/igt@kms_cursor_edge_walk@pipe-a-256x256-right-edge.html * igt@kms_cursor_edge_walk@pipe-a-256x256-top-edge: - shard-glk: NOTRUN -> [WARN][7] +1 similar issue [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-glk5/igt@kms_cursor_edge_walk@pipe-a-256x256-top-edge.html * igt@kms_cursor_edge_walk@pipe-a-64x64-right-edge: - shard-snb: NOTRUN -> [WARN][8] [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-snb5/igt@kms_cursor_edge_walk@pipe-a-64x64-right-edge.html * igt@kms_cursor_edge_walk@pipe-a-64x64-top-edge: - shard-apl: [PASS][9] -> [WARN][10] +34 similar issues [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl4/igt@kms_cursor_edge_walk@pipe-a-64x64-top-edge.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl1/igt@kms_cursor_edge_walk@pipe-a-64x64-top-edge.html * igt@kms_cursor_edge_walk@pipe-b-128x128-bottom-edge: - shard-glk: [PASS][11] -> [WARN][12] +31 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-glk6/igt@kms_cursor_edge_walk@pipe-b-128x128-bottom-edge.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-glk7/igt@kms_cursor_edge_walk@pipe-b-128x128-bottom-edge.html * igt@kms_cursor_edge_walk@pipe-b-256x256-top-edge: - shard-snb: [PASS][13] -> [WARN][14] +22 similar issues [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-snb4/igt@kms_cursor_edge_walk@pipe-b-256x256-top-edge.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-snb4/igt@kms_cursor_edge_walk@pipe-b-256x256-top-edge.html * igt@kms_cursor_edge_walk@pipe-c-128x128-left-edge: - shard-kbl: [PASS][15] -> [WARN][16] +34 similar issues [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl7/igt@kms_cursor_edge_walk@pipe-c-128x128-left-edge.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl7/igt@kms_cursor_edge_walk@pipe-c-128x128-left-edge.html * igt@kms_plane_cursor@pipe-b-viewport-size-128: - shard-iclb: [PASS][17] -> [TIMEOUT][18] +2 similar issues [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb8/igt@kms_plane_cursor@pipe-b-viewport-size-128.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb5/igt@kms_plane_cursor@pipe-b-viewport-size-128.html #### Warnings #### * igt@kms_atomic_transition@2x-modeset-transitions-nonblocking-fencing: - shard-iclb: [SKIP][19] ([fdo#109280]) -> [TIMEOUT][20] [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb1/igt@kms_atomic_transition@2x-modeset-transitions-nonblocking-fencing.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb5/igt@kms_atomic_transition@2x-modeset-transitions-nonblocking-fencing.html * igt@kms_big_fb@x-tiled-8bpp-rotate-270: - shard-iclb: [SKIP][21] ([fdo#110725] / [fdo#111614]) -> [TIMEOUT][22] [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb7/igt@kms_big_fb@x-tiled-8bpp-rotate-270.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb5/igt@kms_big_fb@x-tiled-8bpp-rotate-270.html * igt@kms_cursor_edge_walk@pipe-a-64x64-left-edge: - shard-apl: [FAIL][23] ([i915#70] / [i915#95]) -> [WARN][24] [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl3/igt@kms_cursor_edge_walk@pipe-a-64x64-left-edge.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl3/igt@kms_cursor_edge_walk@pipe-a-64x64-left-edge.html - shard-kbl: [FAIL][25] ([i915#70] / [i915#93] / [i915#95]) -> [WARN][26] [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl2/igt@kms_cursor_edge_walk@pipe-a-64x64-left-edge.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl4/igt@kms_cursor_edge_walk@pipe-a-64x64-left-edge.html * igt@kms_plane_multiple@atomic-pipe-d-tiling-x: - shard-iclb: [SKIP][27] ([fdo#109278] / [fdo#112010]) -> [TIMEOUT][28] [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb2/igt@kms_plane_multiple@atomic-pipe-d-tiling-x.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb5/igt@kms_plane_multiple@atomic-pipe-d-tiling-x.html Known issues ------------ Here are the changes found in IGTPW_4574_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_cursor_crc@pipe-a-cursor-64x21-random: - shard-kbl: [PASS][29] -> [FAIL][30] ([i915#54] / [i915#93] / [i915#95]) +1 similar issue [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl6/igt@kms_cursor_crc@pipe-a-cursor-64x21-random.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl2/igt@kms_cursor_crc@pipe-a-cursor-64x21-random.html * igt@kms_fbcon_fbt@fbc: - shard-tglb: [PASS][31] -> [FAIL][32] ([i915#64]) [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-tglb1/igt@kms_fbcon_fbt@fbc.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-tglb7/igt@kms_fbcon_fbt@fbc.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc: - shard-glk: [PASS][33] -> [FAIL][34] ([i915#49]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-glk1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-glk8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html - shard-apl: [PASS][35] -> [FAIL][36] ([i915#49]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html - shard-kbl: [PASS][37] -> [FAIL][38] ([i915#49]) [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@fbc-suspend: - shard-kbl: [PASS][39] -> [DMESG-WARN][40] ([i915#180] / [i915#93] / [i915#95]) [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-suspend.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-suspend.html * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a: - shard-apl: [PASS][41] -> [FAIL][42] ([i915#53] / [i915#95]) [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl3/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl4/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes: - shard-kbl: [PASS][43] -> [DMESG-WARN][44] ([i915#180]) +3 similar issues [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl2/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl2/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html * igt@kms_plane_cursor@pipe-a-overlay-size-128: - shard-kbl: [PASS][45] -> [FAIL][46] ([i915#1559] / [i915#93] / [i915#95]) [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl7/igt@kms_plane_cursor@pipe-a-overlay-size-128.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl2/igt@kms_plane_cursor@pipe-a-overlay-size-128.html - shard-apl: [PASS][47] -> [FAIL][48] ([i915#1559] / [i915#95]) [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl1/igt@kms_plane_cursor@pipe-a-overlay-size-128.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl6/igt@kms_plane_cursor@pipe-a-overlay-size-128.html * igt@kms_psr@psr2_cursor_blt: - shard-iclb: [PASS][49] -> [SKIP][50] ([fdo#109441]) +2 similar issues [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb4/igt@kms_psr@psr2_cursor_blt.html #### Possible fixes #### * igt@i915_suspend@fence-restore-untiled: - shard-apl: [DMESG-WARN][51] ([i915#180]) -> [PASS][52] [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl6/igt@i915_suspend@fence-restore-untiled.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl1/igt@i915_suspend@fence-restore-untiled.html * igt@kms_cursor_crc@pipe-a-cursor-256x85-offscreen: - shard-kbl: [FAIL][53] ([i915#54] / [i915#93] / [i915#95]) -> [PASS][54] +3 similar issues [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl6/igt@kms_cursor_crc@pipe-a-cursor-256x85-offscreen.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-256x85-offscreen.html * igt@kms_cursor_legacy@flip-vs-cursor-crc-legacy: - shard-kbl: [FAIL][55] ([i915#1566] / [i915#93] / [i915#95]) -> [PASS][56] [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl4/igt@kms_cursor_legacy@flip-vs-cursor-crc-legacy.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl1/igt@kms_cursor_legacy@flip-vs-cursor-crc-legacy.html * igt@kms_draw_crc@draw-method-xrgb8888-render-untiled: - shard-kbl: [FAIL][57] ([i915#177] / [i915#52] / [i915#54] / [i915#93] / [i915#95]) -> [PASS][58] [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl6/igt@kms_draw_crc@draw-method-xrgb8888-render-untiled.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl2/igt@kms_draw_crc@draw-method-xrgb8888-render-untiled.html - shard-apl: [FAIL][59] ([i915#52] / [i915#54] / [i915#95]) -> [PASS][60] [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl1/igt@kms_draw_crc@draw-method-xrgb8888-render-untiled.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl2/igt@kms_draw_crc@draw-method-xrgb8888-render-untiled.html * {igt@kms_flip@flip-vs-suspend-interruptible@a-dp1}: - shard-kbl: [DMESG-WARN][61] ([i915#180]) -> [PASS][62] +5 similar issues [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl7/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl3/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html * {igt@kms_flip@flip-vs-suspend@a-vga1}: - shard-snb: [DMESG-WARN][63] ([i915#42]) -> [PASS][64] [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-snb2/igt@kms_flip@flip-vs-suspend@a-vga1.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-snb5/igt@kms_flip@flip-vs-suspend@a-vga1.html * igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence: - shard-apl: [FAIL][65] ([i915#53] / [i915#95]) -> [PASS][66] [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl2/igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl1/igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence.html - shard-kbl: [FAIL][67] ([i915#53] / [i915#93] / [i915#95]) -> [PASS][68] [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl3/igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl7/igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence.html * igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min: - shard-kbl: [FAIL][69] ([fdo#108145] / [i915#265] / [i915#93] / [i915#95]) -> [PASS][70] [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl3/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl7/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html - shard-apl: [FAIL][71] ([fdo#108145] / [i915#265] / [i915#95]) -> [PASS][72] [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl2/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl1/igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min.html * igt@kms_plane_cursor@pipe-a-viewport-size-256: - shard-apl: [FAIL][73] ([i915#1559] / [i915#95]) -> [PASS][74] [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl1/igt@kms_plane_cursor@pipe-a-viewport-size-256.html [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl1/igt@kms_plane_cursor@pipe-a-viewport-size-256.html - shard-kbl: [FAIL][75] ([i915#1559] / [i915#93] / [i915#95]) -> [PASS][76] [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl7/igt@kms_plane_cursor@pipe-a-viewport-size-256.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl7/igt@kms_plane_cursor@pipe-a-viewport-size-256.html * igt@kms_psr@psr2_cursor_plane_move: - shard-iclb: [SKIP][77] ([fdo#109441]) -> [PASS][78] +3 similar issues [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb1/igt@kms_psr@psr2_cursor_plane_move.html [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb2/igt@kms_psr@psr2_cursor_plane_move.html #### Warnings #### * igt@i915_pm_dc@dc6-psr: - shard-tglb: [FAIL][79] ([i915#454]) -> [SKIP][80] ([i915#468]) [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-tglb7/igt@i915_pm_dc@dc6-psr.html [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-tglb2/igt@i915_pm_dc@dc6-psr.html * igt@i915_pm_rpm@cursor-dpms: - shard-snb: [INCOMPLETE][81] ([i915#82]) -> [SKIP][82] ([fdo#109271]) [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-snb1/igt@i915_pm_rpm@cursor-dpms.html [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-snb1/igt@i915_pm_rpm@cursor-dpms.html * igt@kms_content_protection@atomic: - shard-apl: [FAIL][83] ([fdo#110321] / [fdo#110336] / [i915#95]) -> [TIMEOUT][84] ([i915#1319]) [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl6/igt@kms_content_protection@atomic.html [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl2/igt@kms_content_protection@atomic.html * igt@kms_content_protection@lic: - shard-apl: [TIMEOUT][85] ([i915#1319]) -> [FAIL][86] ([fdo#110321] / [i915#95]) [85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl2/igt@kms_content_protection@lic.html [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl6/igt@kms_content_protection@lic.html - shard-kbl: [TIMEOUT][87] ([i915#1319]) -> [FAIL][88] ([fdo#110321] / [i915#93] / [i915#95]) [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl3/igt@kms_content_protection@lic.html [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl2/igt@kms_content_protection@lic.html * igt@kms_fbcon_fbt@fbc: - shard-kbl: [FAIL][89] ([i915#64]) -> [FAIL][90] ([i915#1121] / [i915#93] / [i915#95]) [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl4/igt@kms_fbcon_fbt@fbc.html [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl1/igt@kms_fbcon_fbt@fbc.html - shard-apl: [FAIL][91] ([i915#1525]) -> [FAIL][92] ([i915#1121] / [i915#95]) [91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-apl8/igt@kms_fbcon_fbt@fbc.html [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-apl6/igt@kms_fbcon_fbt@fbc.html * igt@kms_fbcon_fbt@fbc-suspend: - shard-kbl: [DMESG-FAIL][93] ([i915#180] / [i915#95]) -> [FAIL][94] ([i915#1121] / [i915#93] / [i915#95]) [93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-kbl4/igt@kms_fbcon_fbt@fbc-suspend.html [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-kbl1/igt@kms_fbcon_fbt@fbc-suspend.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278 [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321 [fdo#110336]: https://bugs.freedesktop.org/show_bug.cgi?id=110336 [fdo#110725]: https://bugs.freedesktop.org/show_bug.cgi?id=110725 [fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614 [fdo#112010]: https://bugs.freedesktop.org/show_bug.cgi?id=112010 [i915#1121]: https://gitlab.freedesktop.org/drm/intel/issues/1121 [i915#1319]: https://gitlab.freedesktop.org/drm/intel/issues/1319 [i915#1525]: https://gitlab.freedesktop.org/drm/intel/issues/1525 [i915#1559]: https://gitlab.freedesktop.org/drm/intel/issues/1559 [i915#1566]: https://gitlab.freedesktop.org/drm/intel/issues/1566 [i915#177]: https://gitlab.freedesktop.org/drm/intel/issues/177 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265 [i915#42]: https://gitlab.freedesktop.org/drm/intel/issues/42 [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454 [i915#468]: https://gitlab.freedesktop.org/drm/intel/issues/468 [i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49 [i915#52]: https://gitlab.freedesktop.org/drm/intel/issues/52 [i915#53]: https://gitlab.freedesktop.org/drm/intel/issues/53 [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54 [i915#64]: https://gitlab.freedesktop.org/drm/intel/issues/64 [i915#70]: https://gitlab.freedesktop.org/drm/intel/issues/70 [i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82 [i915#93]: https://gitlab.freedesktop.org/drm/intel/issues/93 [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95 Participating hosts (11 -> 8) ------------------------------ Missing (3): pig-skl-6260u pig-glk-j5005 pig-icl-1065g7 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5655 -> IGTPW_4574 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_8488: d40ec60813532e485e9c63623c91babf556cfbe3 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_4574: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/index.html IGT_5655: 2cc4c1edc3065590f9917930b6d049a90c4a38fd @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/index.html _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [igt-dev] ✗ Fi.CI.IGT: failure for lib/debugfs: Sanity check even discarded CRCs (rev3) 2020-05-15 18:14 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork @ 2020-05-15 18:52 ` Ville Syrjälä 0 siblings, 0 replies; 9+ messages in thread From: Ville Syrjälä @ 2020-05-15 18:52 UTC (permalink / raw) To: igt-dev On Fri, May 15, 2020 at 06:14:30PM -0000, Patchwork wrote: > == Series Details == > > Series: lib/debugfs: Sanity check even discarded CRCs (rev3) > URL : https://patchwork.freedesktop.org/series/53982/ > State : failure > > == Summary == > > CI Bug Log - changes from CI_DRM_8488_full -> IGTPW_4574_full > ==================================================== > > Summary > ------- > > **FAILURE** > > Serious unknown changes coming with IGTPW_4574_full absolutely need to be > verified manually. > > If you think the reported changes have nothing to do with the changes > introduced in IGTPW_4574_full, 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/IGTPW_4574/index.html > > Possible new issues > ------------------- > > Here are the unknown changes that may have been introduced in IGTPW_4574_full: > > ### IGT changes ### > > #### Possible regressions #### > > * igt@gem_ctx_ringsize@idle@rcs0: > - shard-iclb: [PASS][1] -> [INCOMPLETE][2] > [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb8/igt@gem_ctx_ringsize@idle@rcs0.html > [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb5/igt@gem_ctx_ringsize@idle@rcs0.html > > * igt@kms_cursor_edge_walk@pipe-a-256x256-bottom-edge: > - shard-iclb: [PASS][3] -> [WARN][4] +33 similar issues > [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8488/shard-iclb8/igt@kms_cursor_edge_walk@pipe-a-256x256-bottom-edge.html > [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4574/shard-iclb8/igt@kms_cursor_edge_walk@pipe-a-256x256-bottom-edge.html Somewhat surprising result. kms_cursor_edge_walk sees zeroed crcs all the time, but no other test ever sees them. Wasn't quite expecting that. Hmm. Now that I think about it IIRC there was some problem with CRCs when all planes are turned off. I think the spec even says the dmux crc source shouldn't be used with all planes turned off, but I seem to recall the problem only manifesting for a single frame when transitioning between no-planes vs. some planes. However I don't think kms_cursor_edge_walk should even be turning off all the planes. This would seem to need a deeper investigation. -- Ville Syrjälä Intel _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-05-18 19:06 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-12-13 10:57 [igt-dev] [PATCH i-g-t] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala 2018-12-13 11:19 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork 2018-12-13 20:51 ` [igt-dev] [PATCH i-g-t] " Dhinakaran Pandiyan 2018-12-19 14:46 ` [igt-dev] ✗ Fi.CI.BAT: failure for lib/debugfs: Sanity check even discarded CRCs (rev2) Patchwork 2020-05-15 14:38 ` [igt-dev] [PATCH i-g-t v2] lib/debugfs: Sanity check even discarded CRCs Ville Syrjala 2020-05-18 19:06 ` Souza, Jose 2020-05-15 15:12 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/debugfs: Sanity check even discarded CRCs (rev3) Patchwork 2020-05-15 18:14 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 2020-05-15 18:52 ` Ville Syrjälä
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox