Skip to contentSkip to conversation

drm/i915/dp: Increase idle pattern wait timeout to 2ms

PATCH Superseded Shekhar Chauhan 3 participants 3 messages Mar 5, 2024 – Mar 7, 2024

Subsystems (3)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 drm/i915/dp: Increase idle pattern wait timeout to 2ms

The driver currently waits 1ms for idle patterns,
but for LNL and later platforms, it requires a
1640us (rounded up to 2ms) timeout whilst waiting
for idle patterns for MST streams.

To simplify the code, the timeout is uniformly
increased by 1ms across all platforms.

v1: Introduced the 2ms wait timeout.
v2: Segregated the wait timeout for platforms before & after LNL.
v3: Fixed 2 cosmetic changes.
v4: Revert to v2 design with commit message enhancements.

BSpec: 68849

---
 drivers/gpu/drm/i915/display/intel_ddi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_ddi.c +1 -1
index bea441590204..05ba3642d486 100644
@@ -3680,7 +3680,7 @@ static void intel_ddi_set_idle_link_train(struct intel_dp *intel_dp,
 
 	if (intel_de_wait_for_set(dev_priv,
 				  dp_tp_status_reg(encoder, crtc_state),
-				  DP_TP_STATUS_IDLE_DONE, 1))
+				  DP_TP_STATUS_IDLE_DONE, 2))
 		drm_err(&dev_priv->drm,
 			"Timed out waiting for DP idle patterns\n");
 }
Signature · 1 line
2.34.1
#1 lore raw

✗ Fi.CI.BAT: failure for drm/i915/dp: Increase idle pattern wait timeout to 2ms (rev3)

== Series Details ==

== Series Details ==

Series: drm/i915/dp: Increase idle pattern wait timeout to 2ms (rev3)
URL : https://patchwork.freedesktop.org/series/130643/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_14383 -> Patchwork_130643v3
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes
introduced in Patchwork_130643v3, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

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

Participating hosts (41 -> 40)
------------------------------

