Skip to contentSkip to conversation

drm/i915/display: Force the state compute phase once to enable PSR

PATCH Superseded José Roberto de Souza 3 participants 7 messages Nov 25, 2019 – Dec 6, 2019

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/display: Force the state compute phase once to enable PSR

Recent improvements in the state tracking in i915 caused PSR to not be enabled when reusing firmware/BIOS modeset, this is due to all initial commits returning ealier in intel_atomic_check() as needs_modeset() is always false.

To fix that here forcing the state compute phase in CRTC that is driving the eDP that supports PSR once. Enable or disable PSR do not require a fullmodeset, so user will still experience glitch free boot process plus the power savings that PSR brings.

It was tried to set mode_changed in intel_initial_commit() but at this point the connectors are not registered causing a crash when computing encoder state.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112253

---
 drivers/gpu/drm/i915/display/intel_atomic.c |  6 ++++
 drivers/gpu/drm/i915/display/intel_psr.c    | 32 +++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_psr.h    |  5 ++++
 drivers/gpu/drm/i915/i915_drv.h             |  1 +
 4 files changed, 44 insertions(+)
drivers/gpu/drm/i915/display/intel_atomic.c +6 -0
index fd0026fc3618..6b57488d9238 100644
@@ -37,6 +37,7 @@
 #include "intel_atomic.h"
 #include "intel_display_types.h"
 #include "intel_hdcp.h"
+#include "intel_psr.h"
 #include "intel_sprite.h"
 
 /**
@@ -127,6 +128,7 @@ int intel_digital_connector_atomic_check(struct drm_connector *conn,
 	struct intel_digital_connector_state *old_conn_state =
 		to_intel_digital_connector_state(old_state);
 	struct drm_crtc_state *crtc_state;
+	int ret;
 
 	intel_hdcp_atomic_check(conn, old_state, new_state);
 
@@ -149,6 +151,10 @@ int intel_digital_connector_atomic_check(struct drm_connector *conn,
 			old_conn_state->base.hdr_output_metadata))
 		crtc_state->mode_changed = true;
 
+	ret = intel_psr_atomic_check(conn, state);
+	if (ret)
+		return ret;
+
 	return 0;
 }
 
drivers/gpu/drm/i915/display/intel_psr.c +32 -0
index c1d133362b76..a1acae8d72f7 100644
@@ -1444,3 +1444,35 @@ bool intel_psr_enabled(struct intel_dp *intel_dp)
 
 	return ret;
 }
+
+int
+intel_psr_atomic_check(struct drm_connector *conn,
+		       struct drm_atomic_state *state)
+{
+	struct drm_i915_private *dev_priv = to_i915(conn->dev);
+	struct drm_connector_state *conn_state;
+	struct intel_digital_port *dig_port;
+	struct intel_connector *intel_conn;
+	struct drm_crtc_state *crtc_state;
+
+	if (!CAN_PSR(dev_priv))
+		return 0;
+
+	conn_state = drm_atomic_get_new_connector_state(state, conn);
+	if (!conn_state->crtc)
+		return 0;
+
+	intel_conn = to_intel_connector(conn);
+	dig_port = enc_to_dig_port(&intel_conn->encoder->base);
+	if (dev_priv->psr.dp != &dig_port->dp)
+		return 0;
+
+	if (dev_priv->psr.initially_probed)
+		return 0;
+
+	crtc_state = drm_atomic_get_new_crtc_state(state, conn_state->crtc);
+	crtc_state->mode_changed = true;
+	dev_priv->psr.initially_probed = true;
+
+	return 0;
+}
drivers/gpu/drm/i915/display/intel_psr.h +5 -0
index 46e4de8b8cd5..b3535e5752a6 100644
@@ -6,6 +6,9 @@
 #ifndef __INTEL_PSR_H__
 #define __INTEL_PSR_H__
 
+#include <drm/drm_atomic.h>
+#include <drm/drm_connector.h>
+
 #include "intel_frontbuffer.h"
 
 struct drm_i915_private;
@@ -35,5 +38,7 @@ void intel_psr_short_pulse(struct intel_dp *intel_dp);
 int intel_psr_wait_for_idle(const struct intel_crtc_state *new_crtc_state,
 			    u32 *out_value);
 bool intel_psr_enabled(struct intel_dp *intel_dp);
+int intel_psr_atomic_check(struct drm_connector *conn,
+			   struct drm_atomic_state *state);
 
 #endif /* __INTEL_PSR_H__ */
drivers/gpu/drm/i915/i915_drv.h +1 -0
index fdae5a919bc8..d834924ba7c3 100644
@@ -508,6 +508,7 @@ struct i915_psr {
 	bool dc3co_enabled;
 	u32 dc3co_exit_delay;
 	struct delayed_work idle_work;
+	bool initially_probed;
 };
 
 #define QUIRK_LVDS_SSC_DISABLE (1<<1)
Signature · 6 lines
2.24.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

