All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/psr: Get pipe id following atomic guidelines
@ 2018-11-28  7:28 José Roberto de Souza
  2018-11-28  7:55 ` ✗ Fi.CI.SPARSE: warning for " Patchwork
                   ` (13 more replies)
  0 siblings, 14 replies; 30+ messages in thread
From: José Roberto de Souza @ 2018-11-28  7:28 UTC (permalink / raw
  To: intel-gfx; +Cc: Dhinakaran Pandiyan, Rodrigo Vivi

As stated in struct drm_encoder, crtc field should only be used
by non-atomic drivers.

So here caching the pipe id in intel_psr_enable() what is way more
simple and efficient than at every call to
intel_psr_flush()/invalidate() get the
drm.mode_config.connection_mutex lock to safely be able to get the
pipe id by reading drm_connector_state.crtc.

This should fix the null pointer dereference crash below as the
previous way to get the pipe id was prone to race conditions.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105959
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h  |  1 +
 drivers/gpu/drm/i915/intel_psr.c | 19 ++++---------------
 2 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index f763b30f98d9..9ea39b82836f 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -494,6 +494,7 @@ struct i915_psr {
 	bool sink_support;
 	bool prepared, enabled;
 	struct intel_dp *dp;
+	enum pipe pipe;
 	bool active;
 	struct work_struct work;
 	unsigned busy_frontbuffer_bits;
diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c
index 572e626eadff..11a520074f06 100644
--- a/drivers/gpu/drm/i915/intel_psr.c
+++ b/drivers/gpu/drm/i915/intel_psr.c
@@ -705,6 +705,7 @@ void intel_psr_enable(struct intel_dp *intel_dp,
 	dev_priv->psr.psr2_enabled = intel_psr2_enabled(dev_priv, crtc_state);
 	dev_priv->psr.busy_frontbuffer_bits = 0;
 	dev_priv->psr.prepared = true;
+	dev_priv->psr.pipe = to_intel_crtc(crtc_state->base.crtc)->pipe;
 
 	if (psr_global_enabled(dev_priv->psr.debug))
 		intel_psr_enable_locked(dev_priv, crtc_state);
@@ -1012,9 +1013,6 @@ static void intel_psr_work(struct work_struct *work)
 void intel_psr_invalidate(struct drm_i915_private *dev_priv,
 			  unsigned frontbuffer_bits, enum fb_op_origin origin)
 {
-	struct drm_crtc *crtc;
-	enum pipe pipe;
-
 	if (!CAN_PSR(dev_priv))
 		return;
 
@@ -1027,10 +1025,7 @@ void intel_psr_invalidate(struct drm_i915_private *dev_priv,
 		return;
 	}
 
-	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
-	pipe = to_intel_crtc(crtc)->pipe;
-
-	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
+	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv->psr.pipe);
 	dev_priv->psr.busy_frontbuffer_bits |= frontbuffer_bits;
 
 	if (frontbuffer_bits)
@@ -1055,9 +1050,6 @@ void intel_psr_invalidate(struct drm_i915_private *dev_priv,
 void intel_psr_flush(struct drm_i915_private *dev_priv,
 		     unsigned frontbuffer_bits, enum fb_op_origin origin)
 {
-	struct drm_crtc *crtc;
-	enum pipe pipe;
-
 	if (!CAN_PSR(dev_priv))
 		return;
 
@@ -1070,10 +1062,7 @@ void intel_psr_flush(struct drm_i915_private *dev_priv,
 		return;
 	}
 
-	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
-	pipe = to_intel_crtc(crtc)->pipe;
-
-	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
+	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv->psr.pipe);
 	dev_priv->psr.busy_frontbuffer_bits &= ~frontbuffer_bits;
 
 	/* By definition flush = invalidate + flush */
@@ -1087,7 +1076,7 @@ void intel_psr_flush(struct drm_i915_private *dev_priv,
 		 * but it makes more sense write to the current active
 		 * pipe.
 		 */
-		I915_WRITE(CURSURFLIVE(pipe), 0);
+		I915_WRITE(CURSURFLIVE(dev_priv->psr.pipe), 0);
 	}
 
 	if (!dev_priv->psr.active && !dev_priv->psr.busy_frontbuffer_bits)
-- 
2.19.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
@ 2018-11-28  7:55 ` Patchwork
  2018-11-28  8:23 ` ✓ Fi.CI.BAT: success " Patchwork
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2018-11-28  7:55 UTC (permalink / raw
  To: José Roberto de Souza; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines
URL   : https://patchwork.freedesktop.org/series/53132/
State : warning

== Summary ==

$ dim sparse origin/drm-tip
Sparse version: v0.5.2
Commit: drm/i915/psr: Get pipe id following atomic guidelines
-drivers/gpu/drm/i915/selftests/../i915_drv.h:3569:16: warning: expression using sizeof(void)
+drivers/gpu/drm/i915/selftests/../i915_drv.h:3570:16: warning: expression using sizeof(void)

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915/psr: Get pipe id following atomic guidelines
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
  2018-11-28  7:55 ` ✗ Fi.CI.SPARSE: warning for " Patchwork
@ 2018-11-28  8:23 ` Patchwork
  2018-11-28 15:14 ` ✗ Fi.CI.IGT: failure " Patchwork
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2018-11-28  8:23 UTC (permalink / raw
  To: José Roberto de Souza; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines
URL   : https://patchwork.freedesktop.org/series/53132/
State : success

== Summary ==

= CI Bug Log - changes from CI_DRM_5213 -> Patchwork_10924 =

== Summary - WARNING ==

  Minor unknown changes coming with Patchwork_10924 need to be verified
  manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_10924, 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/53132/revisions/1/mbox/

== Possible new issues ==

  Here are the unknown changes that may have been introduced in Patchwork_10924:

  === IGT changes ===

    ==== Warnings ====

    igt@gem_ctx_create@basic-files:
      fi-bsw-n3050:       FAIL ([fdo#108656]) -> INCOMPLETE

    
== Known issues ==

  Here are the changes found in Patchwork_10924 that come from known issues:

  === IGT changes ===

    ==== Issues hit ====

    igt@i915_module_load@reload:
      fi-blb-e6850:       NOTRUN -> INCOMPLETE ([fdo#107718])

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
      fi-byt-clapper:     PASS -> FAIL ([fdo#103191], [fdo#107362]) +1

    {igt@runner@aborted}:
      {fi-icl-u3}:        NOTRUN -> FAIL ([fdo#108866 ])

    
    ==== Possible fixes ====

    igt@kms_frontbuffer_tracking@basic:
      fi-byt-clapper:     FAIL ([fdo#103167]) -> PASS

    igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
      fi-byt-clapper:     FAIL ([fdo#103191], [fdo#107362]) -> PASS

    igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
      fi-blb-e6850:       INCOMPLETE ([fdo#107718]) -> PASS

    igt@prime_vgem@basic-fence-flip:
      fi-gdg-551:         FAIL ([fdo#103182]) -> PASS

    
    ==== Warnings ====

    igt@i915_selftest@live_contexts:
      {fi-icl-u3}:        DMESG-FAIL ([fdo#108569]) -> INCOMPLETE ([fdo#108315])

    
  {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#103182 https://bugs.freedesktop.org/show_bug.cgi?id=103182
  fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
  fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
  fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718
  fdo#108315 https://bugs.freedesktop.org/show_bug.cgi?id=108315
  fdo#108569 https://bugs.freedesktop.org/show_bug.cgi?id=108569
  fdo#108656 https://bugs.freedesktop.org/show_bug.cgi?id=108656
  fdo#108866  https://bugs.freedesktop.org/show_bug.cgi?id=108866 


== Participating hosts (51 -> 44) ==

  Missing    (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-kbl-7560u 


== Build changes ==

    * Linux: CI_DRM_5213 -> Patchwork_10924

  CI_DRM_5213: 5912c54d9804fb15d6a9fa2798bfef1e837c8938 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_10924: 8f9bf78f438142a3f0bf00bb023ee051217dfd90 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

8f9bf78f4381 drm/i915/psr: Get pipe id following atomic guidelines

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10924/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.IGT: failure for drm/i915/psr: Get pipe id following atomic guidelines
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
  2018-11-28  7:55 ` ✗ Fi.CI.SPARSE: warning for " Patchwork
  2018-11-28  8:23 ` ✓ Fi.CI.BAT: success " Patchwork
@ 2018-11-28 15:14 ` Patchwork
  2018-11-28 16:55 ` [PATCH] " Rodrigo Vivi
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2018-11-28 15:14 UTC (permalink / raw
  To: José Roberto de Souza; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines
URL   : https://patchwork.freedesktop.org/series/53132/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_5213_full -> Patchwork_10924_full
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_10924_full absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_10924_full, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_10924_full:

### IGT changes ###

#### Possible regressions ####

  * igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-untiled:
    - shard-skl:          NOTRUN -> FAIL

  
#### Warnings ####

  * igt@perf_pmu@rc6:
    - shard-kbl:          PASS -> SKIP

  
Known issues
------------

  Here are the changes found in Patchwork_10924_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_schedule@wide-render:
    - {shard-iclb}:       PASS -> INCOMPLETE [fdo#108315]

  * igt@gem_mocs_settings@mocs-settings-ctx-render:
    - shard-snb:          SKIP -> INCOMPLETE [fdo#105411]

  * igt@gem_ppgtt@blt-vs-render-ctxn:
    - shard-skl:          NOTRUN -> INCOMPLETE [fdo#106887]

  * igt@gem_workarounds@suspend-resume:
    - {shard-iclb}:       PASS -> INCOMPLETE [fdo#107713]

  * igt@i915_suspend@shrink:
    - shard-skl:          NOTRUN -> DMESG-WARN [fdo#108784]

  * igt@kms_available_modes_crc@available_mode_test_crc:
    - {shard-iclb}:       NOTRUN -> FAIL [fdo#106641]

  * igt@kms_busy@extended-modeset-hang-newfb-render-a:
    - shard-skl:          NOTRUN -> DMESG-WARN [fdo#107956]

  * igt@kms_ccs@pipe-c-crc-primary-basic:
    - {shard-iclb}:       NOTRUN -> FAIL [fdo#107725]

  * igt@kms_chv_cursor_fail@pipe-b-256x256-right-edge:
    - {shard-iclb}:       PASS -> DMESG-WARN [fdo#107724] / [fdo#108336] +3

  * igt@kms_color@pipe-c-ctm-0-5:
    - shard-skl:          PASS -> FAIL [fdo#108682]

  * igt@kms_cursor_crc@cursor-128x128-suspend:
    - shard-glk:          PASS -> FAIL [fdo#103232] +5

  * igt@kms_cursor_crc@cursor-256x256-dpms:
    - shard-apl:          PASS -> FAIL [fdo#103232] +1
    - shard-skl:          NOTRUN -> FAIL [fdo#103232]

  * igt@kms_cursor_crc@cursor-64x21-random:
    - shard-skl:          PASS -> FAIL [fdo#103232]

  * igt@kms_cursor_crc@cursor-64x64-dpms:
    - {shard-iclb}:       NOTRUN -> FAIL [fdo#103232]

  * igt@kms_draw_crc@draw-method-rgb565-mmap-cpu-ytiled:
    - {shard-iclb}:       PASS -> WARN [fdo#108336]

  * igt@kms_flip@flip-vs-expired-vblank:
    - shard-glk:          PASS -> FAIL [fdo#105363]

  * igt@kms_flip@flip-vs-fences:
    - {shard-iclb}:       PASS -> DMESG-WARN [fdo#107724] +14

  * igt@kms_flip@plain-flip-fb-recreate:
    - shard-skl:          PASS -> FAIL [fdo#100368]

  * igt@kms_flip_tiling@flip-to-y-tiled:
    - shard-skl:          PASS -> FAIL [fdo#107931]

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render:
    - shard-apl:          PASS -> FAIL [fdo#103167] +2

  * igt@kms_frontbuffer_tracking@fbc-1p-rte:
    - shard-glk:          PASS -> FAIL [fdo#103167] / [fdo#105682]

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-draw-mmap-cpu:
    - shard-glk:          PASS -> FAIL [fdo#103167] +3

  * igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary:
    - shard-skl:          NOTRUN -> FAIL [fdo#105682] +3

  * igt@kms_frontbuffer_tracking@fbcpsr-farfromfence:
    - {shard-iclb}:       PASS -> DMESG-FAIL [fdo#107724] +2

  * igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render:
    - shard-skl:          NOTRUN -> FAIL [fdo#103167] +2

  * igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-fullscreen:
    - {shard-iclb}:       PASS -> FAIL [fdo#103167] +3

  * igt@kms_pipe_crc_basic@hang-read-crc-pipe-c:
    - shard-skl:          PASS -> FAIL [fdo#103191] / [fdo#107362]

  * igt@kms_plane@pixel-format-pipe-c-planes:
    - shard-skl:          NOTRUN -> DMESG-WARN [fdo#106885]

  * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
    - shard-skl:          PASS -> INCOMPLETE [fdo#104108] / [fdo#107773]

  * igt@kms_plane@plane-position-covered-pipe-a-planes:
    - {shard-iclb}:       PASS -> FAIL [fdo#103166] +2

  * igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
    - shard-skl:          NOTRUN -> FAIL [fdo#107815] / [fdo#108145]

  * igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
    - shard-apl:          PASS -> FAIL [fdo#108145]

  * igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
    - shard-skl:          NOTRUN -> FAIL [fdo#108145]

  * igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
    - shard-skl:          PASS -> FAIL [fdo#107815]

  * igt@kms_plane_multiple@atomic-pipe-a-tiling-x:
    - shard-apl:          PASS -> FAIL [fdo#103166]

  * igt@kms_plane_multiple@atomic-pipe-c-tiling-yf:
    - shard-skl:          NOTRUN -> FAIL [fdo#103166] / [fdo#107815]

  * igt@kms_plane_scaling@pipe-c-scaler-with-rotation:
    - {shard-iclb}:       NOTRUN -> DMESG-WARN [fdo#107724]

  * igt@kms_setmode@basic:
    - shard-hsw:          PASS -> FAIL [fdo#99912]

  * igt@pm_rpm@gem-execbuf:
    - shard-skl:          NOTRUN -> INCOMPLETE [fdo#107803] / [fdo#107807]

  * igt@pm_rpm@gem-idle:
    - shard-skl:          PASS -> INCOMPLETE [fdo#107807] +1

  * igt@pm_rpm@pc8-residency:
    - shard-skl:          SKIP -> INCOMPLETE [fdo#107807] +1

  
#### Possible fixes ####

  * igt@kms_atomic_transition@plane-use-after-nonblocking-unbind-fencing:
    - shard-apl:          INCOMPLETE [fdo#103927] -> PASS +1

  * igt@kms_color@pipe-a-ctm-max:
    - shard-apl:          FAIL [fdo#108147] -> PASS

  * igt@kms_color@pipe-b-degamma:
    - shard-apl:          FAIL [fdo#104782] -> PASS

  * igt@kms_cursor_crc@cursor-128x128-suspend:
    - shard-apl:          FAIL [fdo#103191] / [fdo#103232] -> PASS +1

  * igt@kms_cursor_crc@cursor-256x256-dpms:
    - shard-glk:          FAIL [fdo#103232] -> PASS +3

  * igt@kms_cursor_crc@cursor-256x85-onscreen:
    - shard-apl:          FAIL [fdo#103232] -> PASS +3

  * igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-xtiled:
    - shard-skl:          FAIL [fdo#107791] -> PASS

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
    - shard-apl:          FAIL [fdo#103167] -> PASS +1

  * igt@kms_frontbuffer_tracking@fbc-1p-rte:
    - shard-apl:          FAIL [fdo#103167] / [fdo#105682] -> PASS

  * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-mmap-wc:
    - shard-glk:          FAIL [fdo#103167] -> PASS +2

  * igt@kms_frontbuffer_tracking@fbc-stridechange:
    - {shard-iclb}:       FAIL [fdo#105683] -> PASS +1

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-render:
    - {shard-iclb}:       FAIL [fdo#103167] -> PASS

  * igt@kms_pipe_crc_basic@hang-read-crc-pipe-c:
    - shard-apl:          DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +25

  * igt@kms_plane@plane-position-covered-pipe-c-planes:
    - shard-apl:          FAIL [fdo#103166] -> PASS +1

  * igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
    - shard-glk:          FAIL [fdo#108145] -> PASS

  * igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
    - shard-apl:          FAIL [fdo#108145] -> PASS

  * igt@kms_plane_multiple@atomic-pipe-a-tiling-y:
    - shard-glk:          FAIL [fdo#103166] -> PASS +2

  * igt@kms_plane_multiple@atomic-pipe-a-tiling-yf:
    - {shard-iclb}:       FAIL [fdo#103166] -> PASS +1

  * igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
    - shard-kbl:          DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +13

  * igt@kms_plane_scaling@pipe-b-scaler-with-rotation:
    - {shard-iclb}:       DMESG-WARN [fdo#107724] -> PASS

  * igt@kms_setmode@basic:
    - shard-apl:          FAIL [fdo#99912] -> PASS

  * igt@perf@blocking:
    - shard-hsw:          FAIL [fdo#102252] -> PASS

  * igt@pm_rpm@modeset-non-lpsp:
    - shard-skl:          INCOMPLETE [fdo#107807] -> SKIP

  * igt@pm_rpm@system-suspend-execbuf:
    - shard-skl:          INCOMPLETE [fdo#104108] / [fdo#107807] -> PASS

  * igt@pm_rpm@universal-planes-dpms:
    - shard-skl:          INCOMPLETE [fdo#107807] -> PASS

  
#### Warnings ####

  * igt@i915_suspend@shrink:
    - shard-snb:          DMESG-WARN [fdo#108784] -> INCOMPLETE [fdo#105411] / [fdo#106886]

  * igt@kms_ccs@pipe-b-crc-sprite-planes-basic:
    - {shard-iclb}:       FAIL [fdo#107725] -> DMESG-WARN [fdo#107724] / [fdo#108336]

  * igt@kms_cursor_crc@cursor-128x42-sliding:
    - {shard-iclb}:       FAIL [fdo#103232] -> DMESG-WARN [fdo#107724] / [fdo#108336]

  * igt@kms_cursor_crc@cursor-64x21-random:
    - shard-apl:          DMESG-WARN [fdo#103558] / [fdo#105602] -> FAIL [fdo#103232]

  * igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
    - shard-apl:          DMESG-WARN [fdo#103558] / [fdo#105602] -> FAIL [fdo#103166]

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
  [fdo#102252]: https://bugs.freedesktop.org/show_bug.cgi?id=102252
  [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
  [fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
  [fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
  [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
  [fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
  [fdo#104782]: https://bugs.freedesktop.org/show_bug.cgi?id=104782
  [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
  [fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
  [fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
  [fdo#105682]: https://bugs.freedesktop.org/show_bug.cgi?id=105682
  [fdo#105683]: https://bugs.freedesktop.org/show_bug.cgi?id=105683
  [fdo#106641]: https://bugs.freedesktop.org/show_bug.cgi?id=106641
  [fdo#106885]: https://bugs.freedesktop.org/show_bug.cgi?id=106885
  [fdo#106886]: https://bugs.freedesktop.org/show_bug.cgi?id=106886
  [fdo#106887]: https://bugs.freedesktop.org/show_bug.cgi?id=106887
  [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#107725]: https://bugs.freedesktop.org/show_bug.cgi?id=107725
  [fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773
  [fdo#107791]: https://bugs.freedesktop.org/show_bug.cgi?id=107791
  [fdo#107803]: https://bugs.freedesktop.org/show_bug.cgi?id=107803
  [fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
  [fdo#107815]: https://bugs.freedesktop.org/show_bug.cgi?id=107815
  [fdo#107931]: https://bugs.freedesktop.org/show_bug.cgi?id=107931
  [fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956
  [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
  [fdo#108147]: https://bugs.freedesktop.org/show_bug.cgi?id=108147
  [fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
  [fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336
  [fdo#108682]: https://bugs.freedesktop.org/show_bug.cgi?id=108682
  [fdo#108784]: https://bugs.freedesktop.org/show_bug.cgi?id=108784
  [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912


Participating hosts (7 -> 7)
------------------------------

  No changes in participating hosts


Build changes
-------------

    * Linux: CI_DRM_5213 -> Patchwork_10924

  CI_DRM_5213: 5912c54d9804fb15d6a9fa2798bfef1e837c8938 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_10924: 8f9bf78f438142a3f0bf00bb023ee051217dfd90 @ git://anongit.freedesktop.org/gfx-ci/linux
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10924/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH] drm/i915/psr: Get pipe id following atomic guidelines
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (2 preceding siblings ...)
  2018-11-28 15:14 ` ✗ Fi.CI.IGT: failure " Patchwork
@ 2018-11-28 16:55 ` Rodrigo Vivi
  2018-11-28 18:21   ` Souza, Jose
  2018-11-28 20:47 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev2) Patchwork
                   ` (9 subsequent siblings)
  13 siblings, 1 reply; 30+ messages in thread
From: Rodrigo Vivi @ 2018-11-28 16:55 UTC (permalink / raw
  To: José Roberto de Souza; +Cc: intel-gfx, Dhinakaran Pandiyan

On Tue, Nov 27, 2018 at 11:28:38PM -0800, José Roberto de Souza wrote:
> As stated in struct drm_encoder, crtc field should only be used
> by non-atomic drivers.
> 
> So here caching the pipe id in intel_psr_enable() what is way more
> simple and efficient than at every call to
> intel_psr_flush()/invalidate() get the
> drm.mode_config.connection_mutex lock to safely be able to get the
> pipe id by reading drm_connector_state.crtc.
> 
> This should fix the null pointer dereference crash below as the
> previous way to get the pipe id was prone to race conditions.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105959
> Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
> ---
>  drivers/gpu/drm/i915/i915_drv.h  |  1 +
>  drivers/gpu/drm/i915/intel_psr.c | 19 ++++---------------
>  2 files changed, 5 insertions(+), 15 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index f763b30f98d9..9ea39b82836f 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -494,6 +494,7 @@ struct i915_psr {
>  	bool sink_support;
>  	bool prepared, enabled;
>  	struct intel_dp *dp;
> +	enum pipe pipe;
>  	bool active;
>  	struct work_struct work;
>  	unsigned busy_frontbuffer_bits;
> diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c
> index 572e626eadff..11a520074f06 100644
> --- a/drivers/gpu/drm/i915/intel_psr.c
> +++ b/drivers/gpu/drm/i915/intel_psr.c
> @@ -705,6 +705,7 @@ void intel_psr_enable(struct intel_dp *intel_dp,
>  	dev_priv->psr.psr2_enabled = intel_psr2_enabled(dev_priv, crtc_state);
>  	dev_priv->psr.busy_frontbuffer_bits = 0;
>  	dev_priv->psr.prepared = true;
> +	dev_priv->psr.pipe = to_intel_crtc(crtc_state->base.crtc)->pipe;
>  
>  	if (psr_global_enabled(dev_priv->psr.debug))
>  		intel_psr_enable_locked(dev_priv, crtc_state);
> @@ -1012,9 +1013,6 @@ static void intel_psr_work(struct work_struct *work)
>  void intel_psr_invalidate(struct drm_i915_private *dev_priv,
>  			  unsigned frontbuffer_bits, enum fb_op_origin origin)
>  {
> -	struct drm_crtc *crtc;
> -	enum pipe pipe;
> -
>  	if (!CAN_PSR(dev_priv))
>  		return;
>  
> @@ -1027,10 +1025,7 @@ void intel_psr_invalidate(struct drm_i915_private *dev_priv,
>  		return;
>  	}
>  
> -	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
> -	pipe = to_intel_crtc(crtc)->pipe;
> -
> -	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
> +	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv->psr.pipe);
>  	dev_priv->psr.busy_frontbuffer_bits |= frontbuffer_bits;
>  
>  	if (frontbuffer_bits)
> @@ -1055,9 +1050,6 @@ void intel_psr_invalidate(struct drm_i915_private *dev_priv,
>  void intel_psr_flush(struct drm_i915_private *dev_priv,
>  		     unsigned frontbuffer_bits, enum fb_op_origin origin)
>  {
> -	struct drm_crtc *crtc;
> -	enum pipe pipe;
> -
>  	if (!CAN_PSR(dev_priv))
>  		return;
>  
> @@ -1070,10 +1062,7 @@ void intel_psr_flush(struct drm_i915_private *dev_priv,
>  		return;
>  	}
>  
> -	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
> -	pipe = to_intel_crtc(crtc)->pipe;
> -
> -	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
> +	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv->psr.pipe);

This approach will introduce another bug.

Any frontbuffer tracking from any connector on another pipe will trigger
psr actions on eDP.

>  	dev_priv->psr.busy_frontbuffer_bits &= ~frontbuffer_bits;
>  
>  	/* By definition flush = invalidate + flush */
> @@ -1087,7 +1076,7 @@ void intel_psr_flush(struct drm_i915_private *dev_priv,
>  		 * but it makes more sense write to the current active
>  		 * pipe.
>  		 */
> -		I915_WRITE(CURSURFLIVE(pipe), 0);
> +		I915_WRITE(CURSURFLIVE(dev_priv->psr.pipe), 0);
>  	}
>  
>  	if (!dev_priv->psr.active && !dev_priv->psr.busy_frontbuffer_bits)
> -- 
> 2.19.2
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH] drm/i915/psr: Get pipe id following atomic guidelines
  2018-11-28 16:55 ` [PATCH] " Rodrigo Vivi
@ 2018-11-28 18:21   ` Souza, Jose
  2018-11-28 18:44     ` Rodrigo Vivi
  0 siblings, 1 reply; 30+ messages in thread
From: Souza, Jose @ 2018-11-28 18:21 UTC (permalink / raw
  To: Vivi, Rodrigo; +Cc: intel-gfx@lists.freedesktop.org, Pandiyan, Dhinakaran


[-- Attachment #1.1: Type: text/plain, Size: 4823 bytes --]

On Wed, 2018-11-28 at 08:55 -0800, Rodrigo Vivi wrote:
> On Tue, Nov 27, 2018 at 11:28:38PM -0800, José Roberto de Souza
> wrote:
> > As stated in struct drm_encoder, crtc field should only be used
> > by non-atomic drivers.
> > 
> > So here caching the pipe id in intel_psr_enable() what is way more
> > simple and efficient than at every call to
> > intel_psr_flush()/invalidate() get the
> > drm.mode_config.connection_mutex lock to safely be able to get the
> > pipe id by reading drm_connector_state.crtc.
> > 
> > This should fix the null pointer dereference crash below as the
> > previous way to get the pipe id was prone to race conditions.
> > 
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105959
> > Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
> > ---
> >  drivers/gpu/drm/i915/i915_drv.h  |  1 +
> >  drivers/gpu/drm/i915/intel_psr.c | 19 ++++---------------
> >  2 files changed, 5 insertions(+), 15 deletions(-)
> > 
> > diff --git a/drivers/gpu/drm/i915/i915_drv.h
> > b/drivers/gpu/drm/i915/i915_drv.h
> > index f763b30f98d9..9ea39b82836f 100644
> > --- a/drivers/gpu/drm/i915/i915_drv.h
> > +++ b/drivers/gpu/drm/i915/i915_drv.h
> > @@ -494,6 +494,7 @@ struct i915_psr {
> >  	bool sink_support;
> >  	bool prepared, enabled;
> >  	struct intel_dp *dp;
> > +	enum pipe pipe;
> >  	bool active;
> >  	struct work_struct work;
> >  	unsigned busy_frontbuffer_bits;
> > diff --git a/drivers/gpu/drm/i915/intel_psr.c
> > b/drivers/gpu/drm/i915/intel_psr.c
> > index 572e626eadff..11a520074f06 100644
> > --- a/drivers/gpu/drm/i915/intel_psr.c
> > +++ b/drivers/gpu/drm/i915/intel_psr.c
> > @@ -705,6 +705,7 @@ void intel_psr_enable(struct intel_dp
> > *intel_dp,
> >  	dev_priv->psr.psr2_enabled = intel_psr2_enabled(dev_priv,
> > crtc_state);
> >  	dev_priv->psr.busy_frontbuffer_bits = 0;
> >  	dev_priv->psr.prepared = true;
> > +	dev_priv->psr.pipe = to_intel_crtc(crtc_state->base.crtc)-
> > >pipe;
> >  
> >  	if (psr_global_enabled(dev_priv->psr.debug))
> >  		intel_psr_enable_locked(dev_priv, crtc_state);
> > @@ -1012,9 +1013,6 @@ static void intel_psr_work(struct work_struct
> > *work)
> >  void intel_psr_invalidate(struct drm_i915_private *dev_priv,
> >  			  unsigned frontbuffer_bits, enum fb_op_origin
> > origin)
> >  {
> > -	struct drm_crtc *crtc;
> > -	enum pipe pipe;
> > -
> >  	if (!CAN_PSR(dev_priv))
> >  		return;
> >  
> > @@ -1027,10 +1025,7 @@ void intel_psr_invalidate(struct
> > drm_i915_private *dev_priv,
> >  		return;
> >  	}
> >  
> > -	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
> > -	pipe = to_intel_crtc(crtc)->pipe;
> > -
> > -	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
> > +	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv-
> > >psr.pipe);
> >  	dev_priv->psr.busy_frontbuffer_bits |= frontbuffer_bits;
> >  
> >  	if (frontbuffer_bits)
> > @@ -1055,9 +1050,6 @@ void intel_psr_invalidate(struct
> > drm_i915_private *dev_priv,
> >  void intel_psr_flush(struct drm_i915_private *dev_priv,
> >  		     unsigned frontbuffer_bits, enum fb_op_origin
> > origin)
> >  {
> > -	struct drm_crtc *crtc;
> > -	enum pipe pipe;
> > -
> >  	if (!CAN_PSR(dev_priv))
> >  		return;
> >  
> > @@ -1070,10 +1062,7 @@ void intel_psr_flush(struct drm_i915_private
> > *dev_priv,
> >  		return;
> >  	}
> >  
> > -	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
> > -	pipe = to_intel_crtc(crtc)->pipe;
> > -
> > -	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
> > +	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv-
> > >psr.pipe);
> 
> This approach will introduce another bug.
> 
> Any frontbuffer tracking from any connector on another pipe will
> trigger
> psr actions on eDP.

Why that would happen? dev_priv->psr.pipe will be set with the pipe id
that is used by the eDP panel so INTEL_FRONTBUFFER_ALL_MASK() will
return only the frontbuffer bits of that pipe.

> 
> >  	dev_priv->psr.busy_frontbuffer_bits &= ~frontbuffer_bits;
> >  
> >  	/* By definition flush = invalidate + flush */
> > @@ -1087,7 +1076,7 @@ void intel_psr_flush(struct drm_i915_private
> > *dev_priv,
> >  		 * but it makes more sense write to the current active
> >  		 * pipe.
> >  		 */
> > -		I915_WRITE(CURSURFLIVE(pipe), 0);
> > +		I915_WRITE(CURSURFLIVE(dev_priv->psr.pipe), 0);
> >  	}
> >  
> >  	if (!dev_priv->psr.active && !dev_priv-
> > >psr.busy_frontbuffer_bits)
> > -- 
> > 2.19.2
> > 
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH] drm/i915/psr: Get pipe id following atomic guidelines
  2018-11-28 18:21   ` Souza, Jose
@ 2018-11-28 18:44     ` Rodrigo Vivi
  0 siblings, 0 replies; 30+ messages in thread
From: Rodrigo Vivi @ 2018-11-28 18:44 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx@lists.freedesktop.org, Pandiyan, Dhinakaran

On Wed, Nov 28, 2018 at 10:21:05AM -0800, Souza, Jose wrote:
> On Wed, 2018-11-28 at 08:55 -0800, Rodrigo Vivi wrote:
> > On Tue, Nov 27, 2018 at 11:28:38PM -0800, José Roberto de Souza
> > wrote:
> > > As stated in struct drm_encoder, crtc field should only be used
> > > by non-atomic drivers.
> > > 
> > > So here caching the pipe id in intel_psr_enable() what is way more
> > > simple and efficient than at every call to
> > > intel_psr_flush()/invalidate() get the
> > > drm.mode_config.connection_mutex lock to safely be able to get the
> > > pipe id by reading drm_connector_state.crtc.
> > > 
> > > This should fix the null pointer dereference crash below as the
> > > previous way to get the pipe id was prone to race conditions.
> > > 
> > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105959
> > > Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> > > Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> > > Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
> > > ---
> > >  drivers/gpu/drm/i915/i915_drv.h  |  1 +
> > >  drivers/gpu/drm/i915/intel_psr.c | 19 ++++---------------
> > >  2 files changed, 5 insertions(+), 15 deletions(-)
> > > 
> > > diff --git a/drivers/gpu/drm/i915/i915_drv.h
> > > b/drivers/gpu/drm/i915/i915_drv.h
> > > index f763b30f98d9..9ea39b82836f 100644
> > > --- a/drivers/gpu/drm/i915/i915_drv.h
> > > +++ b/drivers/gpu/drm/i915/i915_drv.h
> > > @@ -494,6 +494,7 @@ struct i915_psr {
> > >  	bool sink_support;
> > >  	bool prepared, enabled;
> > >  	struct intel_dp *dp;
> > > +	enum pipe pipe;
> > >  	bool active;
> > >  	struct work_struct work;
> > >  	unsigned busy_frontbuffer_bits;
> > > diff --git a/drivers/gpu/drm/i915/intel_psr.c
> > > b/drivers/gpu/drm/i915/intel_psr.c
> > > index 572e626eadff..11a520074f06 100644
> > > --- a/drivers/gpu/drm/i915/intel_psr.c
> > > +++ b/drivers/gpu/drm/i915/intel_psr.c
> > > @@ -705,6 +705,7 @@ void intel_psr_enable(struct intel_dp
> > > *intel_dp,
> > >  	dev_priv->psr.psr2_enabled = intel_psr2_enabled(dev_priv,
> > > crtc_state);
> > >  	dev_priv->psr.busy_frontbuffer_bits = 0;
> > >  	dev_priv->psr.prepared = true;
> > > +	dev_priv->psr.pipe = to_intel_crtc(crtc_state->base.crtc)-
> > > >pipe;
> > >  
> > >  	if (psr_global_enabled(dev_priv->psr.debug))
> > >  		intel_psr_enable_locked(dev_priv, crtc_state);
> > > @@ -1012,9 +1013,6 @@ static void intel_psr_work(struct work_struct
> > > *work)
> > >  void intel_psr_invalidate(struct drm_i915_private *dev_priv,
> > >  			  unsigned frontbuffer_bits, enum fb_op_origin
> > > origin)
> > >  {
> > > -	struct drm_crtc *crtc;
> > > -	enum pipe pipe;
> > > -
> > >  	if (!CAN_PSR(dev_priv))
> > >  		return;
> > >  
> > > @@ -1027,10 +1025,7 @@ void intel_psr_invalidate(struct
> > > drm_i915_private *dev_priv,
> > >  		return;
> > >  	}
> > >  
> > > -	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
> > > -	pipe = to_intel_crtc(crtc)->pipe;
> > > -
> > > -	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
> > > +	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv-
> > > >psr.pipe);
> > >  	dev_priv->psr.busy_frontbuffer_bits |= frontbuffer_bits;
> > >  
> > >  	if (frontbuffer_bits)
> > > @@ -1055,9 +1050,6 @@ void intel_psr_invalidate(struct
> > > drm_i915_private *dev_priv,
> > >  void intel_psr_flush(struct drm_i915_private *dev_priv,
> > >  		     unsigned frontbuffer_bits, enum fb_op_origin
> > > origin)
> > >  {
> > > -	struct drm_crtc *crtc;
> > > -	enum pipe pipe;
> > > -
> > >  	if (!CAN_PSR(dev_priv))
> > >  		return;
> > >  
> > > @@ -1070,10 +1062,7 @@ void intel_psr_flush(struct drm_i915_private
> > > *dev_priv,
> > >  		return;
> > >  	}
> > >  
> > > -	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
> > > -	pipe = to_intel_crtc(crtc)->pipe;
> > > -
> > > -	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
> > > +	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv-
> > > >psr.pipe);
> > 
> > This approach will introduce another bug.
> > 
> > Any frontbuffer tracking from any connector on another pipe will
> > trigger
> > psr actions on eDP.
> 
> Why that would happen? dev_priv->psr.pipe will be set with the pipe id
> that is used by the eDP panel so INTEL_FRONTBUFFER_ALL_MASK() will
> return only the frontbuffer bits of that pipe.

Oh... nevermind... and I saw that we were already getting from psr.dp
anyway...


Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>



> 
> > 
> > >  	dev_priv->psr.busy_frontbuffer_bits &= ~frontbuffer_bits;
> > >  
> > >  	/* By definition flush = invalidate + flush */
> > > @@ -1087,7 +1076,7 @@ void intel_psr_flush(struct drm_i915_private
> > > *dev_priv,
> > >  		 * but it makes more sense write to the current active
> > >  		 * pipe.
> > >  		 */
> > > -		I915_WRITE(CURSURFLIVE(pipe), 0);
> > > +		I915_WRITE(CURSURFLIVE(dev_priv->psr.pipe), 0);
> > >  	}
> > >  
> > >  	if (!dev_priv->psr.active && !dev_priv-
> > > >psr.busy_frontbuffer_bits)
> > > -- 
> > > 2.19.2
> > > 
> > > _______________________________________________
> > > Intel-gfx mailing list
> > > Intel-gfx@lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/intel-gfx


_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (3 preceding siblings ...)
  2018-11-28 16:55 ` [PATCH] " Rodrigo Vivi
@ 2018-11-28 20:47 ` Patchwork
  2018-11-28 21:02 ` ✗ Fi.CI.BAT: failure " Patchwork
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2018-11-28 20:47 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
URL   : https://patchwork.freedesktop.org/series/53132/
State : warning

== Summary ==

$ dim sparse origin/drm-tip
Sparse version: v0.5.2
Commit: drm/i915/psr: Get pipe id following atomic guidelines
-drivers/gpu/drm/i915/selftests/../i915_drv.h:3566:16: warning: expression using sizeof(void)
+drivers/gpu/drm/i915/selftests/../i915_drv.h:3567:16: warning: expression using sizeof(void)

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (4 preceding siblings ...)
  2018-11-28 20:47 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev2) Patchwork
@ 2018-11-28 21:02 ` Patchwork
  2018-11-28 22:13   ` Souza, Jose
  2018-11-28 21:25 ` [PATCH] drm/i915/psr: Get pipe id following atomic guidelines Ville Syrjälä
                   ` (7 subsequent siblings)
  13 siblings, 1 reply; 30+ messages in thread
From: Patchwork @ 2018-11-28 21:02 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
URL   : https://patchwork.freedesktop.org/series/53132/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_10934 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_10934, 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/53132/revisions/2/mbox/

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_10934:

### IGT changes ###

#### Possible regressions ####

  * igt@i915_selftest@live_sanitycheck:
    - fi-apl-guc:         PASS -> DMESG-WARN

  * {igt@runner@aborted}:
    - fi-apl-guc:         NOTRUN -> FAIL

  
Known issues
------------

  Here are the changes found in Patchwork_10934 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@i915_selftest@live_hangcheck:
    - fi-kbl-7560u:       PASS -> INCOMPLETE [fdo#108044]

  * igt@kms_pipe_crc_basic@read-crc-pipe-a:
    - fi-byt-clapper:     PASS -> FAIL [fdo#107362]

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
  [fdo#108044]: https://bugs.freedesktop.org/show_bug.cgi?id=108044


Participating hosts (50 -> 44)
------------------------------

  Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 


Build changes
-------------

    * Linux: CI_DRM_5216 -> Patchwork_10934

  CI_DRM_5216: 2236cef56d19627516af1f1b19b155d65fbc9834 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_10934: 2ebde49b2d0906d8106b020a2b0480bc5f552a01 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

2ebde49b2d09 drm/i915/psr: Get pipe id following atomic guidelines

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10934/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: [PATCH] drm/i915/psr: Get pipe id following atomic guidelines
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (5 preceding siblings ...)
  2018-11-28 21:02 ` ✗ Fi.CI.BAT: failure " Patchwork
@ 2018-11-28 21:25 ` Ville Syrjälä
  2018-11-29  6:17 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev3) Patchwork
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Ville Syrjälä @ 2018-11-28 21:25 UTC (permalink / raw
  To: José Roberto de Souza; +Cc: intel-gfx, Dhinakaran Pandiyan, Rodrigo Vivi

On Tue, Nov 27, 2018 at 11:28:38PM -0800, José Roberto de Souza wrote:
> As stated in struct drm_encoder, crtc field should only be used
> by non-atomic drivers.
> 
> So here caching the pipe id in intel_psr_enable() what is way more
> simple and efficient than at every call to
> intel_psr_flush()/invalidate() get the
> drm.mode_config.connection_mutex lock to safely be able to get the
> pipe id by reading drm_connector_state.crtc.
> 
> This should fix the null pointer dereference crash below as the
> previous way to get the pipe id was prone to race conditions.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105959
> Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
> ---
>  drivers/gpu/drm/i915/i915_drv.h  |  1 +
>  drivers/gpu/drm/i915/intel_psr.c | 19 ++++---------------
>  2 files changed, 5 insertions(+), 15 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index f763b30f98d9..9ea39b82836f 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -494,6 +494,7 @@ struct i915_psr {
>  	bool sink_support;
>  	bool prepared, enabled;
>  	struct intel_dp *dp;
> +	enum pipe pipe;
>  	bool active;
>  	struct work_struct work;
>  	unsigned busy_frontbuffer_bits;
> diff --git a/drivers/gpu/drm/i915/intel_psr.c b/drivers/gpu/drm/i915/intel_psr.c
> index 572e626eadff..11a520074f06 100644
> --- a/drivers/gpu/drm/i915/intel_psr.c
> +++ b/drivers/gpu/drm/i915/intel_psr.c
> @@ -705,6 +705,7 @@ void intel_psr_enable(struct intel_dp *intel_dp,
>  	dev_priv->psr.psr2_enabled = intel_psr2_enabled(dev_priv, crtc_state);
>  	dev_priv->psr.busy_frontbuffer_bits = 0;
>  	dev_priv->psr.prepared = true;
> +	dev_priv->psr.pipe = to_intel_crtc(crtc_state->base.crtc)->pipe;

A step in the right direction. And would be nice if someone could
eventually move the psr state to be a per-crtc thing rather than
a global thing.

>  
>  	if (psr_global_enabled(dev_priv->psr.debug))
>  		intel_psr_enable_locked(dev_priv, crtc_state);
> @@ -1012,9 +1013,6 @@ static void intel_psr_work(struct work_struct *work)
>  void intel_psr_invalidate(struct drm_i915_private *dev_priv,
>  			  unsigned frontbuffer_bits, enum fb_op_origin origin)
>  {
> -	struct drm_crtc *crtc;
> -	enum pipe pipe;
> -
>  	if (!CAN_PSR(dev_priv))
>  		return;
>  
> @@ -1027,10 +1025,7 @@ void intel_psr_invalidate(struct drm_i915_private *dev_priv,
>  		return;
>  	}
>  
> -	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
> -	pipe = to_intel_crtc(crtc)->pipe;
> -
> -	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
> +	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv->psr.pipe);
>  	dev_priv->psr.busy_frontbuffer_bits |= frontbuffer_bits;
>  
>  	if (frontbuffer_bits)
> @@ -1055,9 +1050,6 @@ void intel_psr_invalidate(struct drm_i915_private *dev_priv,
>  void intel_psr_flush(struct drm_i915_private *dev_priv,
>  		     unsigned frontbuffer_bits, enum fb_op_origin origin)
>  {
> -	struct drm_crtc *crtc;
> -	enum pipe pipe;
> -
>  	if (!CAN_PSR(dev_priv))
>  		return;
>  
> @@ -1070,10 +1062,7 @@ void intel_psr_flush(struct drm_i915_private *dev_priv,
>  		return;
>  	}
>  
> -	crtc = dp_to_dig_port(dev_priv->psr.dp)->base.base.crtc;
> -	pipe = to_intel_crtc(crtc)->pipe;
> -
> -	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe);
> +	frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(dev_priv->psr.pipe);
>  	dev_priv->psr.busy_frontbuffer_bits &= ~frontbuffer_bits;
>  
>  	/* By definition flush = invalidate + flush */
> @@ -1087,7 +1076,7 @@ void intel_psr_flush(struct drm_i915_private *dev_priv,
>  		 * but it makes more sense write to the current active
>  		 * pipe.
>  		 */
> -		I915_WRITE(CURSURFLIVE(pipe), 0);
> +		I915_WRITE(CURSURFLIVE(dev_priv->psr.pipe), 0);
>  	}
>  
>  	if (!dev_priv->psr.active && !dev_priv->psr.busy_frontbuffer_bits)
> -- 
> 2.19.2
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-28 21:02 ` ✗ Fi.CI.BAT: failure " Patchwork
@ 2018-11-28 22:13   ` Souza, Jose
  2018-11-29  6:18     ` Rodrigo Vivi
  0 siblings, 1 reply; 30+ messages in thread
From: Souza, Jose @ 2018-11-28 22:13 UTC (permalink / raw
  To: intel-gfx@lists.freedesktop.org, Vivi, Rodrigo


[-- Attachment #1.1: Type: text/plain, Size: 2902 bytes --]

On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
> == Series Details ==
> 
> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
> URL   : https://patchwork.freedesktop.org/series/53132/
> State : failure
> 
> == Summary ==
> 
> CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
> ====================================================
> 
> Summary
> -------
> 
>   **FAILURE**
> 
>   Serious unknown changes coming with Patchwork_10934 absolutely need
> to be
>   verified manually.
>   
>   If you think the reported changes have nothing to do with the
> changes
>   introduced in Patchwork_10934, 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/53132/revisions/2/mbox/
> 
> Possible new issues
> -------------------
> 
>   Here are the unknown changes that may have been introduced in
> Patchwork_10934:
> 
> ### IGT changes ###
> 
> #### Possible regressions ####
> 
>   * igt@i915_selftest@live_sanitycheck:
>     - fi-apl-guc:         PASS -> DMESG-WARN
> 
>   * {igt@runner@aborted}:
>     - fi-apl-guc:         NOTRUN -> FAIL

Both are pretty much non related with display, what do you think
Rodrigo? It is a merge blocker?

> 
>   
> Known issues
> ------------
> 
>   Here are the changes found in Patchwork_10934 that come from known
> issues:
> 
> ### IGT changes ###
> 
> #### Issues hit ####
> 
>   * igt@i915_selftest@live_hangcheck:
>     - fi-kbl-7560u:       PASS -> INCOMPLETE [fdo#108044]
> 
>   * igt@kms_pipe_crc_basic@read-crc-pipe-a:
>     - fi-byt-clapper:     PASS -> FAIL [fdo#107362]
> 
>   
>   {name}: This element is suppressed. This means it is ignored when
> computing
>           the status of the difference (SUCCESS, WARNING, or
> FAILURE).
> 
>   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
>   [fdo#108044]: https://bugs.freedesktop.org/show_bug.cgi?id=108044
> 
> 
> Participating hosts (50 -> 44)
> ------------------------------
> 
>   Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
> squawks fi-bsw-cyan fi-ctg-p8600 
> 
> 
> Build changes
> -------------
> 
>     * Linux: CI_DRM_5216 -> Patchwork_10934
> 
>   CI_DRM_5216: 2236cef56d19627516af1f1b19b155d65fbc9834 @
> git://anongit.freedesktop.org/gfx-ci/linux
>   IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @
> git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
>   Patchwork_10934: 2ebde49b2d0906d8106b020a2b0480bc5f552a01 @
> git://anongit.freedesktop.org/gfx-ci/linux
> 
> 
> == Linux commits ==
> 
> 2ebde49b2d09 drm/i915/psr: Get pipe id following atomic guidelines
> 
> == Logs ==
> 
> For more details see: 
> https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10934/

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev3)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (6 preceding siblings ...)
  2018-11-28 21:25 ` [PATCH] drm/i915/psr: Get pipe id following atomic guidelines Ville Syrjälä
@ 2018-11-29  6:17 ` Patchwork
  2018-11-29  6:33 ` ✗ Fi.CI.BAT: failure " Patchwork
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2018-11-29  6:17 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev3)
URL   : https://patchwork.freedesktop.org/series/53132/
State : warning

== Summary ==

$ dim sparse origin/drm-tip
Sparse version: v0.5.2
Commit: drm/i915/psr: Get pipe id following atomic guidelines
-drivers/gpu/drm/i915/selftests/../i915_drv.h:3566:16: warning: expression using sizeof(void)
+drivers/gpu/drm/i915/selftests/../i915_drv.h:3567:16: warning: expression using sizeof(void)

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-28 22:13   ` Souza, Jose
@ 2018-11-29  6:18     ` Rodrigo Vivi
  2018-11-29  7:52       ` Saarinen, Jani
  0 siblings, 1 reply; 30+ messages in thread
From: Rodrigo Vivi @ 2018-11-29  6:18 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx@lists.freedesktop.org

On Wed, Nov 28, 2018 at 02:13:12PM -0800, Souza, Jose wrote:
> On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
> > == Series Details ==
> > 
> > Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
> > URL   : https://patchwork.freedesktop.org/series/53132/
> > State : failure
> > 
> > == Summary ==
> > 
> > CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
> > ====================================================
> > 
> > Summary
> > -------
> > 
> >   **FAILURE**
> > 
> >   Serious unknown changes coming with Patchwork_10934 absolutely need
> > to be
> >   verified manually.
> >   
> >   If you think the reported changes have nothing to do with the
> > changes
> >   introduced in Patchwork_10934, 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/53132/revisions/2/mbox/
> > 
> > Possible new issues
> > -------------------
> > 
> >   Here are the unknown changes that may have been introduced in
> > Patchwork_10934:
> > 
> > ### IGT changes ###
> > 
> > #### Possible regressions ####
> > 
> >   * igt@i915_selftest@live_sanitycheck:
> >     - fi-apl-guc:         PASS -> DMESG-WARN
> > 
> >   * {igt@runner@aborted}:
> >     - fi-apl-guc:         NOTRUN -> FAIL
> 
> Both are pretty much non related with display, what do you think
> Rodrigo? It is a merge blocker?

I got addicted to see all green on CI. So I always prefer to
trigger a retest. So anyone following the link that is merged with
the patch doens't have to understand and analyze why it was merged
with BAT failure.

I just triggered the re-test for this patch.

Thanks,
Rodrigo.

> 
> > 
> >   
> > Known issues
> > ------------
> > 
> >   Here are the changes found in Patchwork_10934 that come from known
> > issues:
> > 
> > ### IGT changes ###
> > 
> > #### Issues hit ####
> > 
> >   * igt@i915_selftest@live_hangcheck:
> >     - fi-kbl-7560u:       PASS -> INCOMPLETE [fdo#108044]
> > 
> >   * igt@kms_pipe_crc_basic@read-crc-pipe-a:
> >     - fi-byt-clapper:     PASS -> FAIL [fdo#107362]
> > 
> >   
> >   {name}: This element is suppressed. This means it is ignored when
> > computing
> >           the status of the difference (SUCCESS, WARNING, or
> > FAILURE).
> > 
> >   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
> >   [fdo#108044]: https://bugs.freedesktop.org/show_bug.cgi?id=108044
> > 
> > 
> > Participating hosts (50 -> 44)
> > ------------------------------
> > 
> >   Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
> > squawks fi-bsw-cyan fi-ctg-p8600 
> > 
> > 
> > Build changes
> > -------------
> > 
> >     * Linux: CI_DRM_5216 -> Patchwork_10934
> > 
> >   CI_DRM_5216: 2236cef56d19627516af1f1b19b155d65fbc9834 @
> > git://anongit.freedesktop.org/gfx-ci/linux
> >   IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @
> > git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
> >   Patchwork_10934: 2ebde49b2d0906d8106b020a2b0480bc5f552a01 @
> > git://anongit.freedesktop.org/gfx-ci/linux
> > 
> > 
> > == Linux commits ==
> > 
> > 2ebde49b2d09 drm/i915/psr: Get pipe id following atomic guidelines
> > 
> > == Logs ==
> > 
> > For more details see: 
> > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10934/


_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev3)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (7 preceding siblings ...)
  2018-11-29  6:17 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev3) Patchwork
@ 2018-11-29  6:33 ` Patchwork
  2018-11-29 20:26   ` Souza, Jose
  2018-11-29 22:05 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev4) Patchwork
                   ` (4 subsequent siblings)
  13 siblings, 1 reply; 30+ messages in thread
From: Patchwork @ 2018-11-29  6:33 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev3)
URL   : https://patchwork.freedesktop.org/series/53132/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_5220 -> Patchwork_10945
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_10945 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_10945, 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/53132/revisions/3/mbox/

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_10945:

### IGT changes ###

#### Possible regressions ####

  * igt@gem_close_race@basic-threads:
    - fi-bsw-kefka:       PASS -> INCOMPLETE

  
Known issues
------------

  Here are the changes found in Patchwork_10945 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_frontbuffer_tracking@basic:
    - fi-hsw-peppy:       PASS -> DMESG-WARN [fdo#102614]

  
#### Possible fixes ####

  * igt@kms_frontbuffer_tracking@basic:
    - fi-byt-clapper:     FAIL [fdo#103167] -> PASS

  * igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
    - fi-byt-clapper:     FAIL [fdo#103191] / [fdo#107362] -> PASS

  
  [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
  [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362


Participating hosts (49 -> 44)
------------------------------

  Additional (1): fi-byt-j1900 
  Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 


Build changes
-------------

    * Linux: CI_DRM_5220 -> Patchwork_10945

  CI_DRM_5220: b3a448de6828d0bd0397318d15ec143a3dfb553a @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_10945: 6f9263b860081021f1915f2a547d3cf9b3e0bcd7 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

6f9263b86008 drm/i915/psr: Get pipe id following atomic guidelines

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10945/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-29  6:18     ` Rodrigo Vivi
@ 2018-11-29  7:52       ` Saarinen, Jani
  2018-11-29 17:36         ` Rodrigo Vivi
  0 siblings, 1 reply; 30+ messages in thread
From: Saarinen, Jani @ 2018-11-29  7:52 UTC (permalink / raw
  To: Vivi, Rodrigo, Souza, Jose, Peres, Martin, Hiler, Arkadiusz
  Cc: intel-gfx@lists.freedesktop.org

Hi, 

> -----Original Message-----
> From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of
> Rodrigo Vivi
> Sent: torstai 29. marraskuuta 2018 8.18
> To: Souza, Jose <jose.souza@intel.com>
> Cc: intel-gfx@lists.freedesktop.org
> Subject: Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id
> following atomic guidelines (rev2)
> 
> On Wed, Nov 28, 2018 at 02:13:12PM -0800, Souza, Jose wrote:
> > On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
> > > == Series Details ==
> > >
> > > Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
> > > URL   : https://patchwork.freedesktop.org/series/53132/
> > > State : failure
> > >
> > > == Summary ==
> > >
> > > CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
> > > ====================================================
> > >
> > > Summary
> > > -------
> > >
> > >   **FAILURE**
> > >
> > >   Serious unknown changes coming with Patchwork_10934 absolutely
> > > need to be
> > >   verified manually.
> > >
> > >   If you think the reported changes have nothing to do with the
> > > changes
> > >   introduced in Patchwork_10934, 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/53132/revisions/2/m
> > > box/
> > >
> > > Possible new issues
> > > -------------------
> > >
> > >   Here are the unknown changes that may have been introduced in
> > > Patchwork_10934:
> > >
> > > ### IGT changes ###
> > >
> > > #### Possible regressions ####
> > >
> > >   * igt@i915_selftest@live_sanitycheck:
> > >     - fi-apl-guc:         PASS -> DMESG-WARN
> > >
> > >   * {igt@runner@aborted}:
> > >     - fi-apl-guc:         NOTRUN -> FAIL
> >
> > Both are pretty much non related with display, what do you think
> > Rodrigo? It is a merge blocker?
> 
> I got addicted to see all green on CI. So I always prefer to trigger a retest. So
> anyone following the link that is merged with the patch doens't have to
> understand and analyze why it was merged with BAT failure.
> 
> I just triggered the re-test for this patch.
Martin, Arek, fyi, not preferred? 
> 
> Thanks,
> Rodrigo.
> 
> >
> > >
> > >
> > > Known issues
> > > ------------
> > >
> > >   Here are the changes found in Patchwork_10934 that come from known
> > > issues:
> > >
> > > ### IGT changes ###
> > >
> > > #### Issues hit ####
> > >
> > >   * igt@i915_selftest@live_hangcheck:
> > >     - fi-kbl-7560u:       PASS -> INCOMPLETE [fdo#108044]
> > >
> > >   * igt@kms_pipe_crc_basic@read-crc-pipe-a:
> > >     - fi-byt-clapper:     PASS -> FAIL [fdo#107362]
> > >
> > >
> > >   {name}: This element is suppressed. This means it is ignored when
> > > computing
> > >           the status of the difference (SUCCESS, WARNING, or
> > > FAILURE).
> > >
> > >   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
> > >   [fdo#108044]: https://bugs.freedesktop.org/show_bug.cgi?id=108044
> > >
> > >
> > > Participating hosts (50 -> 44)
> > > ------------------------------
> > >
> > >   Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
> > > squawks fi-bsw-cyan fi-ctg-p8600
> > >
> > >
> > > Build changes
> > > -------------
> > >
> > >     * Linux: CI_DRM_5216 -> Patchwork_10934
> > >
> > >   CI_DRM_5216: 2236cef56d19627516af1f1b19b155d65fbc9834 @
> > > git://anongit.freedesktop.org/gfx-ci/linux
> > >   IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @
> > > git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
> > >   Patchwork_10934: 2ebde49b2d0906d8106b020a2b0480bc5f552a01 @
> > > git://anongit.freedesktop.org/gfx-ci/linux
> > >
> > >
> > > == Linux commits ==
> > >
> > > 2ebde49b2d09 drm/i915/psr: Get pipe id following atomic guidelines
> > >
> > > == Logs ==
> > >
> > > For more details see:
> > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10934/
> 
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-29  7:52       ` Saarinen, Jani
@ 2018-11-29 17:36         ` Rodrigo Vivi
  2018-11-30 13:04           ` Martin Peres
  0 siblings, 1 reply; 30+ messages in thread
From: Rodrigo Vivi @ 2018-11-29 17:36 UTC (permalink / raw
  To: Saarinen, Jani; +Cc: intel-gfx@lists.freedesktop.org, Peres, Martin

On Wed, Nov 28, 2018 at 11:52:49PM -0800, Saarinen, Jani wrote:
> Hi, 
> 
> > -----Original Message-----
> > From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of
> > Rodrigo Vivi
> > Sent: torstai 29. marraskuuta 2018 8.18
> > To: Souza, Jose <jose.souza@intel.com>
> > Cc: intel-gfx@lists.freedesktop.org
> > Subject: Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id
> > following atomic guidelines (rev2)
> > 
> > On Wed, Nov 28, 2018 at 02:13:12PM -0800, Souza, Jose wrote:
> > > On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
> > > > == Series Details ==
> > > >
> > > > Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
> > > > URL   : https://patchwork.freedesktop.org/series/53132/
> > > > State : failure
> > > >
> > > > == Summary ==
> > > >
> > > > CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
> > > > ====================================================
> > > >
> > > > Summary
> > > > -------
> > > >
> > > >   **FAILURE**
> > > >
> > > >   Serious unknown changes coming with Patchwork_10934 absolutely
> > > > need to be
> > > >   verified manually.
> > > >
> > > >   If you think the reported changes have nothing to do with the
> > > > changes
> > > >   introduced in Patchwork_10934, 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/53132/revisions/2/m
> > > > box/
> > > >
> > > > Possible new issues
> > > > -------------------
> > > >
> > > >   Here are the unknown changes that may have been introduced in
> > > > Patchwork_10934:
> > > >
> > > > ### IGT changes ###
> > > >
> > > > #### Possible regressions ####
> > > >
> > > >   * igt@i915_selftest@live_sanitycheck:
> > > >     - fi-apl-guc:         PASS -> DMESG-WARN
> > > >
> > > >   * {igt@runner@aborted}:
> > > >     - fi-apl-guc:         NOTRUN -> FAIL
> > >
> > > Both are pretty much non related with display, what do you think
> > > Rodrigo? It is a merge blocker?
> > 
> > I got addicted to see all green on CI. So I always prefer to trigger a retest. So
> > anyone following the link that is merged with the patch doens't have to
> > understand and analyze why it was merged with BAT failure.
> > 
> > I just triggered the re-test for this patch.
> Martin, Arek, fyi, not preferred? 

Yes, I'd like to hear their opinion.

On this case a simple BAT would be enough because we don't have PSR monitors
on shrd ones.
However most of the times trigger the retest is unavoidable because we need
to make it to pass BAT and go for the full run.

Besides the green-report-link reason I exposed above.

Thanks,
Rodrigo.

> > 
> > Thanks,
> > Rodrigo.
> > 
> > >
> > > >
> > > >
> > > > Known issues
> > > > ------------
> > > >
> > > >   Here are the changes found in Patchwork_10934 that come from known
> > > > issues:
> > > >
> > > > ### IGT changes ###
> > > >
> > > > #### Issues hit ####
> > > >
> > > >   * igt@i915_selftest@live_hangcheck:
> > > >     - fi-kbl-7560u:       PASS -> INCOMPLETE [fdo#108044]
> > > >
> > > >   * igt@kms_pipe_crc_basic@read-crc-pipe-a:
> > > >     - fi-byt-clapper:     PASS -> FAIL [fdo#107362]
> > > >
> > > >
> > > >   {name}: This element is suppressed. This means it is ignored when
> > > > computing
> > > >           the status of the difference (SUCCESS, WARNING, or
> > > > FAILURE).
> > > >
> > > >   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
> > > >   [fdo#108044]: https://bugs.freedesktop.org/show_bug.cgi?id=108044
> > > >
> > > >
> > > > Participating hosts (50 -> 44)
> > > > ------------------------------
> > > >
> > > >   Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
> > > > squawks fi-bsw-cyan fi-ctg-p8600
> > > >
> > > >
> > > > Build changes
> > > > -------------
> > > >
> > > >     * Linux: CI_DRM_5216 -> Patchwork_10934
> > > >
> > > >   CI_DRM_5216: 2236cef56d19627516af1f1b19b155d65fbc9834 @
> > > > git://anongit.freedesktop.org/gfx-ci/linux
> > > >   IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @
> > > > git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
> > > >   Patchwork_10934: 2ebde49b2d0906d8106b020a2b0480bc5f552a01 @
> > > > git://anongit.freedesktop.org/gfx-ci/linux
> > > >
> > > >
> > > > == Linux commits ==
> > > >
> > > > 2ebde49b2d09 drm/i915/psr: Get pipe id following atomic guidelines
> > > >
> > > > == Logs ==
> > > >
> > > > For more details see:
> > > > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10934/
> > 
> > 
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev3)
  2018-11-29  6:33 ` ✗ Fi.CI.BAT: failure " Patchwork
@ 2018-11-29 20:26   ` Souza, Jose
  2018-11-29 21:23     ` Rodrigo Vivi
  0 siblings, 1 reply; 30+ messages in thread
From: Souza, Jose @ 2018-11-29 20:26 UTC (permalink / raw
  To: intel-gfx@lists.freedesktop.org


[-- Attachment #1.1: Type: text/plain, Size: 2987 bytes --]

On Thu, 2018-11-29 at 06:33 +0000, Patchwork wrote:
> == Series Details ==
> 
> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev3)
> URL   : https://patchwork.freedesktop.org/series/53132/
> State : failure
> 
> == Summary ==
> 
> CI Bug Log - changes from CI_DRM_5220 -> Patchwork_10945
> ====================================================
> 
> Summary
> -------
> 
>   **FAILURE**
> 
>   Serious unknown changes coming with Patchwork_10945 absolutely need
> to be
>   verified manually.
>   
>   If you think the reported changes have nothing to do with the
> changes
>   introduced in Patchwork_10945, 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/53132/revisions/3/mbox/
> 
> Possible new issues
> -------------------
> 
>   Here are the unknown changes that may have been introduced in
> Patchwork_10945:
> 
> ### IGT changes ###
> 
> #### Possible regressions ####
> 
>   * igt@gem_close_race@basic-threads:
>     - fi-bsw-kefka:       PASS -> INCOMPLETE

Unrelated to the patch and looks like the machine died as no other test
ran.

> 
>   
> Known issues
> ------------
> 
>   Here are the changes found in Patchwork_10945 that come from known
> issues:
> 
> ### IGT changes ###
> 
> #### Issues hit ####
> 
>   * igt@kms_frontbuffer_tracking@basic:
>     - fi-hsw-peppy:       PASS -> DMESG-WARN [fdo#102614]
> 
>   
> #### Possible fixes ####
> 
>   * igt@kms_frontbuffer_tracking@basic:
>     - fi-byt-clapper:     FAIL [fdo#103167] -> PASS
> 
>   * igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
>     - fi-byt-clapper:     FAIL [fdo#103191] / [fdo#107362] -> PASS
> 
>   
>   [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
>   [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
>   [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
>   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
> 
> 
> Participating hosts (49 -> 44)
> ------------------------------
> 
>   Additional (1): fi-byt-j1900 
>   Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
> squawks fi-bsw-cyan fi-ctg-p8600 
> 
> 
> Build changes
> -------------
> 
>     * Linux: CI_DRM_5220 -> Patchwork_10945
> 
>   CI_DRM_5220: b3a448de6828d0bd0397318d15ec143a3dfb553a @
> git://anongit.freedesktop.org/gfx-ci/linux
>   IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @
> git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
>   Patchwork_10945: 6f9263b860081021f1915f2a547d3cf9b3e0bcd7 @
> git://anongit.freedesktop.org/gfx-ci/linux
> 
> 
> == Linux commits ==
> 
> 6f9263b86008 drm/i915/psr: Get pipe id following atomic guidelines
> 
> == Logs ==
> 
> For more details see: 
> https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10945/

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev3)
  2018-11-29 20:26   ` Souza, Jose
@ 2018-11-29 21:23     ` Rodrigo Vivi
  0 siblings, 0 replies; 30+ messages in thread
From: Rodrigo Vivi @ 2018-11-29 21:23 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx@lists.freedesktop.org

On Thu, Nov 29, 2018 at 08:26:31PM +0000, Souza, Jose wrote:
> On Thu, 2018-11-29 at 06:33 +0000, Patchwork wrote:
> > == Series Details ==
> > 
> > Series: drm/i915/psr: Get pipe id following atomic guidelines (rev3)
> > URL   : https://patchwork.freedesktop.org/series/53132/
> > State : failure
> > 
> > == Summary ==
> > 
> > CI Bug Log - changes from CI_DRM_5220 -> Patchwork_10945
> > ====================================================
> > 
> > Summary
> > -------
> > 
> >   **FAILURE**
> > 
> >   Serious unknown changes coming with Patchwork_10945 absolutely need
> > to be
> >   verified manually.
> >   
> >   If you think the reported changes have nothing to do with the
> > changes
> >   introduced in Patchwork_10945, 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/53132/revisions/3/mbox/
> > 
> > Possible new issues
> > -------------------
> > 
> >   Here are the unknown changes that may have been introduced in
> > Patchwork_10945:
> > 
> > ### IGT changes ###
> > 
> > #### Possible regressions ####
> > 
> >   * igt@gem_close_race@basic-threads:
> >     - fi-bsw-kefka:       PASS -> INCOMPLETE
> 
> Unrelated to the patch and looks like the machine died as no other test
> ran.

I agree...
so, I'm ignoring this message:
"THIS SERIES REVISION IS A RERUN. Please don't overuse the "test again" button."

and just hit "test again"

> 
> > 
> >   
> > Known issues
> > ------------
> > 
> >   Here are the changes found in Patchwork_10945 that come from known
> > issues:
> > 
> > ### IGT changes ###
> > 
> > #### Issues hit ####
> > 
> >   * igt@kms_frontbuffer_tracking@basic:
> >     - fi-hsw-peppy:       PASS -> DMESG-WARN [fdo#102614]
> > 
> >   
> > #### Possible fixes ####
> > 
> >   * igt@kms_frontbuffer_tracking@basic:
> >     - fi-byt-clapper:     FAIL [fdo#103167] -> PASS
> > 
> >   * igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
> >     - fi-byt-clapper:     FAIL [fdo#103191] / [fdo#107362] -> PASS
> > 
> >   
> >   [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
> >   [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
> >   [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
> >   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
> > 
> > 
> > Participating hosts (49 -> 44)
> > ------------------------------
> > 
> >   Additional (1): fi-byt-j1900 
> >   Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
> > squawks fi-bsw-cyan fi-ctg-p8600 
> > 
> > 
> > Build changes
> > -------------
> > 
> >     * Linux: CI_DRM_5220 -> Patchwork_10945
> > 
> >   CI_DRM_5220: b3a448de6828d0bd0397318d15ec143a3dfb553a @
> > git://anongit.freedesktop.org/gfx-ci/linux
> >   IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @
> > git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
> >   Patchwork_10945: 6f9263b860081021f1915f2a547d3cf9b3e0bcd7 @
> > git://anongit.freedesktop.org/gfx-ci/linux
> > 
> > 
> > == Linux commits ==
> > 
> > 6f9263b86008 drm/i915/psr: Get pipe id following atomic guidelines
> > 
> > == Logs ==
> > 
> > For more details see: 
> > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10945/



> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev4)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (8 preceding siblings ...)
  2018-11-29  6:33 ` ✗ Fi.CI.BAT: failure " Patchwork
@ 2018-11-29 22:05 ` Patchwork
  2018-11-29 22:26 ` ✗ Fi.CI.BAT: failure " Patchwork
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2018-11-29 22:05 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev4)
URL   : https://patchwork.freedesktop.org/series/53132/
State : warning

== Summary ==

$ dim sparse origin/drm-tip
Sparse version: v0.5.2
Commit: drm/i915/psr: Get pipe id following atomic guidelines
-drivers/gpu/drm/i915/selftests/../i915_drv.h:3570:16: warning: expression using sizeof(void)
+drivers/gpu/drm/i915/selftests/../i915_drv.h:3571:16: warning: expression using sizeof(void)

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev4)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (9 preceding siblings ...)
  2018-11-29 22:05 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev4) Patchwork
@ 2018-11-29 22:26 ` Patchwork
  2018-11-29 23:39   ` Rodrigo Vivi
  2018-11-29 23:37 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev5) Patchwork
                   ` (2 subsequent siblings)
  13 siblings, 1 reply; 30+ messages in thread
From: Patchwork @ 2018-11-29 22:26 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev4)
URL   : https://patchwork.freedesktop.org/series/53132/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_5226 -> Patchwork_10966
====================================================

Summary
-------

  **FAILURE**

  Serious unknown changes coming with Patchwork_10966 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_10966, 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/53132/revisions/4/mbox/

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_10966:

### IGT changes ###

#### Possible regressions ####

  * igt@i915_selftest@live_guc:
    - fi-gdg-551:         PASS -> INCOMPLETE

  
Known issues
------------

  Here are the changes found in Patchwork_10966 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_suspend@basic-s4-devices:
    - fi-ivb-3520m:       PASS -> FAIL [fdo#108880]

  * igt@i915_selftest@live_coherency:
    - fi-gdg-551:         PASS -> DMESG-FAIL [fdo#107164]

  * igt@i915_selftest@live_execlists:
    - fi-apl-guc:         PASS -> INCOMPLETE [fdo#103927]

  
#### Possible fixes ####

  * igt@gem_ctx_create@basic-files:
    - fi-bsw-n3050:       FAIL [fdo#108656] -> PASS

  * igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence:
    - fi-byt-clapper:     FAIL [fdo#103191] / [fdo#107362] -> PASS

  
  [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
  [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
  [fdo#107164]: https://bugs.freedesktop.org/show_bug.cgi?id=107164
  [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
  [fdo#108656]: https://bugs.freedesktop.org/show_bug.cgi?id=108656
  [fdo#108880]: https://bugs.freedesktop.org/show_bug.cgi?id=108880


Participating hosts (49 -> 42)
------------------------------

  Missing    (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-pnv-d510 


Build changes
-------------

    * Linux: CI_DRM_5226 -> Patchwork_10966

  CI_DRM_5226: 70ad55640e884b31fb19a0e73fa68cb9c99a69f0 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4736: 285ebfb3b7adc56586031afa5150c4e5ad40c229 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_10966: 8471677d0c78ba54d7902c5959f5ca224ab59aba @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

8471677d0c78 drm/i915/psr: Get pipe id following atomic guidelines

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10966/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev5)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (10 preceding siblings ...)
  2018-11-29 22:26 ` ✗ Fi.CI.BAT: failure " Patchwork
@ 2018-11-29 23:37 ` Patchwork
  2018-11-29 23:52 ` ✓ Fi.CI.BAT: success " Patchwork
  2018-11-30 19:02 ` ✓ Fi.CI.IGT: " Patchwork
  13 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2018-11-29 23:37 UTC (permalink / raw
  To: José Roberto de Souza; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev5)
URL   : https://patchwork.freedesktop.org/series/53132/
State : warning

== Summary ==

$ dim sparse origin/drm-tip
Sparse version: v0.5.2
Commit: drm/i915/psr: Get pipe id following atomic guidelines
-drivers/gpu/drm/i915/selftests/../i915_drv.h:3570:16: warning: expression using sizeof(void)
+drivers/gpu/drm/i915/selftests/../i915_drv.h:3571:16: warning: expression using sizeof(void)

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev4)
  2018-11-29 22:26 ` ✗ Fi.CI.BAT: failure " Patchwork
@ 2018-11-29 23:39   ` Rodrigo Vivi
  0 siblings, 0 replies; 30+ messages in thread
From: Rodrigo Vivi @ 2018-11-29 23:39 UTC (permalink / raw
  To: intel-gfx, Martin Peres

On Thu, Nov 29, 2018 at 10:26:04PM -0000, Patchwork wrote:
> == Series Details ==
> 
> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev4)
> URL   : https://patchwork.freedesktop.org/series/53132/
> State : failure
> 
> == Summary ==
> 
> CI Bug Log - changes from CI_DRM_5226 -> Patchwork_10966
> ====================================================
> 
> Summary
> -------
> 
>   **FAILURE**
> 
>   Serious unknown changes coming with Patchwork_10966 absolutely need to be
>   verified manually.
>   
>   If you think the reported changes have nothing to do with the changes
>   introduced in Patchwork_10966, 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/53132/revisions/4/mbox/
> 
> Possible new issues
> -------------------
> 
>   Here are the unknown changes that may have been introduced in Patchwork_10966:
> 
> ### IGT changes ###
> 
> #### Possible regressions ####
> 
>   * igt@i915_selftest@live_guc:
>     - fi-gdg-551:         PASS -> INCOMPLETE

Martin, any recommendation here?

4th non-related failure in a row...

> 
>   
> Known issues
> ------------
> 
>   Here are the changes found in Patchwork_10966 that come from known issues:
> 
> ### IGT changes ###
> 
> #### Issues hit ####
> 
>   * igt@gem_exec_suspend@basic-s4-devices:
>     - fi-ivb-3520m:       PASS -> FAIL [fdo#108880]
> 
>   * igt@i915_selftest@live_coherency:
>     - fi-gdg-551:         PASS -> DMESG-FAIL [fdo#107164]
> 
>   * igt@i915_selftest@live_execlists:
>     - fi-apl-guc:         PASS -> INCOMPLETE [fdo#103927]
> 
>   
> #### Possible fixes ####
> 
>   * igt@gem_ctx_create@basic-files:
>     - fi-bsw-n3050:       FAIL [fdo#108656] -> PASS
> 
>   * igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence:
>     - fi-byt-clapper:     FAIL [fdo#103191] / [fdo#107362] -> PASS
> 
>   
>   [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
>   [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
>   [fdo#107164]: https://bugs.freedesktop.org/show_bug.cgi?id=107164
>   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
>   [fdo#108656]: https://bugs.freedesktop.org/show_bug.cgi?id=108656
>   [fdo#108880]: https://bugs.freedesktop.org/show_bug.cgi?id=108880
> 
> 
> Participating hosts (49 -> 42)
> ------------------------------
> 
>   Missing    (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-pnv-d510 
> 
> 
> Build changes
> -------------
> 
>     * Linux: CI_DRM_5226 -> Patchwork_10966
> 
>   CI_DRM_5226: 70ad55640e884b31fb19a0e73fa68cb9c99a69f0 @ git://anongit.freedesktop.org/gfx-ci/linux
>   IGT_4736: 285ebfb3b7adc56586031afa5150c4e5ad40c229 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
>   Patchwork_10966: 8471677d0c78ba54d7902c5959f5ca224ab59aba @ git://anongit.freedesktop.org/gfx-ci/linux
> 
> 
> == Linux commits ==
> 
> 8471677d0c78 drm/i915/psr: Get pipe id following atomic guidelines
> 
> == Logs ==
> 
> For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10966/
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915/psr: Get pipe id following atomic guidelines (rev5)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (11 preceding siblings ...)
  2018-11-29 23:37 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev5) Patchwork
@ 2018-11-29 23:52 ` Patchwork
  2018-11-30 18:05   ` Souza, Jose
  2018-11-30 19:02 ` ✓ Fi.CI.IGT: " Patchwork
  13 siblings, 1 reply; 30+ messages in thread
From: Patchwork @ 2018-11-29 23:52 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev5)
URL   : https://patchwork.freedesktop.org/series/53132/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_5227 -> Patchwork_10968
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/53132/revisions/5/mbox/

Known issues
------------

  Here are the changes found in Patchwork_10968 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@kms_frontbuffer_tracking@basic:
    - fi-hsw-peppy:       PASS -> DMESG-WARN [fdo#102614]

  
#### Possible fixes ####

  * igt@gem_ctx_create@basic-files:
    - fi-bsw-kefka:       FAIL [fdo#108656] -> PASS

  * igt@kms_frontbuffer_tracking@basic:
    - fi-byt-clapper:     FAIL [fdo#103167] -> PASS

  
#### Warnings ####

  * igt@i915_selftest@live_contexts:
    - {fi-icl-u3}:        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#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
  [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
  [fdo#108656]: https://bugs.freedesktop.org/show_bug.cgi?id=108656


Participating hosts (50 -> 44)
------------------------------

  Additional (1): fi-glk-j4005 
  Missing    (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus 


Build changes
-------------

    * Linux: CI_DRM_5227 -> Patchwork_10968

  CI_DRM_5227: 95052693524067ba66e1a6733355739fbcc8d5b6 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4736: 285ebfb3b7adc56586031afa5150c4e5ad40c229 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_10968: 364eb06faaf7a8c47634d63692a241dd94b37c84 @ git://anongit.freedesktop.org/gfx-ci/linux


== Linux commits ==

364eb06faaf7 drm/i915/psr: Get pipe id following atomic guidelines

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10968/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-29 17:36         ` Rodrigo Vivi
@ 2018-11-30 13:04           ` Martin Peres
  2018-11-30 17:26             ` Rodrigo Vivi
  0 siblings, 1 reply; 30+ messages in thread
From: Martin Peres @ 2018-11-30 13:04 UTC (permalink / raw
  To: Rodrigo Vivi, Saarinen, Jani; +Cc: intel-gfx@lists.freedesktop.org



On 29/11/2018 19:36, Rodrigo Vivi wrote:
> On Wed, Nov 28, 2018 at 11:52:49PM -0800, Saarinen, Jani wrote:
>> Hi, 
>>
>>> -----Original Message-----
>>> From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of
>>> Rodrigo Vivi
>>> Sent: torstai 29. marraskuuta 2018 8.18
>>> To: Souza, Jose <jose.souza@intel.com>
>>> Cc: intel-gfx@lists.freedesktop.org
>>> Subject: Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id
>>> following atomic guidelines (rev2)
>>>
>>> On Wed, Nov 28, 2018 at 02:13:12PM -0800, Souza, Jose wrote:
>>>> On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
>>>>> == Series Details ==
>>>>>
>>>>> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
>>>>> URL   : https://patchwork.freedesktop.org/series/53132/
>>>>> State : failure
>>>>>
>>>>> == Summary ==
>>>>>
>>>>> CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
>>>>> ====================================================
>>>>>
>>>>> Summary
>>>>> -------
>>>>>
>>>>>   **FAILURE**
>>>>>
>>>>>   Serious unknown changes coming with Patchwork_10934 absolutely
>>>>> need to be
>>>>>   verified manually.
>>>>>
>>>>>   If you think the reported changes have nothing to do with the
>>>>> changes
>>>>>   introduced in Patchwork_10934, 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/53132/revisions/2/m
>>>>> box/
>>>>>
>>>>> Possible new issues
>>>>> -------------------
>>>>>
>>>>>   Here are the unknown changes that may have been introduced in
>>>>> Patchwork_10934:
>>>>>
>>>>> ### IGT changes ###
>>>>>
>>>>> #### Possible regressions ####
>>>>>
>>>>>   * igt@i915_selftest@live_sanitycheck:
>>>>>     - fi-apl-guc:         PASS -> DMESG-WARN
>>>>>
>>>>>   * {igt@runner@aborted}:
>>>>>     - fi-apl-guc:         NOTRUN -> FAIL
>>>>
>>>> Both are pretty much non related with display, what do you think
>>>> Rodrigo? It is a merge blocker?
>>>
>>> I got addicted to see all green on CI. So I always prefer to trigger a retest. So
>>> anyone following the link that is merged with the patch doens't have to
>>> understand and analyze why it was merged with BAT failure.
>>>
>>> I just triggered the re-test for this patch.
>> Martin, Arek, fyi, not preferred? 
> 
> Yes, I'd like to hear their opinion.
> 
> On this case a simple BAT would be enough because we don't have PSR monitors
> on shrd ones.
> However most of the times trigger the retest is unavoidable because we need
> to make it to pass BAT and go for the full run.
> 
> Besides the green-report-link reason I exposed above.

I agree that we should only push stuff when CI is green.

However, using the re-try button is the wrong way as it requires more
machine time, and it may hide low-probably issues introduced by the patch.

Instead, we should file/edit bugs and then ask cibuglog to re-send the
report. I have been doing this ofr a couple of people already, but we
need to advertise this more!

Martin

> 
> Thanks,
> Rodrigo.
> 
>>>
>>> Thanks,
>>> Rodrigo.
>>>
>>>>
>>>>>
>>>>>
>>>>> Known issues
>>>>> ------------
>>>>>
>>>>>   Here are the changes found in Patchwork_10934 that come from known
>>>>> issues:
>>>>>
>>>>> ### IGT changes ###
>>>>>
>>>>> #### Issues hit ####
>>>>>
>>>>>   * igt@i915_selftest@live_hangcheck:
>>>>>     - fi-kbl-7560u:       PASS -> INCOMPLETE [fdo#108044]
>>>>>
>>>>>   * igt@kms_pipe_crc_basic@read-crc-pipe-a:
>>>>>     - fi-byt-clapper:     PASS -> FAIL [fdo#107362]
>>>>>
>>>>>
>>>>>   {name}: This element is suppressed. This means it is ignored when
>>>>> computing
>>>>>           the status of the difference (SUCCESS, WARNING, or
>>>>> FAILURE).
>>>>>
>>>>>   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
>>>>>   [fdo#108044]: https://bugs.freedesktop.org/show_bug.cgi?id=108044
>>>>>
>>>>>
>>>>> Participating hosts (50 -> 44)
>>>>> ------------------------------
>>>>>
>>>>>   Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
>>>>> squawks fi-bsw-cyan fi-ctg-p8600
>>>>>
>>>>>
>>>>> Build changes
>>>>> -------------
>>>>>
>>>>>     * Linux: CI_DRM_5216 -> Patchwork_10934
>>>>>
>>>>>   CI_DRM_5216: 2236cef56d19627516af1f1b19b155d65fbc9834 @
>>>>> git://anongit.freedesktop.org/gfx-ci/linux
>>>>>   IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @
>>>>> git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
>>>>>   Patchwork_10934: 2ebde49b2d0906d8106b020a2b0480bc5f552a01 @
>>>>> git://anongit.freedesktop.org/gfx-ci/linux
>>>>>
>>>>>
>>>>> == Linux commits ==
>>>>>
>>>>> 2ebde49b2d09 drm/i915/psr: Get pipe id following atomic guidelines
>>>>>
>>>>> == Logs ==
>>>>>
>>>>> For more details see:
>>>>> https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10934/
>>>
>>>
>>> _______________________________________________
>>> Intel-gfx mailing list
>>> Intel-gfx@lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-30 13:04           ` Martin Peres
@ 2018-11-30 17:26             ` Rodrigo Vivi
  2018-12-03 12:29               ` Peres, Martin
  0 siblings, 1 reply; 30+ messages in thread
From: Rodrigo Vivi @ 2018-11-30 17:26 UTC (permalink / raw
  To: Martin Peres; +Cc: intel-gfx@lists.freedesktop.org

On Fri, Nov 30, 2018 at 03:04:40PM +0200, Martin Peres wrote:
> 
> 
> On 29/11/2018 19:36, Rodrigo Vivi wrote:
> > On Wed, Nov 28, 2018 at 11:52:49PM -0800, Saarinen, Jani wrote:
> >> Hi, 
> >>
> >>> -----Original Message-----
> >>> From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of
> >>> Rodrigo Vivi
> >>> Sent: torstai 29. marraskuuta 2018 8.18
> >>> To: Souza, Jose <jose.souza@intel.com>
> >>> Cc: intel-gfx@lists.freedesktop.org
> >>> Subject: Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id
> >>> following atomic guidelines (rev2)
> >>>
> >>> On Wed, Nov 28, 2018 at 02:13:12PM -0800, Souza, Jose wrote:
> >>>> On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
> >>>>> == Series Details ==
> >>>>>
> >>>>> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
> >>>>> URL   : https://patchwork.freedesktop.org/series/53132/
> >>>>> State : failure
> >>>>>
> >>>>> == Summary ==
> >>>>>
> >>>>> CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
> >>>>> ====================================================
> >>>>>
> >>>>> Summary
> >>>>> -------
> >>>>>
> >>>>>   **FAILURE**
> >>>>>
> >>>>>   Serious unknown changes coming with Patchwork_10934 absolutely
> >>>>> need to be
> >>>>>   verified manually.
> >>>>>
> >>>>>   If you think the reported changes have nothing to do with the
> >>>>> changes
> >>>>>   introduced in Patchwork_10934, 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/53132/revisions/2/m
> >>>>> box/
> >>>>>
> >>>>> Possible new issues
> >>>>> -------------------
> >>>>>
> >>>>>   Here are the unknown changes that may have been introduced in
> >>>>> Patchwork_10934:
> >>>>>
> >>>>> ### IGT changes ###
> >>>>>
> >>>>> #### Possible regressions ####
> >>>>>
> >>>>>   * igt@i915_selftest@live_sanitycheck:
> >>>>>     - fi-apl-guc:         PASS -> DMESG-WARN
> >>>>>
> >>>>>   * {igt@runner@aborted}:
> >>>>>     - fi-apl-guc:         NOTRUN -> FAIL
> >>>>
> >>>> Both are pretty much non related with display, what do you think
> >>>> Rodrigo? It is a merge blocker?
> >>>
> >>> I got addicted to see all green on CI. So I always prefer to trigger a retest. So
> >>> anyone following the link that is merged with the patch doens't have to
> >>> understand and analyze why it was merged with BAT failure.
> >>>
> >>> I just triggered the re-test for this patch.
> >> Martin, Arek, fyi, not preferred? 
> > 
> > Yes, I'd like to hear their opinion.
> > 
> > On this case a simple BAT would be enough because we don't have PSR monitors
> > on shrd ones.
> > However most of the times trigger the retest is unavoidable because we need
> > to make it to pass BAT and go for the full run.
> > 
> > Besides the green-report-link reason I exposed above.
> 
> I agree that we should only push stuff when CI is green.
> 
> However, using the re-try button is the wrong way as it requires more
> machine time, and it may hide low-probably issues introduced by the patch.
> 
> Instead, we should file/edit bugs and then ask cibuglog to re-send the
> report. I have been doing this ofr a couple of people already, but we
> need to advertise this more!

This makes total sense for me. But I wonder if we don't need at least
one re-run.

My feeling is that if we tell people to file bugs and regenerate
reports they might just end up accidentally ignoring regressions that
was caused by their own patches.

But anyway is there a doc with step-by-step instructions anywhere that
we could learn from and start doing this without overwhelming a single
person?

Thanks a lot!

> 
> Martin
> 
> > 
> > Thanks,
> > Rodrigo.
> > 
> >>>
> >>> Thanks,
> >>> Rodrigo.
> >>>
> >>>>
> >>>>>
> >>>>>
> >>>>> Known issues
> >>>>> ------------
> >>>>>
> >>>>>   Here are the changes found in Patchwork_10934 that come from known
> >>>>> issues:
> >>>>>
> >>>>> ### IGT changes ###
> >>>>>
> >>>>> #### Issues hit ####
> >>>>>
> >>>>>   * igt@i915_selftest@live_hangcheck:
> >>>>>     - fi-kbl-7560u:       PASS -> INCOMPLETE [fdo#108044]
> >>>>>
> >>>>>   * igt@kms_pipe_crc_basic@read-crc-pipe-a:
> >>>>>     - fi-byt-clapper:     PASS -> FAIL [fdo#107362]
> >>>>>
> >>>>>
> >>>>>   {name}: This element is suppressed. This means it is ignored when
> >>>>> computing
> >>>>>           the status of the difference (SUCCESS, WARNING, or
> >>>>> FAILURE).
> >>>>>
> >>>>>   [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362
> >>>>>   [fdo#108044]: https://bugs.freedesktop.org/show_bug.cgi?id=108044
> >>>>>
> >>>>>
> >>>>> Participating hosts (50 -> 44)
> >>>>> ------------------------------
> >>>>>
> >>>>>   Missing    (6): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
> >>>>> squawks fi-bsw-cyan fi-ctg-p8600
> >>>>>
> >>>>>
> >>>>> Build changes
> >>>>> -------------
> >>>>>
> >>>>>     * Linux: CI_DRM_5216 -> Patchwork_10934
> >>>>>
> >>>>>   CI_DRM_5216: 2236cef56d19627516af1f1b19b155d65fbc9834 @
> >>>>> git://anongit.freedesktop.org/gfx-ci/linux
> >>>>>   IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @
> >>>>> git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
> >>>>>   Patchwork_10934: 2ebde49b2d0906d8106b020a2b0480bc5f552a01 @
> >>>>> git://anongit.freedesktop.org/gfx-ci/linux
> >>>>>
> >>>>>
> >>>>> == Linux commits ==
> >>>>>
> >>>>> 2ebde49b2d09 drm/i915/psr: Get pipe id following atomic guidelines
> >>>>>
> >>>>> == Logs ==
> >>>>>
> >>>>> For more details see:
> >>>>> https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10934/
> >>>
> >>>
> >>> _______________________________________________
> >>> Intel-gfx mailing list
> >>> Intel-gfx@lists.freedesktop.org
> >>> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✓ Fi.CI.BAT: success for drm/i915/psr: Get pipe id following atomic guidelines (rev5)
  2018-11-29 23:52 ` ✓ Fi.CI.BAT: success " Patchwork
@ 2018-11-30 18:05   ` Souza, Jose
  0 siblings, 0 replies; 30+ messages in thread
From: Souza, Jose @ 2018-11-30 18:05 UTC (permalink / raw
  To: intel-gfx@lists.freedesktop.org


[-- Attachment #1.1: Type: text/plain, Size: 2708 bytes --]

Pushed to drm-intel-next-queued, thanks for the review Rodrigo.

On Thu, 2018-11-29 at 23:52 +0000, Patchwork wrote:
> == Series Details ==
> 
> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev5)
> URL   : https://patchwork.freedesktop.org/series/53132/
> State : success
> 
> == Summary ==
> 
> CI Bug Log - changes from CI_DRM_5227 -> Patchwork_10968
> ====================================================
> 
> Summary
> -------
> 
>   **SUCCESS**
> 
>   No regressions found.
> 
>   External URL: 
> https://patchwork.freedesktop.org/api/1.0/series/53132/revisions/5/mbox/
> 
> Known issues
> ------------
> 
>   Here are the changes found in Patchwork_10968 that come from known
> issues:
> 
> ### IGT changes ###
> 
> #### Issues hit ####
> 
>   * igt@kms_frontbuffer_tracking@basic:
>     - fi-hsw-peppy:       PASS -> DMESG-WARN [fdo#102614]
> 
>   
> #### Possible fixes ####
> 
>   * igt@gem_ctx_create@basic-files:
>     - fi-bsw-kefka:       FAIL [fdo#108656] -> PASS
> 
>   * igt@kms_frontbuffer_tracking@basic:
>     - fi-byt-clapper:     FAIL [fdo#103167] -> PASS
> 
>   
> #### Warnings ####
> 
>   * igt@i915_selftest@live_contexts:
>     - {fi-icl-u3}:        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#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
>   [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
>   [fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
>   [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
>   [fdo#108656]: https://bugs.freedesktop.org/show_bug.cgi?id=108656
> 
> 
> Participating hosts (50 -> 44)
> ------------------------------
> 
>   Additional (1): fi-glk-j4005 
>   Missing    (7): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-
> squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus 
> 
> 
> Build changes
> -------------
> 
>     * Linux: CI_DRM_5227 -> Patchwork_10968
> 
>   CI_DRM_5227: 95052693524067ba66e1a6733355739fbcc8d5b6 @
> git://anongit.freedesktop.org/gfx-ci/linux
>   IGT_4736: 285ebfb3b7adc56586031afa5150c4e5ad40c229 @
> git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
>   Patchwork_10968: 364eb06faaf7a8c47634d63692a241dd94b37c84 @
> git://anongit.freedesktop.org/gfx-ci/linux
> 
> 
> == Linux commits ==
> 
> 364eb06faaf7 drm/i915/psr: Get pipe id following atomic guidelines
> 
> == Logs ==
> 
> For more details see: 
> https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10968/

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* ✓ Fi.CI.IGT: success for drm/i915/psr: Get pipe id following atomic guidelines (rev5)
  2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
                   ` (12 preceding siblings ...)
  2018-11-29 23:52 ` ✓ Fi.CI.BAT: success " Patchwork
@ 2018-11-30 19:02 ` Patchwork
  13 siblings, 0 replies; 30+ messages in thread
From: Patchwork @ 2018-11-30 19:02 UTC (permalink / raw
  To: Souza, Jose; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/psr: Get pipe id following atomic guidelines (rev5)
URL   : https://patchwork.freedesktop.org/series/53132/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_5227_full -> Patchwork_10968_full
====================================================

Summary
-------

  **WARNING**

  Minor unknown changes coming with Patchwork_10968_full need to be verified
  manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_10968_full, please notify your bug team to allow them
  to document this new failure mode, which will reduce false positives in CI.

  

Possible new issues
-------------------

  Here are the unknown changes that may have been introduced in Patchwork_10968_full:

### IGT changes ###

#### Warnings ####

  * igt@pm_rc6_residency@rc6-accuracy:
    - shard-snb:          PASS -> SKIP

  
Known issues
------------

  Here are the changes found in Patchwork_10968_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_exec_suspend@basic-s4-devices:
    - shard-snb:          PASS -> INCOMPLETE [fdo#105411]

  * igt@gem_ppgtt@blt-vs-render-ctxn:
    - shard-kbl:          PASS -> INCOMPLETE [fdo#103665] / [fdo#106023] / [fdo#106887]

  * igt@kms_ccs@pipe-b-crc-sprite-planes-basic:
    - shard-glk:          PASS -> FAIL [fdo#108145]

  * igt@kms_chv_cursor_fail@pipe-a-128x128-bottom-edge:
    - shard-skl:          PASS -> FAIL [fdo#104671]

  * igt@kms_cursor_crc@cursor-128x128-offscreen:
    - shard-skl:          PASS -> FAIL [fdo#103232] +1

  * igt@kms_cursor_crc@cursor-64x64-suspend:
    - {shard-iclb}:       NOTRUN -> FAIL [fdo#103232]

  * igt@kms_fbcon_fbt@fbc-suspend:
    - shard-skl:          PASS -> INCOMPLETE [fdo#104108] / [fdo#107773]

  * igt@kms_flip@2x-flip-vs-rmfb:
    - shard-glk:          PASS -> INCOMPLETE [fdo#103359] / [k.org#198133]

  * igt@kms_flip@dpms-vs-vblank-race-interruptible:
    - shard-apl:          PASS -> FAIL [fdo#103060]

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu:
    - shard-apl:          PASS -> FAIL [fdo#103167] +1

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-msflip-blt:
    - shard-skl:          PASS -> FAIL [fdo#105682]

  * igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-wc:
    - {shard-iclb}:       PASS -> DMESG-FAIL [fdo#107724]

  * igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-blt:
    - {shard-iclb}:       PASS -> FAIL [fdo#103167] +4

  * igt@kms_frontbuffer_tracking@psr-rgb101010-draw-blt:
    - shard-skl:          PASS -> FAIL [fdo#103167] +2

  * igt@kms_plane@plane-position-covered-pipe-c-planes:
    - {shard-iclb}:       PASS -> FAIL [fdo#103166]

  * igt@kms_plane_multiple@atomic-pipe-c-tiling-y:
    - shard-glk:          PASS -> FAIL [fdo#103166]

  * igt@kms_plane_multiple@atomic-pipe-c-tiling-yf:
    - shard-apl:          PASS -> FAIL [fdo#103166]

  * igt@kms_rmfb@rmfb-ioctl:
    - {shard-iclb}:       NOTRUN -> DMESG-WARN [fdo#107724] +1

  * igt@kms_rotation_crc@primary-rotation-180:
    - shard-skl:          PASS -> FAIL [fdo#103925] / [fdo#107815]

  * igt@pm_backlight@fade_with_suspend:
    - {shard-iclb}:       NOTRUN -> FAIL [fdo#107847]

  * igt@pm_rpm@dpms-lpsp:
    - shard-skl:          PASS -> INCOMPLETE [fdo#107807]

  * igt@pm_rpm@dpms-mode-unset-non-lpsp:
    - shard-skl:          SKIP -> INCOMPLETE [fdo#107807]

  * igt@pm_rpm@fences:
    - {shard-iclb}:       PASS -> DMESG-WARN [fdo#107724] +2

  * {igt@runner@aborted}:
    - {shard-iclb}:       NOTRUN -> FAIL [fdo#108315]

  
#### Possible fixes ####

  * igt@kms_chv_cursor_fail@pipe-a-128x128-top-edge:
    - {shard-iclb}:       DMESG-WARN [fdo#107724] / [fdo#108336] -> PASS +1

  * igt@kms_cursor_crc@cursor-128x128-random:
    - shard-apl:          FAIL [fdo#103232] -> PASS +1

  * igt@kms_draw_crc@draw-method-xrgb2101010-mmap-cpu-untiled:
    - shard-skl:          FAIL [fdo#103184] -> PASS

  * igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
    - shard-glk:          FAIL [fdo#105363] -> PASS +1

  * igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-mmap-cpu:
    - {shard-iclb}:       DMESG-FAIL [fdo#107724] -> PASS

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
    - shard-apl:          FAIL [fdo#103167] -> PASS +1

  * igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-pwrite:
    - {shard-iclb}:       FAIL [fdo#103167] -> PASS +5

  * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
    - {shard-iclb}:       INCOMPLETE [fdo#107713] -> PASS

  * igt@kms_plane@plane-position-covered-pipe-c-planes:
    - shard-apl:          FAIL [fdo#103166] -> PASS +3

  * igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
    - shard-skl:          FAIL [fdo#107815] -> PASS

  * igt@kms_plane_multiple@atomic-pipe-b-tiling-x:
    - {shard-iclb}:       FAIL [fdo#103166] -> PASS +1

  * igt@kms_plane_multiple@atomic-pipe-c-tiling-x:
    - shard-glk:          FAIL [fdo#103166] -> PASS +1

  * igt@kms_plane_scaling@pipe-b-scaler-with-pixel-format:
    - {shard-iclb}:       DMESG-WARN [fdo#107724] -> PASS +4

  
#### Warnings ####

  * igt@i915_selftest@live_contexts:
    - {shard-iclb}:       DMESG-FAIL [fdo#108569] -> INCOMPLETE [fdo#108315]

  * igt@kms_hdmi_inject@inject-audio:
    - {shard-iclb}:       DMESG-FAIL [fdo#107724] -> FAIL [fdo#102370]

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#102370]: https://bugs.freedesktop.org/show_bug.cgi?id=102370
  [fdo#103060]: https://bugs.freedesktop.org/show_bug.cgi?id=103060
  [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#103184]: https://bugs.freedesktop.org/show_bug.cgi?id=103184
  [fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
  [fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
  [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
  [fdo#103925]: https://bugs.freedesktop.org/show_bug.cgi?id=103925
  [fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
  [fdo#104671]: https://bugs.freedesktop.org/show_bug.cgi?id=104671
  [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
  [fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
  [fdo#105682]: https://bugs.freedesktop.org/show_bug.cgi?id=105682
  [fdo#106023]: https://bugs.freedesktop.org/show_bug.cgi?id=106023
  [fdo#106887]: https://bugs.freedesktop.org/show_bug.cgi?id=106887
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773
  [fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
  [fdo#107815]: https://bugs.freedesktop.org/show_bug.cgi?id=107815
  [fdo#107847]: https://bugs.freedesktop.org/show_bug.cgi?id=107847
  [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
  [fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315
  [fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336
  [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
  [k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133


Participating hosts (7 -> 7)
------------------------------

  No changes in participating hosts


Build changes
-------------

    * Linux: CI_DRM_5227 -> Patchwork_10968

  CI_DRM_5227: 95052693524067ba66e1a6733355739fbcc8d5b6 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_4736: 285ebfb3b7adc56586031afa5150c4e5ad40c229 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_10968: 364eb06faaf7a8c47634d63692a241dd94b37c84 @ git://anongit.freedesktop.org/gfx-ci/linux
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10968/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-11-30 17:26             ` Rodrigo Vivi
@ 2018-12-03 12:29               ` Peres, Martin
  2018-12-03 20:55                 ` Rodrigo Vivi
  0 siblings, 1 reply; 30+ messages in thread
From: Peres, Martin @ 2018-12-03 12:29 UTC (permalink / raw
  To: Vivi, Rodrigo; +Cc: intel-gfx@lists.freedesktop.org

On 30/11/2018 19:27, Vivi, Rodrigo wrote:
> On Fri, Nov 30, 2018 at 03:04:40PM +0200, Martin Peres wrote:
>>
>>
>> On 29/11/2018 19:36, Rodrigo Vivi wrote:
>>> On Wed, Nov 28, 2018 at 11:52:49PM -0800, Saarinen, Jani wrote:
>>>> Hi, 
>>>>
>>>>> -----Original Message-----
>>>>> From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of
>>>>> Rodrigo Vivi
>>>>> Sent: torstai 29. marraskuuta 2018 8.18
>>>>> To: Souza, Jose <jose.souza@intel.com>
>>>>> Cc: intel-gfx@lists.freedesktop.org
>>>>> Subject: Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id
>>>>> following atomic guidelines (rev2)
>>>>>
>>>>> On Wed, Nov 28, 2018 at 02:13:12PM -0800, Souza, Jose wrote:
>>>>>> On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
>>>>>>> == Series Details ==
>>>>>>>
>>>>>>> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
>>>>>>> URL   : https://patchwork.freedesktop.org/series/53132/
>>>>>>> State : failure
>>>>>>>
>>>>>>> == Summary ==
>>>>>>>
>>>>>>> CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
>>>>>>> ====================================================
>>>>>>>
>>>>>>> Summary
>>>>>>> -------
>>>>>>>
>>>>>>>   **FAILURE**
>>>>>>>
>>>>>>>   Serious unknown changes coming with Patchwork_10934 absolutely
>>>>>>> need to be
>>>>>>>   verified manually.
>>>>>>>
>>>>>>>   If you think the reported changes have nothing to do with the
>>>>>>> changes
>>>>>>>   introduced in Patchwork_10934, 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/53132/revisions/2/m
>>>>>>> box/
>>>>>>>
>>>>>>> Possible new issues
>>>>>>> -------------------
>>>>>>>
>>>>>>>   Here are the unknown changes that may have been introduced in
>>>>>>> Patchwork_10934:
>>>>>>>
>>>>>>> ### IGT changes ###
>>>>>>>
>>>>>>> #### Possible regressions ####
>>>>>>>
>>>>>>>   * igt@i915_selftest@live_sanitycheck:
>>>>>>>     - fi-apl-guc:         PASS -> DMESG-WARN
>>>>>>>
>>>>>>>   * {igt@runner@aborted}:
>>>>>>>     - fi-apl-guc:         NOTRUN -> FAIL
>>>>>>
>>>>>> Both are pretty much non related with display, what do you think
>>>>>> Rodrigo? It is a merge blocker?
>>>>>
>>>>> I got addicted to see all green on CI. So I always prefer to trigger a retest. So
>>>>> anyone following the link that is merged with the patch doens't have to
>>>>> understand and analyze why it was merged with BAT failure.
>>>>>
>>>>> I just triggered the re-test for this patch.
>>>> Martin, Arek, fyi, not preferred? 
>>>
>>> Yes, I'd like to hear their opinion.
>>>
>>> On this case a simple BAT would be enough because we don't have PSR monitors
>>> on shrd ones.
>>> However most of the times trigger the retest is unavoidable because we need
>>> to make it to pass BAT and go for the full run.
>>>
>>> Besides the green-report-link reason I exposed above.
>>
>> I agree that we should only push stuff when CI is green.
>>
>> However, using the re-try button is the wrong way as it requires more
>> machine time, and it may hide low-probably issues introduced by the patch.
>>
>> Instead, we should file/edit bugs and then ask cibuglog to re-send the
>> report. I have been doing this ofr a couple of people already, but we
>> need to advertise this more!
> 
> This makes total sense for me. But I wonder if we don't need at least
> one re-run.
> 
> My feeling is that if we tell people to file bugs and regenerate
> reports they might just end up accidentally ignoring regressions that
> was caused by their own patches.

Yeah, I get your point... but machine time is also problematic...

In most cases, it is just that I need to extend a filter, which does not
warrant a new run.

If something is new or odd, we could use a re-run ;)

In any case, if I file the bug and we land a regression, it will not
affect CI. So that's just an additional workload for bug tracking and
fixing. But we'll have a documented trail leading back to the developer,
so we can assign him more easily!

> 
> But anyway is there a doc with step-by-step instructions anywhere that
> we could learn from and start doing this without overwhelming a single
> person?

Not yet. I need to send this information... and you are absolutely right
on the bottleneck here: I do not scale ... and I do not have time to
make my work less labor-intensive because I don't have time to work on
it. Nice isn't it?

In any case, the current process is just to forward me the result email,
then I will look at the filing and re-report.

Martin

> 
> Thanks a lot!


---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-12-03 12:29               ` Peres, Martin
@ 2018-12-03 20:55                 ` Rodrigo Vivi
  2018-12-04 11:25                   ` Peres, Martin
  0 siblings, 1 reply; 30+ messages in thread
From: Rodrigo Vivi @ 2018-12-03 20:55 UTC (permalink / raw
  To: Peres, Martin; +Cc: intel-gfx@lists.freedesktop.org

On Mon, Dec 03, 2018 at 04:29:17AM -0800, Peres, Martin wrote:
> On 30/11/2018 19:27, Vivi, Rodrigo wrote:
> > On Fri, Nov 30, 2018 at 03:04:40PM +0200, Martin Peres wrote:
> >>
> >>
> >> On 29/11/2018 19:36, Rodrigo Vivi wrote:
> >>> On Wed, Nov 28, 2018 at 11:52:49PM -0800, Saarinen, Jani wrote:
> >>>> Hi, 
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of
> >>>>> Rodrigo Vivi
> >>>>> Sent: torstai 29. marraskuuta 2018 8.18
> >>>>> To: Souza, Jose <jose.souza@intel.com>
> >>>>> Cc: intel-gfx@lists.freedesktop.org
> >>>>> Subject: Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id
> >>>>> following atomic guidelines (rev2)
> >>>>>
> >>>>> On Wed, Nov 28, 2018 at 02:13:12PM -0800, Souza, Jose wrote:
> >>>>>> On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
> >>>>>>> == Series Details ==
> >>>>>>>
> >>>>>>> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
> >>>>>>> URL   : https://patchwork.freedesktop.org/series/53132/
> >>>>>>> State : failure
> >>>>>>>
> >>>>>>> == Summary ==
> >>>>>>>
> >>>>>>> CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
> >>>>>>> ====================================================
> >>>>>>>
> >>>>>>> Summary
> >>>>>>> -------
> >>>>>>>
> >>>>>>>   **FAILURE**
> >>>>>>>
> >>>>>>>   Serious unknown changes coming with Patchwork_10934 absolutely
> >>>>>>> need to be
> >>>>>>>   verified manually.
> >>>>>>>
> >>>>>>>   If you think the reported changes have nothing to do with the
> >>>>>>> changes
> >>>>>>>   introduced in Patchwork_10934, 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/53132/revisions/2/m
> >>>>>>> box/
> >>>>>>>
> >>>>>>> Possible new issues
> >>>>>>> -------------------
> >>>>>>>
> >>>>>>>   Here are the unknown changes that may have been introduced in
> >>>>>>> Patchwork_10934:
> >>>>>>>
> >>>>>>> ### IGT changes ###
> >>>>>>>
> >>>>>>> #### Possible regressions ####
> >>>>>>>
> >>>>>>>   * igt@i915_selftest@live_sanitycheck:
> >>>>>>>     - fi-apl-guc:         PASS -> DMESG-WARN
> >>>>>>>
> >>>>>>>   * {igt@runner@aborted}:
> >>>>>>>     - fi-apl-guc:         NOTRUN -> FAIL
> >>>>>>
> >>>>>> Both are pretty much non related with display, what do you think
> >>>>>> Rodrigo? It is a merge blocker?
> >>>>>
> >>>>> I got addicted to see all green on CI. So I always prefer to trigger a retest. So
> >>>>> anyone following the link that is merged with the patch doens't have to
> >>>>> understand and analyze why it was merged with BAT failure.
> >>>>>
> >>>>> I just triggered the re-test for this patch.
> >>>> Martin, Arek, fyi, not preferred? 
> >>>
> >>> Yes, I'd like to hear their opinion.
> >>>
> >>> On this case a simple BAT would be enough because we don't have PSR monitors
> >>> on shrd ones.
> >>> However most of the times trigger the retest is unavoidable because we need
> >>> to make it to pass BAT and go for the full run.
> >>>
> >>> Besides the green-report-link reason I exposed above.
> >>
> >> I agree that we should only push stuff when CI is green.
> >>
> >> However, using the re-try button is the wrong way as it requires more
> >> machine time, and it may hide low-probably issues introduced by the patch.
> >>
> >> Instead, we should file/edit bugs and then ask cibuglog to re-send the
> >> report. I have been doing this ofr a couple of people already, but we
> >> need to advertise this more!
> > 
> > This makes total sense for me. But I wonder if we don't need at least
> > one re-run.
> > 
> > My feeling is that if we tell people to file bugs and regenerate
> > reports they might just end up accidentally ignoring regressions that
> > was caused by their own patches.
> 
> Yeah, I get your point... but machine time is also problematic...
> 
> In most cases, it is just that I need to extend a filter, which does not
> warrant a new run.
> 
> If something is new or odd, we could use a re-run ;)
> 
> In any case, if I file the bug and we land a regression, it will not
> affect CI. So that's just an additional workload for bug tracking and
> fixing. But we'll have a documented trail leading back to the developer,
> so we can assign him more easily!

I was wondering here if instead a instruction we could create
a button on patchwork besides "test again"... "report cibuglog".
with instructions right below to only hit "test again" if it is really
odd?

possible? or the report cibuglog is really more manual?

> 
> > 
> > But anyway is there a doc with step-by-step instructions anywhere that
> > we could learn from and start doing this without overwhelming a single
> > person?
> 
> Not yet. I need to send this information... and you are absolutely right
> on the bottleneck here: I do not scale ... and I do not have time to
> make my work less labor-intensive because I don't have time to work on
> it. Nice isn't it?
> 
> In any case, the current process is just to forward me the result email,
> then I will look at the filing and re-report.
> 
> Martin
> 
> > 
> > Thanks a lot!
> 
> 
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id following atomic guidelines (rev2)
  2018-12-03 20:55                 ` Rodrigo Vivi
@ 2018-12-04 11:25                   ` Peres, Martin
  0 siblings, 0 replies; 30+ messages in thread
From: Peres, Martin @ 2018-12-04 11:25 UTC (permalink / raw
  To: Vivi, Rodrigo; +Cc: intel-gfx@lists.freedesktop.org

On 03/12/2018 22:55, Vivi, Rodrigo wrote:
> On Mon, Dec 03, 2018 at 04:29:17AM -0800, Peres, Martin wrote:
>> On 30/11/2018 19:27, Vivi, Rodrigo wrote:
>>> On Fri, Nov 30, 2018 at 03:04:40PM +0200, Martin Peres wrote:
>>>>
>>>>
>>>> On 29/11/2018 19:36, Rodrigo Vivi wrote:
>>>>> On Wed, Nov 28, 2018 at 11:52:49PM -0800, Saarinen, Jani wrote:
>>>>>> Hi, 
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Intel-gfx [mailto:intel-gfx-bounces@lists.freedesktop.org] On Behalf Of
>>>>>>> Rodrigo Vivi
>>>>>>> Sent: torstai 29. marraskuuta 2018 8.18
>>>>>>> To: Souza, Jose <jose.souza@intel.com>
>>>>>>> Cc: intel-gfx@lists.freedesktop.org
>>>>>>> Subject: Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/psr: Get pipe id
>>>>>>> following atomic guidelines (rev2)
>>>>>>>
>>>>>>> On Wed, Nov 28, 2018 at 02:13:12PM -0800, Souza, Jose wrote:
>>>>>>>> On Wed, 2018-11-28 at 21:02 +0000, Patchwork wrote:
>>>>>>>>> == Series Details ==
>>>>>>>>>
>>>>>>>>> Series: drm/i915/psr: Get pipe id following atomic guidelines (rev2)
>>>>>>>>> URL   : https://patchwork.freedesktop.org/series/53132/
>>>>>>>>> State : failure
>>>>>>>>>
>>>>>>>>> == Summary ==
>>>>>>>>>
>>>>>>>>> CI Bug Log - changes from CI_DRM_5216 -> Patchwork_10934
>>>>>>>>> ====================================================
>>>>>>>>>
>>>>>>>>> Summary
>>>>>>>>> -------
>>>>>>>>>
>>>>>>>>>   **FAILURE**
>>>>>>>>>
>>>>>>>>>   Serious unknown changes coming with Patchwork_10934 absolutely
>>>>>>>>> need to be
>>>>>>>>>   verified manually.
>>>>>>>>>
>>>>>>>>>   If you think the reported changes have nothing to do with the
>>>>>>>>> changes
>>>>>>>>>   introduced in Patchwork_10934, 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/53132/revisions/2/m
>>>>>>>>> box/
>>>>>>>>>
>>>>>>>>> Possible new issues
>>>>>>>>> -------------------
>>>>>>>>>
>>>>>>>>>   Here are the unknown changes that may have been introduced in
>>>>>>>>> Patchwork_10934:
>>>>>>>>>
>>>>>>>>> ### IGT changes ###
>>>>>>>>>
>>>>>>>>> #### Possible regressions ####
>>>>>>>>>
>>>>>>>>>   * igt@i915_selftest@live_sanitycheck:
>>>>>>>>>     - fi-apl-guc:         PASS -> DMESG-WARN
>>>>>>>>>
>>>>>>>>>   * {igt@runner@aborted}:
>>>>>>>>>     - fi-apl-guc:         NOTRUN -> FAIL
>>>>>>>>
>>>>>>>> Both are pretty much non related with display, what do you think
>>>>>>>> Rodrigo? It is a merge blocker?
>>>>>>>
>>>>>>> I got addicted to see all green on CI. So I always prefer to trigger a retest. So
>>>>>>> anyone following the link that is merged with the patch doens't have to
>>>>>>> understand and analyze why it was merged with BAT failure.
>>>>>>>
>>>>>>> I just triggered the re-test for this patch.
>>>>>> Martin, Arek, fyi, not preferred? 
>>>>>
>>>>> Yes, I'd like to hear their opinion.
>>>>>
>>>>> On this case a simple BAT would be enough because we don't have PSR monitors
>>>>> on shrd ones.
>>>>> However most of the times trigger the retest is unavoidable because we need
>>>>> to make it to pass BAT and go for the full run.
>>>>>
>>>>> Besides the green-report-link reason I exposed above.
>>>>
>>>> I agree that we should only push stuff when CI is green.
>>>>
>>>> However, using the re-try button is the wrong way as it requires more
>>>> machine time, and it may hide low-probably issues introduced by the patch.
>>>>
>>>> Instead, we should file/edit bugs and then ask cibuglog to re-send the
>>>> report. I have been doing this ofr a couple of people already, but we
>>>> need to advertise this more!
>>>
>>> This makes total sense for me. But I wonder if we don't need at least
>>> one re-run.
>>>
>>> My feeling is that if we tell people to file bugs and regenerate
>>> reports they might just end up accidentally ignoring regressions that
>>> was caused by their own patches.
>>
>> Yeah, I get your point... but machine time is also problematic...
>>
>> In most cases, it is just that I need to extend a filter, which does not
>> warrant a new run.
>>
>> If something is new or odd, we could use a re-run ;)
>>
>> In any case, if I file the bug and we land a regression, it will not
>> affect CI. So that's just an additional workload for bug tracking and
>> fixing. But we'll have a documented trail leading back to the developer,
>> so we can assign him more easily!
> 
> I was wondering here if instead a instruction we could create
> a button on patchwork besides "test again"... "report cibuglog".
> with instructions right below to only hit "test again" if it is really
> odd?
> 
> possible? or the report cibuglog is really more manual?

Bug filing is manual. Once filed, the matching is automatic.

I have plans to automate bug filings for stuff like WARNINGs/OOPSes/...
where we have a backtrace, and some failed assertions, but we'll still
need to have a human come and fix it.

The goal here is to automate most of the filing BKCs so as we can start
distributing this filing responsibility to more sites (with a goal of
having one or two per site).

> 
>>
>>>
>>> But anyway is there a doc with step-by-step instructions anywhere that
>>> we could learn from and start doing this without overwhelming a single
>>> person?
>>
>> Not yet. I need to send this information... and you are absolutely right
>> on the bottleneck here: I do not scale ... and I do not have time to
>> make my work less labor-intensive because I don't have time to work on
>> it. Nice isn't it?
>>
>> In any case, the current process is just to forward me the result email,
>> then I will look at the filing and re-report.
>>
>> Martin
>>
>>>
>>> Thanks a lot!
>>
>>
> 

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2018-12-04 11:25 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-28  7:28 [PATCH] drm/i915/psr: Get pipe id following atomic guidelines José Roberto de Souza
2018-11-28  7:55 ` ✗ Fi.CI.SPARSE: warning for " Patchwork
2018-11-28  8:23 ` ✓ Fi.CI.BAT: success " Patchwork
2018-11-28 15:14 ` ✗ Fi.CI.IGT: failure " Patchwork
2018-11-28 16:55 ` [PATCH] " Rodrigo Vivi
2018-11-28 18:21   ` Souza, Jose
2018-11-28 18:44     ` Rodrigo Vivi
2018-11-28 20:47 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev2) Patchwork
2018-11-28 21:02 ` ✗ Fi.CI.BAT: failure " Patchwork
2018-11-28 22:13   ` Souza, Jose
2018-11-29  6:18     ` Rodrigo Vivi
2018-11-29  7:52       ` Saarinen, Jani
2018-11-29 17:36         ` Rodrigo Vivi
2018-11-30 13:04           ` Martin Peres
2018-11-30 17:26             ` Rodrigo Vivi
2018-12-03 12:29               ` Peres, Martin
2018-12-03 20:55                 ` Rodrigo Vivi
2018-12-04 11:25                   ` Peres, Martin
2018-11-28 21:25 ` [PATCH] drm/i915/psr: Get pipe id following atomic guidelines Ville Syrjälä
2018-11-29  6:17 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev3) Patchwork
2018-11-29  6:33 ` ✗ Fi.CI.BAT: failure " Patchwork
2018-11-29 20:26   ` Souza, Jose
2018-11-29 21:23     ` Rodrigo Vivi
2018-11-29 22:05 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev4) Patchwork
2018-11-29 22:26 ` ✗ Fi.CI.BAT: failure " Patchwork
2018-11-29 23:39   ` Rodrigo Vivi
2018-11-29 23:37 ` ✗ Fi.CI.SPARSE: warning for drm/i915/psr: Get pipe id following atomic guidelines (rev5) Patchwork
2018-11-29 23:52 ` ✓ Fi.CI.BAT: success " Patchwork
2018-11-30 18:05   ` Souza, Jose
2018-11-30 19:02 ` ✓ Fi.CI.IGT: " Patchwork

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.