Additional (1): fi-glk-j4005
Missing (2): bat-kbl-2 fi-snb-2520m

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@migrate:
- bat-dg2-9: NOTRUN -> [ABORT][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-dg2-9/igt@i915_selftest@[email protected]

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

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

### CI changes ###

#### Issues hit ####

* boot:
- fi-apl-guc: [PASS][2] -> [FAIL][3] ([i915#8293])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14383/fi-apl-guc/boot.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/fi-apl-guc/boot.html

#### Possible fixes ####

* boot:
- bat-arls-3: [FAIL][4] ([i915#10234]) -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14383/bat-arls-3/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/boot.html

### IGT changes ###

#### Issues hit ####

* igt@debugfs_test@basic-hwmon:
- bat-arls-3: NOTRUN -> [SKIP][6] ([i915#9318])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]
- bat-arls-2: NOTRUN -> [SKIP][7] ([i915#9318])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-glk-j4005: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#2190])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/fi-glk-j4005/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-glk-j4005: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#4613]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/fi-glk-j4005/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- bat-arls-3: NOTRUN -> [SKIP][10] ([i915#10213]) +3 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@gem_lmem_swapping@verify-random:
- bat-arls-2: NOTRUN -> [SKIP][11] ([i915#10213]) +3 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@gem_mmap@basic:
- bat-arls-2: NOTRUN -> [SKIP][12] ([i915#4083])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][13] ([i915#4083])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@gem_mmap_gtt@basic:
- bat-arls-2: NOTRUN -> [SKIP][14] ([i915#10196] / [i915#4077]) +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@gem_render_tiled_blits@basic:
- bat-arls-2: NOTRUN -> [SKIP][15] ([i915#10197] / [i915#10211] / [i915#4079])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][16] ([i915#10197] / [i915#10211] / [i915#4079])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@gem_tiled_blits@basic:
- bat-arls-3: NOTRUN -> [SKIP][17] ([i915#10196] / [i915#4077]) +2 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@gem_tiled_pread_basic:
- bat-arls-3: NOTRUN -> [SKIP][18] ([i915#10206] / [i915#4079])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@gem_tiled_pread_basic.html
- bat-arls-2: NOTRUN -> [SKIP][19] ([i915#10206] / [i915#4079])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@gem_tiled_pread_basic.html

* igt@i915_pm_rps@basic-api:
- bat-arls-2: NOTRUN -> [SKIP][20] ([i915#10209])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][21] ([i915#10209])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- bat-arls-3: NOTRUN -> [SKIP][22] ([i915#10200]) +9 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-arls-2: NOTRUN -> [SKIP][23] ([i915#10200]) +9 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-glk-j4005: NOTRUN -> [SKIP][24] ([fdo#109271]) +10 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/fi-glk-j4005/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][25] ([i915#10202]) +1 other test skip
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-arls-2: NOTRUN -> [SKIP][26] ([i915#10202]) +1 other test skip
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@kms_dsc@dsc-basic:
- bat-arls-3: NOTRUN -> [SKIP][27] ([i915#9886])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]
- bat-arls-2: NOTRUN -> [SKIP][28] ([i915#9886])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-arls-3: NOTRUN -> [SKIP][29] ([i915#10207])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]
- bat-arls-2: NOTRUN -> [SKIP][30] ([i915#10207])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@kms_pm_backlight@basic-brightness:
- bat-arls-3: NOTRUN -> [SKIP][31] ([i915#9812])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@kms_psr@psr-primary-mmap-gtt:
- bat-arls-3: NOTRUN -> [SKIP][32] ([i915#9732]) +3 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@kms_psr@psr-primary-mmap-gtt@edp-1:
- bat-arls-2: NOTRUN -> [SKIP][33] ([i915#10196] / [i915#4077] / [i915#9688])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@kms_psr@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- bat-arls-2: NOTRUN -> [SKIP][34] ([i915#10208] / [i915#8809])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][35] ([i915#10208] / [i915#8809])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@prime_vgem@basic-fence-mmap:
- bat-arls-3: NOTRUN -> [SKIP][36] ([i915#10196] / [i915#3708] / [i915#4077]) +1 other test skip
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]
- bat-arls-2: NOTRUN -> [SKIP][37] ([i915#10196] / [i915#3708] / [i915#4077]) +1 other test skip
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@prime_vgem@basic-fence-read:
- bat-arls-2: NOTRUN -> [SKIP][38] ([i915#10212] / [i915#3708])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][39] ([i915#10212] / [i915#3708])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@prime_vgem@basic-read:
- bat-arls-2: NOTRUN -> [SKIP][40] ([i915#10214] / [i915#3708])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][41] ([i915#10214] / [i915#3708])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

* igt@prime_vgem@basic-write:
- bat-arls-2: NOTRUN -> [SKIP][42] ([i915#10216] / [i915#3708])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][43] ([i915#10216] / [i915#3708])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-3/igt@[email protected]

#### Possible fixes ####

* igt@i915_module_load@load:
- bat-arls-2: [ABORT][44] -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14383/bat-arls-2/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-arls-2/igt@[email protected]

* igt@i915_selftest@live@gt_pm:
- bat-dg2-9: [ABORT][46] -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14383/bat-dg2-9/igt@i915_selftest@live@gt_pm.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/bat-dg2-9/igt@i915_selftest@live@gt_pm.html

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#10196]: https://gitlab.freedesktop.org/drm/intel/issues/10196
[i915#10197]: https://gitlab.freedesktop.org/drm/intel/issues/10197
[i915#10200]: https://gitlab.freedesktop.org/drm/intel/issues/10200
[i915#10202]: https://gitlab.freedesktop.org/drm/intel/issues/10202
[i915#10206]: https://gitlab.freedesktop.org/drm/intel/issues/10206
[i915#10207]: https://gitlab.freedesktop.org/drm/intel/issues/10207
[i915#10208]: https://gitlab.freedesktop.org/drm/intel/issues/10208
[i915#10209]: https://gitlab.freedesktop.org/drm/intel/issues/10209
[i915#10211]: https://gitlab.freedesktop.org/drm/intel/issues/10211
[i915#10212]: https://gitlab.freedesktop.org/drm/intel/issues/10212
[i915#10213]: https://gitlab.freedesktop.org/drm/intel/issues/10213
[i915#10214]: https://gitlab.freedesktop.org/drm/intel/issues/10214
[i915#10216]: https://gitlab.freedesktop.org/drm/intel/issues/10216
[i915#10234]: https://gitlab.freedesktop.org/drm/intel/issues/10234
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9812]: https://gitlab.freedesktop.org/drm/intel/issues/9812
[i915#9886]: https://gitlab.freedesktop.org/drm/intel/issues/9886

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

* Linux: CI_DRM_14383 -> Patchwork_130643v3

CI-20190529: 20190529
CI_DRM_14383: e90b5046fce6ed727427eec0d52e4f9626609ed0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7745: 838ad56bf511c1caf56851c661fb5828c0440e3b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_130643v3: e90b5046fce6ed727427eec0d52e4f9626609ed0 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

9c7671eb7d72 drm/i915/dp: Increase idle pattern wait timeout to 2ms

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_130643v3/index.html

Reviewed-by on v4 1/1
#2 lore raw
In reply to Shekhar Chauhan

Quoting Shekhar Chauhan (2024-03-05 00:58:00-03:00)

Quoted 2 lines

The driver currently waits 1ms for idle patterns,
but for LNL and later platforms, it requires a

I would say "for Xe2LPD and possibly future display IPs, it requires". I feel the requirement is not necessarily tied to the platform itself.

Quoted 5 lines

1640us (rounded up to 2ms) timeout whilst waiting
for idle patterns for MST streams.

To simplify the code, the timeout is uniformly
increased by 1ms across all platforms.

To be more precise, "platforms/display IPs"?

Quoted 8 lines

v1: Introduced the 2ms wait timeout.
v2: Segregated the wait timeout for platforms before & after LNL.
v3: Fixed 2 cosmetic changes.
v4: Revert to v2 design with commit message enhancements.

BSpec: 68849

With the tweaks to the commit message above,

Quoted 20 lines

---
drivers/gpu/drm/i915/display/intel_ddi.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_ddi.c +1 -1
index bea441590204..05ba3642d486 100644
@@ -3680,7 +3680,7 @@ static void intel_ddi_set_idle_link_train(struct intel_dp *intel_dp,
 
        if (intel_de_wait_for_set(dev_priv,
                                  dp_tp_status_reg(encoder, crtc_state),
-                                  DP_TP_STATUS_IDLE_DONE, 1))
+                                  DP_TP_STATUS_IDLE_DONE, 2))
                drm_err(&dev_priv->drm,
                        "Timed out waiting for DP idle patterns\n");
 }
Signature · 1 line
2.34.1