✓ Fi.CI.BAT: success for drm/i915/display: Force the state compute phase once to enable PSR

== Series Details ==

== Series Details ==

Series: drm/i915/display: Force the state compute phase once to enable PSR
URL : https://patchwork.freedesktop.org/series/70000/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7420 -> Patchwork_15429
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/index.html

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

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

### IGT changes ###

#### Possible fixes ####

* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [FAIL][1] ([fdo#108511]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/fi-skl-6770hq/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/fi-skl-6770hq/igt@[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-icl-u2: [FAIL][3] ([fdo#109635 ] / [fdo#110387]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/fi-icl-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/fi-icl-u2/igt@[email protected]

#### Warnings ####

* igt@gem_exec_suspend@basic-s4-devices:
- fi-kbl-x1275: [DMESG-WARN][5] ([fdo#103558] / [fdo#105602] / [fdo#105763] / [fdo#107139]) -> [DMESG-WARN][6] ([fdo#103558] / [fdo#105602] / [fdo#107139])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/fi-kbl-x1275/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/fi-kbl-x1275/igt@[email protected]

* igt@i915_pm_rpm@basic-rte:
- fi-kbl-guc: [FAIL][7] ([fdo#112223]) -> [SKIP][8] ([fdo#109271])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/fi-kbl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/fi-kbl-guc/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][9] ([fdo#109483]) -> [FAIL][10] ([fdo#111045] / [fdo#111096])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/fi-kbl-7500u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/fi-kbl-7500u/igt@[email protected]

* igt@kms_flip@basic-flip-vs-modeset:
- fi-kbl-x1275: [DMESG-WARN][11] ([fdo#103558] / [fdo#105602]) -> [DMESG-WARN][12] ([fdo#103558] / [fdo#105602] / [fdo#105763]) +4 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/fi-kbl-x1275/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/fi-kbl-x1275/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-kbl-x1275: [DMESG-WARN][13] ([fdo#103558] / [fdo#105602] / [fdo#105763]) -> [DMESG-WARN][14] ([fdo#103558] / [fdo#105602]) +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/fi-kbl-x1275/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/fi-kbl-x1275/igt@[email protected]

[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#107139]: https://bugs.freedesktop.org/show_bug.cgi?id=107139
[fdo#108511]: https://bugs.freedesktop.org/show_bug.cgi?id=108511
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635
[fdo#110387]: https://bugs.freedesktop.org/show_bug.cgi?id=110387
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#112223]: https://bugs.freedesktop.org/show_bug.cgi?id=112223

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

Missing (7): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-kbl-7560u fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_7420 -> Patchwork_15429

CI-20190529: 20190529
CI_DRM_7420: a876581f0065620f1519cfb9852fe5bd364db7c8 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5305: eafaa79dfb71f7251126f1c000e0cbe94425c95a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_15429: bb9a97ac51f9e5b3a5430c3e74e1e4b4c5648d7c @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

bb9a97ac51f9 drm/i915/display: Force the state compute phase once to enable PSR

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw

✗ Fi.CI.IGT: failure for drm/i915/display: Force the state compute phase once to enable PSR

In reply to José Roberto de Souza
== Series Details ==

== Series Details ==

Series: drm/i915/display: Force the state compute phase once to enable PSR
URL : https://patchwork.freedesktop.org/series/70000/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7420_full -> Patchwork_15429_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_15429_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_15429_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_15429_full:

### IGT changes ###

#### Possible regressions ####

* igt@gem_ctx_persistence@smoketest:
- shard-glk: [PASS][1] -> [TIMEOUT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-glk2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-glk9/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render:
- shard-tglb: NOTRUN -> [INCOMPLETE][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-render.html

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_isolation@rcs0-s3:
- shard-tglb: [PASS][4] -> [INCOMPLETE][5] ([fdo#111832])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb8/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb8/igt@[email protected]

* igt@gem_ctx_persistence@vcs1-mixed-process:
- shard-iclb: [PASS][6] -> [SKIP][7] ([fdo#109276] / [fdo#112080]) +2 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb6/igt@[email protected]

* igt@gem_ctx_shared@single-timeline:
- shard-skl: [PASS][8] -> [FAIL][9] ([fdo#112390])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-skl5/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-skl3/igt@[email protected]
- shard-glk: [PASS][10] -> [FAIL][11] ([fdo#112390])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-glk9/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-glk5/igt@[email protected]

* igt@gem_exec_basic@basic-vcs1:
- shard-iclb: [PASS][12] -> [SKIP][13] ([fdo#112080]) +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb2/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb6/igt@[email protected]

* igt@gem_exec_capture@capture-bsd1:
- shard-iclb: [PASS][14] -> [SKIP][15] ([fdo#109276]) +6 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb2/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb6/igt@[email protected]

* igt@gem_exec_reuse@single:
- shard-tglb: [PASS][16] -> [INCOMPLETE][17] ([fdo#111747])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb3/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb3/igt@[email protected]

* igt@gem_exec_schedule@reorder-wide-bsd:
- shard-iclb: [PASS][18] -> [SKIP][19] ([fdo#112146]) +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb8/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb2/igt@[email protected]

* igt@gem_exec_suspend@basic-s3:
- shard-tglb: [PASS][20] -> [INCOMPLETE][21] ([fdo#111736] / [fdo#111850])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb3/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb3/igt@[email protected]

* igt@gem_persistent_relocs@forked-thrash-inactive:
- shard-skl: [PASS][22] -> [TIMEOUT][23] ([fdo#112068 ])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-skl7/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-skl5/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-unsync:
- shard-snb: [PASS][24] -> [DMESG-WARN][25] ([fdo#111870])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-snb5/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-snb2/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-hsw: [PASS][26] -> [DMESG-WARN][27] ([fdo#111870])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-hsw7/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-hsw6/igt@[email protected]
- shard-glk: [PASS][28] -> [INCOMPLETE][29] ([fdo#103359] / [k.org#198133]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-glk3/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-glk4/igt@[email protected]

* igt@i915_pm_rpm@system-suspend:
- shard-tglb: [PASS][30] -> [INCOMPLETE][31] ([fdo#111747] / [fdo#111850])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb3/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb3/igt@[email protected]

* igt@i915_suspend@forcewake:
- shard-kbl: [PASS][32] -> [DMESG-WARN][33] ([fdo#108566]) +3 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-kbl1/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-kbl4/igt@[email protected]

* igt@kms_concurrent@pipe-c:
- shard-skl: [PASS][34] -> [DMESG-WARN][35] ([fdo#106107])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-skl5/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-skl3/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-tglb: [PASS][36] -> [INCOMPLETE][37] ([fdo#111850])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb1/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb2/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-hsw: [PASS][38] -> [FAIL][39] ([fdo#105767])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-hsw4/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-hsw6/igt@[email protected]

* igt@kms_draw_crc@draw-method-rgb565-render-ytiled:
- shard-iclb: [PASS][40] -> [INCOMPLETE][41] ([fdo#107713])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb4/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
- shard-tglb: [PASS][42] -> [INCOMPLETE][43] ([fdo#111884]) +1 similar issue
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb8/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-blt:
- shard-iclb: [PASS][44] -> [FAIL][45] ([fdo#103167])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb1/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-cpu:
- shard-tglb: [PASS][46] -> [FAIL][47] ([fdo#103167]) +2 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb2/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb7/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-min:
- shard-skl: [PASS][48] -> [FAIL][49] ([fdo#108145])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-skl3/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-skl8/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][50] -> [FAIL][51] ([fdo#108145] / [fdo#110403])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-skl4/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-skl10/igt@[email protected]

* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-tglb: [PASS][52] -> [INCOMPLETE][53] ([fdo#111832] / [fdo#111850]) +3 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb3/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb5/igt@[email protected]

* igt@perf@oa-exponents:
- shard-apl: [PASS][54] -> [TIMEOUT][55] ([fdo#111732 ])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-apl2/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-apl2/igt@[email protected]

#### Possible fixes ####

* igt@gem_ctx_isolation@bcs0-s3:
- shard-apl: [DMESG-WARN][56] ([fdo#108566]) -> [PASS][57] +2 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-apl6/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-apl1/igt@[email protected]
- shard-tglb: [INCOMPLETE][58] ([fdo#111832]) -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb2/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb2/igt@[email protected]

* igt@gem_ctx_isolation@vcs1-dirty-create:
- shard-iclb: [SKIP][60] ([fdo#109276] / [fdo#112080]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb3/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb2/igt@[email protected]

* igt@gem_exec_parallel@vcs1-fds:
- shard-iclb: [SKIP][62] ([fdo#112080]) -> [PASS][63] +6 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb8/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb2/igt@[email protected]

* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [SKIP][64] ([fdo#112146]) -> [PASS][65] +2 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb2/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb6/igt@[email protected]

* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-kbl: [FAIL][66] ([fdo#112392]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-kbl6/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-kbl6/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-hsw: [DMESG-WARN][68] ([fdo#111870]) -> [PASS][69] +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-hsw8/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-hsw5/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-apl: [INCOMPLETE][70] ([fdo#103927]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-apl8/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-apl4/igt@[email protected]

* igt@kms_big_fb@y-tiled-32bpp-rotate-0:
- shard-skl: [INCOMPLETE][72] ([fdo#104108] / [fdo#112347]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-skl5/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-skl3/igt@[email protected]

* igt@kms_draw_crc@draw-method-xrgb2101010-render-untiled:
- shard-tglb: [INCOMPLETE][74] ([fdo#112393]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb7/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb1/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: [FAIL][76] ([fdo#105363]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-skl5/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-skl1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-pgflip-blt:
- shard-tglb: [FAIL][78] ([fdo#103167]) -> [PASS][79] +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-pgflip-blt.html
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-pgflip-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-render:
- shard-iclb: [FAIL][80] ([fdo#103167]) -> [PASS][81] +2 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-render.html
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-render.html

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-tglb: [INCOMPLETE][82] ([fdo#111832] / [fdo#111850]) -> [PASS][83] +1 similar issue
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb8/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-tglb6/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-kbl: [DMESG-WARN][84] ([fdo#108566]) -> [PASS][85] +6 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-kbl6/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-kbl6/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [FAIL][86] ([fdo#108145]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-skl4/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-skl10/igt@[email protected]

* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-iclb: [FAIL][88] ([fdo#103166]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb1/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb1/igt@[email protected]

* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][90] ([fdo#109441]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb8/igt@kms_psr@psr2_sprite_plane_move.html
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html

* igt@perf@disabled-read-error:
- shard-iclb: [DMESG-WARN][92] ([fdo#112394]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb3/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb2/igt@[email protected]

* igt@prime_vgem@fence-wait-bsd2:
- shard-iclb: [SKIP][94] ([fdo#109276]) -> [PASS][95] +9 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-iclb8/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-iclb2/igt@[email protected]

#### Warnings ####

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [INCOMPLETE][96] ([fdo#103927]) -> [DMESG-WARN][97] ([fdo#108566])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-apl4/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/shard-apl4/igt@[email protected]

[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105767]: https://bugs.freedesktop.org/show_bug.cgi?id=105767
[fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#111732 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111732
[fdo#111736]: https://bugs.freedesktop.org/show_bug.cgi?id=111736
[fdo#111

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15429/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw

✓ Fi.CI.BAT: success for drm/i915/display: Force the state compute phase once to enable PSR (rev2)

In reply to José Roberto de Souza
== Series Details ==

== Series Details ==

Series: drm/i915/display: Force the state compute phase once to enable PSR (rev2)
URL : https://patchwork.freedesktop.org/series/70000/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7426 -> Patchwork_15444
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/index.html

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

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

### IGT changes ###

#### Issues hit ####

* igt@kms_chamelium@dp-crc-fast:
- fi-icl-u2: [PASS][1] -> [FAIL][2] ([fdo#109635 ] / [fdo#110387])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/fi-icl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/fi-icl-u2/igt@[email protected]

* igt@kms_chamelium@dp-edid-read:
- fi-kbl-7500u: [PASS][3] -> [FAIL][4] ([fdo#109483] / [fdo#109635 ])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/fi-kbl-7500u/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/fi-kbl-7500u/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][5] -> [FAIL][6] ([fdo#111045] / [fdo#111096])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/fi-kbl-7500u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/fi-kbl-7500u/igt@[email protected]

#### Warnings ####

* igt@gem_exec_suspend@basic-s0:
- fi-kbl-x1275: [DMESG-WARN][7] ([fdo#103558] / [fdo#105602]) -> [DMESG-WARN][8] ([fdo#103558] / [fdo#105602] / [fdo#105763]) +5 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/fi-kbl-x1275/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/fi-kbl-x1275/igt@[email protected]

* igt@gem_exec_suspend@basic-s4-devices:
- fi-kbl-x1275: [DMESG-WARN][9] ([fdo#103558] / [fdo#105602] / [fdo#105763] / [fdo#107139]) -> [DMESG-WARN][10] ([fdo#103558] / [fdo#105602] / [fdo#107139])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/fi-kbl-x1275/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/fi-kbl-x1275/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-kbl-x1275: [DMESG-WARN][11] ([fdo#103558] / [fdo#105602] / [fdo#105763]) -> [DMESG-WARN][12] ([fdo#103558] / [fdo#105602]) +5 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/fi-kbl-x1275/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/fi-kbl-x1275/igt@[email protected]

[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#107139]: https://bugs.freedesktop.org/show_bug.cgi?id=107139
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635
[fdo#110387]: https://bugs.freedesktop.org/show_bug.cgi?id=110387
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096

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

Additional (2): fi-hsw-4770r fi-whl-u
Missing (7): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-kbl-7560u fi-byt-clapper fi-bdw-samus

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_7426 -> Patchwork_15444

CI-20190529: 20190529
CI_DRM_7426: b204d72d3485a148456e2077683974739b675b21 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5310: d1ea62b3f759f10ff6860561ba82e5c4902511d3 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_15444: 2f754c85b2b5d78a77305455c1c3933b5adf9bab @ git://anongit.freedesktop.org/gfx-ci/linux

== Linux commits ==

2f754c85b2b5 drm/i915/display: Force the state compute phase once to enable PSR

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw

✗ Fi.CI.IGT: failure for drm/i915/display: Force the state compute phase once to enable PSR (rev2)

In reply to José Roberto de Souza
== Series Details ==

== Series Details ==

Series: drm/i915/display: Force the state compute phase once to enable PSR (rev2)
URL : https://patchwork.freedesktop.org/series/70000/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_7426_full -> Patchwork_15444_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_15444_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_15444_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_15444_full:

### IGT changes ###

#### Possible regressions ####

* igt@kms_color@pipe-a-ctm-max:
- shard-skl: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-skl6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-skl3/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_isolation@bcs0-s3:
- shard-tglb: [PASS][3] -> [INCOMPLETE][4] ([fdo#111832])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb2/igt@[email protected]

* igt@gem_persistent_relocs@forked-interruptible-thrashing:
- shard-snb: [PASS][5] -> [FAIL][6] ([fdo#112037])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-snb4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-snb1/igt@[email protected]

* igt@gem_pipe_control_store_loop@reused-buffer:
- shard-tglb: [PASS][7] -> [INCOMPLETE][8] ([fdo#111998])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb6/igt@[email protected]

* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-glk: [PASS][9] -> [FAIL][10] ([fdo#112392])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-glk3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-glk1/igt@[email protected]

* igt@gem_softpin@noreloc-s3:
- shard-apl: [PASS][11] -> [DMESG-WARN][12] ([fdo#108566])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-apl1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-apl1/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap:
- shard-snb: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-snb5/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-snb5/igt@[email protected]

* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-hsw: [PASS][15] -> [DMESG-WARN][16] ([fdo#111870])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-hsw8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-hsw1/igt@[email protected]
- shard-snb: [PASS][17] -> [DMESG-WARN][18] ([fdo#110789] / [fdo#111870])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-snb1/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-snb7/igt@[email protected]

* igt@gem_workarounds@suspend-resume-context:
- shard-tglb: [PASS][19] -> [INCOMPLETE][20] ([fdo#111832] / [fdo#111850]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb2/igt@[email protected]

* igt@i915_suspend@debugfs-reader:
- shard-kbl: [PASS][21] -> [DMESG-WARN][22] ([fdo#108566]) +3 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-kbl4/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-kbl7/igt@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-tglb: [PASS][23] -> [INCOMPLETE][24] ([fdo#111832] / [fdo#111850] / [fdo#112031])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb6/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:
- shard-kbl: [PASS][25] -> [INCOMPLETE][26] ([fdo#103665])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-kbl7/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-kbl3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc:
- shard-tglb: [PASS][27] -> [INCOMPLETE][28] ([fdo#111884])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt:
- shard-tglb: [PASS][29] -> [FAIL][30] ([fdo#103167]) +3 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt.html

* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][31] -> [FAIL][32] ([fdo#108145] / [fdo#110403])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-skl2/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-skl6/igt@[email protected]

#### Possible fixes ####

* igt@drm_import_export@import-close-race-prime:
- shard-hsw: [INCOMPLETE][33] ([fdo#103540]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-hsw2/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-hsw6/igt@[email protected]

* igt@gem_ctx_persistence@smoketest:
- shard-glk: [TIMEOUT][35] -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-glk7/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-glk8/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd2:
- shard-tglb: [INCOMPLETE][37] ([fdo#111606] / [fdo#111677]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb5/igt@[email protected]

* igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive:
- shard-hsw: [TIMEOUT][39] ([fdo#112068 ]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-hsw2/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-hsw7/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive.html

* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-kbl: [FAIL][41] ([fdo#112392]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-kbl4/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-kbl4/igt@[email protected]

* igt@gem_sync@basic-all:
- shard-tglb: [INCOMPLETE][43] ([fdo#111880]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb6/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb3/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-busy-gup:
- shard-snb: [DMESG-WARN][45] ([fdo#111870]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-snb4/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-snb1/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy:
- shard-hsw: [DMESG-WARN][47] ([fdo#111870]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-hsw4/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-hsw4/igt@[email protected]

* igt@kms_color@pipe-a-ctm-0-75:
- shard-skl: [DMESG-WARN][49] ([fdo#106107]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-skl4/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-skl7/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-skl: [FAIL][51] ([fdo#102670]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-skl6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-skl2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html

* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-apl: [DMESG-WARN][53] ([fdo#108566]) -> [PASS][54] +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-apl4/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-apl2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-pwrite:
- shard-tglb: [INCOMPLETE][55] ([fdo#111884]) -> [PASS][56] +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-pwrite.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb8/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
- shard-tglb: [FAIL][57] ([fdo#103167]) -> [PASS][58] +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb3/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite:
- shard-iclb: [FAIL][59] ([fdo#103167]) -> [PASS][60] +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-rte:
- shard-tglb: [INCOMPLETE][61] ([fdo#111747] / [fdo#111884]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb4/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb5/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d:
- shard-tglb: [INCOMPLETE][63] ([fdo#111850]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb2/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb6/igt@[email protected]

* igt@kms_plane@pixel-format-pipe-b-planes:
- shard-kbl: [INCOMPLETE][65] ([fdo#103665]) -> [PASS][66] +2 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-kbl4/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-kbl4/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [FAIL][67] ([fdo#108145]) -> [PASS][68] +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-skl5/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-skl3/igt@[email protected]

* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [DMESG-WARN][69] ([fdo#108566]) -> [PASS][70] +4 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-kbl4/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-kbl4/igt@[email protected]

* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-tglb: [INCOMPLETE][71] ([fdo#111832] / [fdo#111850]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-tglb5/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-tglb5/igt@[email protected]

#### Warnings ####

* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-kbl: [DMESG-WARN][73] ([fdo#108566]) -> [INCOMPLETE][74] ([fdo#103665] / [fdo#112279])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7426/shard-kbl1/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15444/shard-kbl4/igt@[email protected]

[fdo#102670]: https://bugs.freedesktop.org/show_bug.cgi?id=102670
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[fdo#111606]: https://bugs.freedesktop.org/show_bug.cgi?id=111606
[fdo#111677]: https://bugs.freedesktop.org/show_bug.cgi?id=111677
[fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747
[fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
[fdo#111850]: https://bugs.freedesktop.org/show_bug.cgi?id=111850
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#111880]: https://bugs.freedesktop.org/show_bug.cgi?id=111880
[fdo#111884]: https://bugs.freedesktop.org/show_bug.cgi?id=111884
[fdo#111998]: https://bugs.freedesktop.org/show_bug.cgi?id=111998
[fdo#112031]: https://bugs.freedesktop.org/show_bug.cgi?id=112031
[fdo#112037]: https://bugs.freedesktop.org/show_bug.cgi?id=112037
[fdo#112068 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112068
[fdo#112279]: https://bugs.freedesktop.org/show_bug.cgi?id=112279
[fdo#112392]: https://bugs.freedesktop.org/show_bug.cgi?id=112392

Participating hosts (11 -> 11)
------------------------------

No changes in participating hosts

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

* CI: CI-20190529 -> None
* Linux: CI_DRM_7426 -> Patchwork_15444

CI-20190529: 20190529
CI_DRM_7426: b204d72d3485a148456e2077683974739b675b21 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5310: d1ea62b3f759f10ff6860561ba82e5c4902511d3 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_15444: 2f754c85b2b5d78a77305455c1c3933b5adf9bab @ 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_15444/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#5 lore raw
In reply to José Roberto de Souza

Hi,

Quoted 51 lines · José Roberto de Souza

Recent improvements in the state tracking in i915 caused PSR to not be
enabled when reusing firmware/BIOS modeset, this is due to all initial
commits returning ealier in intel_atomic_check() as needs_modeset() is always false.

To fix that here forcing the state compute phase in CRTC that is driving the eDP that supports PSR once. Enable or disable PSR do not require a fullmodeset, so user will still experience glitch free boot process plus the power savings that PSR brings.

It was tried to set mode_changed in intel_initial_commit() but at this point the connectors are not registered causing a crash when computing encoder state.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112253

---
 drivers/gpu/drm/i915/display/intel_atomic.c |  6 ++++
 drivers/gpu/drm/i915/display/intel_psr.c    | 32
+++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_psr.h    |  5 ++++
 drivers/gpu/drm/i915/i915_drv.h             |  1 +
 4 files changed, 44 insertions(+)
drivers/gpu/drm/i915/display/intel_atomic.c +2 -0
index fd0026fc3618..6b57488d9238 100644
@@ -37,6 +37,7 @@
 #include "intel_atomic.h"
 #include "intel_display_types.h"
 #include "intel_hdcp.h"
+#include "intel_psr.h"
 #include "intel_sprite.h"
 
 /**
@@ -127,6 +128,7 @@ int intel_digital_connector_atomic_check(struct
 drm_connector *conn,
 	struct intel_digital_connector_state *old_conn_state =
 		to_intel_digital_connector_state(old_state);
 	struct drm_crtc_state *crtc_state;
+	int ret;
 
 	intel_hdcp_atomic_check(conn, old_state, new_state);

drivers/gpu/drm/i915/display/intel_atomic.c int intel_digital_connector_atomic_check(struct · line 155

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_atomic.c +1 -0
@@ -149,6 +151,10 @@ int intel_digital_connector_atomic_check(struct
 drm_connector *conn,
 			old_conn_state->base.hdr_output_metadata))
 		crtc_state->mode_changed = true;
 
+	ret = intel_psr_atomic_check(conn, state);

Because intel_psr_atomic_check() returns always 0, IMHO we don't need to use this checking block.
And can we move calling of this fuction to below of calling intel_hdcp_atomic_check(conn, old_state, new_state);?

Quoted 21 lines
drivers/gpu/drm/i915/display/intel_atomic.c +3 -0
+	if (ret)
+		return ret;
+
 	return 0;
 }
drivers/gpu/drm/i915/display/intel_psr.c +5 -0
index c1d133362b76..a1acae8d72f7 100644
@@ -1444,3 +1444,35 @@ bool intel_psr_enabled(struct intel_dp
 *intel_dp)
 
 	return ret;
 }
+
+int
+intel_psr_atomic_check(struct drm_connector *conn,
+		       struct drm_atomic_state *state)
+{

drivers/gpu/drm/i915/display/intel_psr.c bool intel_psr_enabled(struct intel_dp · line 1461

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_psr.c +10 -0
+	struct drm_i915_private *dev_priv = to_i915(conn->dev);
+	struct drm_connector_state *conn_state;
+	struct intel_digital_port *dig_port;
+	struct intel_connector *intel_conn;
+	struct drm_crtc_state *crtc_state;
+
+	if (!CAN_PSR(dev_priv))
+		return 0;
+
+	conn_state = drm_atomic_get_new_connector_state(state, conn);

should we get conn_state again?

Quoted 49 lines
drivers/gpu/drm/i915/display/intel_psr.c +12 -0
+	if (!conn_state->crtc)
+		return 0;
+
+	intel_conn = to_intel_connector(conn);
+	dig_port = enc_to_dig_port(&intel_conn->encoder->base);
+	if (dev_priv->psr.dp != &dig_port->dp)
+		return 0;
+
+	if (dev_priv->psr.initially_probed)
+		return 0;
+
+	crtc_state = drm_atomic_get_new_crtc_state(state, conn_state-
Quoted 1 line

crtc);

drivers/gpu/drm/i915/display/intel_psr.c +5 -0
+	crtc_state->mode_changed = true;
+	dev_priv->psr.initially_probed = true;
+
+	return 0;
+}
drivers/gpu/drm/i915/display/intel_psr.h +5 -0
index 46e4de8b8cd5..b3535e5752a6 100644
@@ -6,6 +6,9 @@
 #ifndef __INTEL_PSR_H__
 #define __INTEL_PSR_H__
 
+#include <drm/drm_atomic.h>
+#include <drm/drm_connector.h>
+
 #include "intel_frontbuffer.h"
 
 struct drm_i915_private;
@@ -35,5 +38,7 @@ void intel_psr_short_pulse(struct intel_dp
 *intel_dp);
 int intel_psr_wait_for_idle(const struct intel_crtc_state
 *new_crtc_state,
 			    u32 *out_value);
 bool intel_psr_enabled(struct intel_dp *intel_dp);
+int intel_psr_atomic_check(struct drm_connector *conn,
+			   struct drm_atomic_state *state);

#endif /* __INTEL_PSR_H__ */

drivers/gpu/drm/i915/i915_drv.h +0 -0
index fdae5a919bc8..d834924ba7c3 100644

drivers/gpu/drm/i915/i915_drv.h struct i915_psr { · line 514

Quoted 7 lines
drivers/gpu/drm/i915/i915_drv.h +1 -0
@@ -508,6 +508,7 @@ struct i915_psr {
 	bool dc3co_enabled;
 	u32 dc3co_exit_delay;
 	struct delayed_work idle_work;
+	bool initially_probed;
 };
 
 #define QUIRK_LVDS_SSC_DISABLE (1<<1)

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#6 lore raw
Quoted 60 lines · Gwan-gyeong

Hi,

Quoted 58 lines · José Roberto de Souza

Recent improvements in the state tracking in i915 caused PSR to not be
enabled when reusing firmware/BIOS modeset, this is due to all initial
commits returning ealier in intel_atomic_check() as needs_modeset() is always false.

To fix that here forcing the state compute phase in CRTC that is driving the eDP that supports PSR once. Enable or disable PSR do not
require a fullmodeset, so user will still experience glitch free boot
process plus the power savings that PSR brings.

It was tried to set mode_changed in intel_initial_commit() but at this point the connectors are not registered causing a crash when computing encoder state.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112253

---
 drivers/gpu/drm/i915/display/intel_atomic.c |  6 ++++
 drivers/gpu/drm/i915/display/intel_psr.c    | 32
+++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_psr.h    |  5 ++++
 drivers/gpu/drm/i915/i915_drv.h             |  1 +
 4 files changed, 44 insertions(+)
drivers/gpu/drm/i915/display/intel_atomic.c +2 -0
index fd0026fc3618..6b57488d9238 100644
@@ -37,6 +37,7 @@
 #include "intel_atomic.h"
 #include "intel_display_types.h"
 #include "intel_hdcp.h"
+#include "intel_psr.h"
 #include "intel_sprite.h"
 
 /**
@@ -127,6 +128,7 @@ int intel_digital_connector_atomic_check(struct
 drm_connector *conn,
 	struct intel_digital_connector_state *old_conn_state =
 		to_intel_digital_connector_state(old_state);
 	struct drm_crtc_state *crtc_state;
+	int ret;
 
 	intel_hdcp_atomic_check(conn, old_state, new_state);
@@ -149,6 +151,10 @@ int

intel_digital_connector_atomic_check(struct
drm_connector *conn,

drivers/gpu/drm/i915/display/intel_atomic.c +0 -0
 			old_conn_state->base.hdr_output_metadata))
 		crtc_state->mode_changed = true;
Quoted 3 lines

drivers/gpu/drm/i915/display/intel_atomic.c int intel_digital_connector_atomic_check(struct drm_connector *conn, · line 154

Quoted 1 line
drivers/gpu/drm/i915/display/intel_atomic.c +1 -0
+	ret = intel_psr_atomic_check(conn, state);

Because intel_psr_atomic_check() returns always 0, IMHO we don't need to use this checking block.

All the DRM atomic check functions that we can implement needs to return 0 for success or the error number, just keeping it consistent.

Also in future when we support multiple instances of PSR we might need some locking mechanism that would make us need to return -EAGAIN.

Quoted 2 lines

And can we move calling of this fuction to below of calling intel_hdcp_atomic_check(conn, old_state, new_state);?

The order here do not matter much, but if call it after the 'if (!new_state->crtc)' I can delete 'if (!conn_state->crtc)' from intel_psr_atomic_check().

Quoted 24 lines
Quoted 24 lines
drivers/gpu/drm/i915/display/intel_atomic.c +3 -0
+	if (ret)
+		return ret;
+
 	return 0;
 }
drivers/gpu/drm/i915/display/intel_psr.c +8 -0
index c1d133362b76..a1acae8d72f7 100644
@@ -1444,3 +1444,35 @@ bool intel_psr_enabled(struct intel_dp
 *intel_dp)
 
 	return ret;
 }
+
+int
+intel_psr_atomic_check(struct drm_connector *conn,
+		       struct drm_atomic_state *state)
+{
+	struct drm_i915_private *dev_priv = to_i915(conn->dev);
+	struct drm_connector_state *conn_state;
+	struct intel_digital_port *dig_port;
Quoted 8 lines

drivers/gpu/drm/i915/display/intel_psr.c bool intel_psr_enabled(struct intel_dp *intel_dp) · line 1461

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_psr.c +7 -0
+	struct intel_connector *intel_conn;
+	struct drm_crtc_state *crtc_state;
+
+	if (!CAN_PSR(dev_priv))
+		return 0;
+
+	conn_state = drm_atomic_get_new_connector_state(state, conn);

should we get conn_state again?

Thanks for catching this, yes no need.

Quoted 2 lines

drivers/gpu/drm/i915/display/intel_psr.c

Quoted 2 lines
drivers/gpu/drm/i915/display/intel_psr.c +2 -0
+	if (!conn_state->crtc)
+		return 0;

planning to remove this one too.

Thanks for reviewing.

Please let me know if you have any other comments, will send another version tomorrow.

Quoted 53 lines
Quoted 53 lines
drivers/gpu/drm/i915/display/intel_psr.c +10 -0
+
+	intel_conn = to_intel_connector(conn);
+	dig_port = enc_to_dig_port(&intel_conn->encoder->base);
+	if (dev_priv->psr.dp != &dig_port->dp)
+		return 0;
+
+	if (dev_priv->psr.initially_probed)
+		return 0;
+
+	crtc_state = drm_atomic_get_new_crtc_state(state, conn_state-
Quoted 1 line

crtc);

drivers/gpu/drm/i915/display/intel_psr.c +5 -0
+	crtc_state->mode_changed = true;
+	dev_priv->psr.initially_probed = true;
+
+	return 0;
+}
drivers/gpu/drm/i915/display/intel_psr.h +5 -0
index 46e4de8b8cd5..b3535e5752a6 100644
@@ -6,6 +6,9 @@
 #ifndef __INTEL_PSR_H__
 #define __INTEL_PSR_H__
 
+#include <drm/drm_atomic.h>
+#include <drm/drm_connector.h>
+
 #include "intel_frontbuffer.h"
 
 struct drm_i915_private;
@@ -35,5 +38,7 @@ void intel_psr_short_pulse(struct intel_dp
 *intel_dp);
 int intel_psr_wait_for_idle(const struct intel_crtc_state
 *new_crtc_state,
 			    u32 *out_value);
 bool intel_psr_enabled(struct intel_dp *intel_dp);
+int intel_psr_atomic_check(struct drm_connector *conn,
+			   struct drm_atomic_state *state);

#endif /* __INTEL_PSR_H__ */

drivers/gpu/drm/i915/i915_drv.h +1 -0
index fdae5a919bc8..d834924ba7c3 100644
@@ -508,6 +508,7 @@ struct i915_psr {
 	bool dc3co_enabled;
 	u32 dc3co_exit_delay;
 	struct delayed_work idle_work;
+	bool initially_probed;
 };
 
Quoted 1 line

drivers/gpu/drm/i915/i915_drv.h struct i915_psr { · line 514

Quoted 1 line
drivers/gpu/drm/i915/i915_drv.h +0 -0
 #define QUIRK_LVDS_SSC_DISABLE (1<<1)

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx