Skip to contentSkip to conversation

drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

PATCH In review Ville Syrjala 3 participants 8 messages Mar 19, 2024 – Mar 25, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

From: Ville Syrjälä <[email protected]>

If we have no VBT, or the VBT didn't declare the encoder in question, we won't have the 'devdata' for the encoder. Instead of oopsing just bail early.

We won't be able to tell whether the port is DP++ or not, but so be it.

---
 drivers/gpu/drm/i915/display/intel_bios.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/display/intel_bios.c +3 -0
index c7841b3eede8..c13a98431a7b 100644
@@ -3458,6 +3458,9 @@ bool intel_bios_encoder_supports_dp_dual_mode(const struct intel_bios_encoder_da
 {
 	const struct child_device_config *child = &devdata->child;
 
+	if (!devdata)
+		return false;
+
 	if (!intel_bios_encoder_supports_dp(devdata) ||
 	    !intel_bios_encoder_supports_hdmi(devdata))
 		return false;
Signature · 1 line
2.43.2
#1 lore raw

PATCH 2/2 drm/i915/bios: Use the platform's port_mask when there is no VBT

From: Ville Syrjälä <[email protected]>

When we have no VBT we currently assume ports A-F are all pontially valid for every platform. That is nonsense. Grab the bitmask of valid ports from the runtime info instead.

Although the defaults we actually fill here look semi-sensible only for hsw-skl era hardware. Dunno if we should try to do something more appropriate here for other platforms, or just try to nuke the whole thing?

---
 drivers/gpu/drm/i915/display/intel_bios.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +1 -2
index c13a98431a7b..2abd2d7ceda2 100644
@@ -2890,9 +2890,8 @@ init_vbt_panel_defaults(struct intel_panel *panel)
 static void
 init_vbt_missing_defaults(struct drm_i915_private *i915)
 {
+	unsigned int ports = DISPLAY_RUNTIME_INFO(i915)->port_mask;
 	enum port port;
-	int ports = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) |
-		    BIT(PORT_D) | BIT(PORT_E) | BIT(PORT_F);
 
 	if (!HAS_DDI(i915) && !IS_CHERRYVIEW(i915))
 		return;
Signature · 1 line
2.43.2
maintainer Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] drm/i915/bios: Use the platform's port_mask when there is no VBT

Quoted 11 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

When we have no VBT we currently assume ports A-F are all pontially valid for every platform. That is nonsense. Grab the bitmask of valid ports from the runtime info instead.

Although the defaults we actually fill here look semi-sensible only for hsw-skl era hardware. Dunno if we should try to do something more appropriate here for other platforms, or just try to nuke the whole thing?

Seems like doing something appropriate is an endless task. We should never have added the defaults, but here we are. Can we remove them for newer platforms? There's only one way to find out...

Commit 828ccb31cf41 ("drm/i915/icl: Add TypeC ports only if VBT is present") fails to mention if this was to address a real issue on ICL without VBT, or just playing it safe.

Quoted 10 lines
---
 drivers/gpu/drm/i915/display/intel_bios.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +0 -0
index c13a98431a7b..2abd2d7ceda2 100644

drivers/gpu/drm/i915/display/intel_bios.c init_vbt_panel_defaults(struct intel_panel *panel) · line 2895

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_bios.c +1 -2
@@ -2890,9 +2890,8 @@ init_vbt_panel_defaults(struct intel_panel *panel)
 static void
 init_vbt_missing_defaults(struct drm_i915_private *i915)
 {
+	unsigned int ports = DISPLAY_RUNTIME_INFO(i915)->port_mask;
 	enum port port;
-	int ports = BIT(PORT_A) | BIT(PORT_B) | BIT(PORT_C) |
-		    BIT(PORT_D) | BIT(PORT_E) | BIT(PORT_F);

I was wondering why we don't just

-#define for_each_port(__port) \
- for ((__port) = PORT_A; (__port) < I915_MAX_PORTS; (__port)++)
+#define for_each_port(__i915, __port) \
+ for_each_set_bit(__port, &DISPLAY_RUNTIME_INFO(__i915)->port_mask, sizeof(DISPLAY_RUNTIME_INFO(__i915)->port_mask))

but then we have DSI code that relies on it returning PORT_A for DSI.

Ugh. It's all so brittle.

Anyway, the patch is

Quoted 3 lines
drivers/gpu/drm/i915/display/intel_bios.c +0 -0
 	if (!HAS_DDI(i915) && !IS_CHERRYVIEW(i915))
 		return;
Signature · 1 line
Jani Nikula, Intel
maintainer
#3 lore raw
In reply to Ville Syrjala
Quoted 21 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

If we have no VBT, or the VBT didn't declare the encoder in question, we won't have the 'devdata' for the encoder. Instead of oopsing just bail early.

We won't be able to tell whether the port is DP++ or not, but so be it.

---
 drivers/gpu/drm/i915/display/intel_bios.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/display/intel_bios.c +0 -0
index c7841b3eede8..c13a98431a7b 100644

drivers/gpu/drm/i915/display/intel_bios.c bool intel_bios_encoder_supports_dp_dual_mode(const struct intel_bios_encoder_da · line 3459

Quoted 2 lines
drivers/gpu/drm/i915/display/intel_bios.c +0 -0
@@ -3458,6 +3458,9 @@ bool intel_bios_encoder_supports_dp_dual_mode(const struct intel_bios_encoder_da
 {
 	const struct child_device_config *child = &devdata->child;

The above oopses already.

BR,
Jani.

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_bios.c +3 -0
+	if (!devdata)
+		return false;
+
 	if (!intel_bios_encoder_supports_dp(devdata) ||
 	    !intel_bios_encoder_supports_hdmi(devdata))
 		return false;
Signature · 1 line
Jani Nikula, Intel
#4 lore raw
Quoted 17 lines · Jani Nikula
Quoted 16 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

If we have no VBT, or the VBT didn't declare the encoder in question, we won't have the 'devdata' for the encoder. Instead of oopsing just bail early.

We won't be able to tell whether the port is DP++ or not, but so be it.

---
 drivers/gpu/drm/i915/display/intel_bios.c | 3 +++
 1 file changed, 3 insertions(+)
Quoted 9 lines

drivers/gpu/drm/i915/display/intel_bios.c bool intel_bios_encoder_supports_dp_dual_mode(const struct intel_bios_encoder_da · line 3459

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_bios.c +0 -0
index c7841b3eede8..c13a98431a7b 100644
@@ -3458,6 +3458,9 @@ bool intel_bios_encoder_supports_dp_dual_mode(const struct intel_bios_encoder_da
 {
 	const struct child_device_config *child = &devdata->child;

The above oopses already.

Nope. It's just taking the address of the thing.

Quoted 14 lines

BR,
Jani.

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_bios.c +3 -0
+	if (!devdata)
+		return false;
+
 	if (!intel_bios_encoder_supports_dp(devdata) ||
 	    !intel_bios_encoder_supports_hdmi(devdata))
 		return false;
Signature · 1 line
Jani Nikula, Intel
Signature · 2 lines
Ville Syrjälä
Intel
maintainer Reviewed-by
#5 lore raw
Quoted 28 lines · Ville Syrjälä
Quoted 17 lines · Jani Nikula
Quoted 16 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

If we have no VBT, or the VBT didn't declare the encoder in question, we won't have the 'devdata' for the encoder. Instead of oopsing just bail early.

We won't be able to tell whether the port is DP++ or not, but so be it.

---
 drivers/gpu/drm/i915/display/intel_bios.c | 3 +++
 1 file changed, 3 insertions(+)
Quoted 9 lines

drivers/gpu/drm/i915/display/intel_bios.c bool intel_bios_encoder_supports_dp_dual_mode(const struct intel_bios_encoder_da · line 3459

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_bios.c +0 -0
index c7841b3eede8..c13a98431a7b 100644
@@ -3458,6 +3458,9 @@ bool intel_bios_encoder_supports_dp_dual_mode(const struct intel_bios_encoder_da
 {
 	const struct child_device_config *child = &devdata->child;

The above oopses already.

Quoted 1 line

Nope. It's just taking the address of the thing.

I guess. Still looks a bit suspicious. :/

Quoted 15 lines
Quoted 15 lines

BR,
Jani.

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_bios.c +3 -0
+	if (!devdata)
+		return false;
+
 	if (!intel_bios_encoder_supports_dp(devdata) ||
 	    !intel_bios_encoder_supports_hdmi(devdata))
 		return false;
Signature · 1 line
Jani Nikula, Intel
Signature · 1 line
Jani Nikula, Intel
#6 lore raw

✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [1/2] drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()
URL : https://patchwork.freedesktop.org/series/131316/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_14450 -> Patchwork_131316v1
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes
introduced in Patchwork_131316v1, 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_131316v1/index.html

Participating hosts (37 -> 36)
------------------------------

Additional (2): bat-dg1-7 bat-dg2-11
Missing (3): fi-glk-j4005 fi-snb-2520m fi-kbl-8809g

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

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

### CI changes ###

#### Possible regressions ####

* boot:
- bat-dg2-11: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg2-11/boot.html

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

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

### CI changes ###

#### Issues hit ####

* boot:
- bat-jsl-1: [PASS][2] -> [FAIL][3] ([i915#8293])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14450/bat-jsl-1/boot.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-jsl-1/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_14450/bat-arls-3/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-arls-3/boot.html
- fi-apl-guc: [FAIL][6] ([i915#8293]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14450/fi-apl-guc/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/fi-apl-guc/boot.html

### IGT changes ###

#### Issues hit ####

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

* igt@gem_lmem_swapping@basic:
- fi-apl-guc: NOTRUN -> [SKIP][9] ([i915#4613]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/fi-apl-guc/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_131316v1/bat-arls-3/igt@[email protected]

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

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

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

* igt@gem_tiled_fence_blits@basic:
- bat-dg1-7: NOTRUN -> [SKIP][15] ([i915#4077]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

* igt@gem_tiled_pread_basic:
- bat-dg1-7: NOTRUN -> [SKIP][16] ([i915#4079]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@gem_tiled_pread_basic.html
- bat-arls-3: NOTRUN -> [SKIP][17] ([i915#10206] / [i915#4079])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-arls-3/igt@gem_tiled_pread_basic.html

* igt@i915_pm_rps@basic-api:
- bat-dg1-7: NOTRUN -> [SKIP][18] ([i915#6621])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][19] ([i915#10209])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-arls-3/igt@[email protected]

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

* igt@kms_addfb_basic@addfb25-x-tiled-mismatch-legacy:
- bat-dg1-7: NOTRUN -> [SKIP][21] ([i915#4212]) +7 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg1-7: NOTRUN -> [SKIP][22] ([i915#4215])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

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

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-dg1-7: NOTRUN -> [SKIP][24] ([i915#4103] / [i915#4213]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

* igt@kms_dsc@dsc-basic:
- bat-arls-3: NOTRUN -> [SKIP][25] ([i915#9886])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-arls-3/igt@[email protected]
- bat-dg1-7: NOTRUN -> [SKIP][26] ([i915#3555] / [i915#3840])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-arls-3: NOTRUN -> [SKIP][27] ([i915#10207])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-arls-3/igt@[email protected]
- bat-dg1-7: NOTRUN -> [SKIP][28]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

* igt@kms_hdmi_inject@inject-audio:
- fi-apl-guc: NOTRUN -> [SKIP][29] +17 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/fi-apl-guc/igt@[email protected]
- bat-dg1-7: NOTRUN -> [SKIP][30] ([i915#433])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

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

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

* igt@kms_psr@psr-primary-page-flip:
- bat-dg1-7: NOTRUN -> [SKIP][34] ([i915#9732]) +3 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

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

* igt@prime_vgem@basic-fence-flip:
- bat-dg1-7: NOTRUN -> [SKIP][37] ([i915#3708]) +3 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-dg1-7/igt@[email protected]

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

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

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

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

#### Possible fixes ####

* igt@i915_selftest@live@hangcheck:
- bat-rpls-3: [DMESG-WARN][43] ([i915#5591]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14450/bat-rpls-3/igt@i915_selftest@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v1/bat-rpls-3/igt@i915_selftest@[email protected]

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

[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#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[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#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[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#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
[i915#9947]: https://gitlab.freedesktop.org/drm/intel/issues/9947

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

* Linux: CI_DRM_14450 -> Patchwork_131316v1

CI-20190529: 20190529
CI_DRM_14450: c998853b06760efc02617828e7b569a73ac73dc5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7770: fef0422fd296f7c65724315f2a455ffb6959fb0d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_131316v1: c998853b06760efc02617828e7b569a73ac73dc5 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

591cd9bd9b3b drm/i915/bios: Use the platform's port_mask when there is no VBT 14feed1fc9e6 drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

== Logs ==

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

#7 lore raw

✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode() (rev2)

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [1/2] drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode() (rev2)
URL : https://patchwork.freedesktop.org/series/131316/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_14455 -> Patchwork_131316v2
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes
introduced in Patchwork_131316v2, 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_131316v2/index.html

Participating hosts (39 -> 40)
------------------------------

Additional (3): bat-kbl-2 bat-mtlp-8 fi-kbl-8809g
Missing (2): fi-blb-e6850 fi-snb-2520m

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

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

### IGT changes ###

#### Possible regressions ####

* igt@kms_force_connector_basic@force-connector-state:
- fi-kbl-guc: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14455/fi-kbl-guc/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-guc/igt@[email protected]

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

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

### CI changes ###

#### Issues hit ####

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

### IGT changes ###

#### Issues hit ####

* igt@core_hotunplug@unbind-rebind:
- fi-kbl-8809g: NOTRUN -> [DMESG-WARN][5] ([i915#10462])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]

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

* igt@fbdev@info:
- fi-kbl-8809g: NOTRUN -> [SKIP][7] ([i915#1849])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]
- bat-kbl-2: NOTRUN -> [SKIP][8] ([i915#1849])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-kbl-2/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-kbl-8809g: NOTRUN -> [SKIP][9] ([i915#2190])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-kbl-8809g: NOTRUN -> [SKIP][10] ([i915#4613]) +3 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- bat-kbl-2: NOTRUN -> [SKIP][11] +39 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-kbl-2/igt@[email protected]

* igt@gem_lmem_swapping@verify-random:
- bat-mtlp-8: NOTRUN -> [SKIP][12] ([i915#4613]) +3 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

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

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

* igt@gem_render_tiled_blits@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][15] ([i915#4079]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@i915_pm_rps@basic-api:
- bat-mtlp-8: NOTRUN -> [SKIP][16] ([i915#6621])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@i915_selftest@live@gt_engines:
- bat-adls-6: [PASS][17] -> [TIMEOUT][18] ([i915#10026])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14455/bat-adls-6/igt@i915_selftest@live@gt_engines.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-adls-6/igt@i915_selftest@live@gt_engines.html

* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][19] ([i915#5190])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@kms_addfb_basic@bad-pitch-65536:
- fi-kbl-8809g: NOTRUN -> [FAIL][20] ([i915#10457]) +1 other test fail
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]

* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][21] ([i915#4212]) +8 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@kms_addfb_basic@too-high:
- fi-kbl-8809g: NOTRUN -> [FAIL][22] ([i915#10455])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]

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

* igt@kms_dsc@dsc-basic:
- bat-mtlp-8: NOTRUN -> [SKIP][24] ([i915#3555] / [i915#3840] / [i915#9159])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@kms_force_connector_basic@force-edid:
- fi-kbl-8809g: NOTRUN -> [DMESG-FAIL][25] ([i915#10454])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-mtlp-8: NOTRUN -> [SKIP][26]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@kms_force_connector_basic@prune-stale-modes:
- fi-kbl-8809g: NOTRUN -> [DMESG-WARN][27] ([i915#10454]) +1 other test dmesg-warn
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][28] ([i915#5274])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@kms_hdmi_inject@inject-audio:
- fi-kbl-8809g: NOTRUN -> [FAIL][29] ([IGT#3])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12@pipe-a-hdmi-a-1:
- fi-kbl-8809g: NOTRUN -> [SKIP][30] +58 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/fi-kbl-8809g/igt@kms_pipe_crc_basic@[email protected]

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

* igt@kms_setmode@basic-clone-single-crtc:
- bat-mtlp-8: NOTRUN -> [SKIP][32] ([i915#3555] / [i915#8809])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@prime_vgem@basic-fence-mmap:
- bat-mtlp-8: NOTRUN -> [SKIP][33] ([i915#3708] / [i915#4077]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@prime_vgem@basic-fence-read:
- bat-mtlp-8: NOTRUN -> [SKIP][34] ([i915#3708]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

* igt@prime_vgem@basic-write:
- bat-mtlp-8: NOTRUN -> [SKIP][35] ([i915#10216] / [i915#3708])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-mtlp-8/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@hangcheck:
- bat-rpls-3: [DMESG-WARN][36] ([i915#5591]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14455/bat-rpls-3/igt@i915_selftest@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_131316v2/bat-rpls-3/igt@i915_selftest@[email protected]

[IGT#3]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/3
[i915#10026]: https://gitlab.freedesktop.org/drm/intel/issues/10026
[i915#10216]: https://gitlab.freedesktop.org/drm/intel/issues/10216
[i915#10234]: https://gitlab.freedesktop.org/drm/intel/issues/10234
[i915#10454]: https://gitlab.freedesktop.org/drm/intel/issues/10454
[i915#10455]: https://gitlab.freedesktop.org/drm/intel/issues/10455
[i915#10457]: https://gitlab.freedesktop.org/drm/intel/issues/10457
[i915#10462]: https://gitlab.freedesktop.org/drm/intel/issues/10462
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[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#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9159]: https://gitlab.freedesktop.org/drm/intel/issues/9159
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688

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

* Linux: CI_DRM_14455 -> Patchwork_131316v2

CI-20190529: 20190529
CI_DRM_14455: b87a8b85562fc94e2314b61279ffa80b6c294cfa @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7770: fef0422fd296f7c65724315f2a455ffb6959fb0d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_131316v2: b87a8b85562fc94e2314b61279ffa80b6c294cfa @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

e8e63b3044b0 drm/i915/bios: Use the platform's port_mask when there is no VBT 06ffe2a3fb97 drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()

== Logs ==

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