drm/i915/icl: replace check for combo phy
Subsystems (2)
PATCH 1/1 drm/i915/icl: replace check for combo phy
These are the only places that assume ports A and B are the ones with combo phy. Let's use intel_port_is_combophy() there to make sure it check for combo phy ports the same way everywhere.
--- drivers/gpu/drm/i915/intel_combo_phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_combo_phy.c +2 -2
@@ -199,7 +199,7 @@ void icl_combo_phys_init(struct drm_i915_private *dev_priv) {enum port port; -for (port =PORT_A ; port <=PORT_B ; port++) { +for (port =PORT_A ;intel_port_is_combophy (dev_priv, port); port++) {u32 val;if (icl_combo_phy_verify_state (dev_priv, port)) {
@@ -228,7 +228,7 @@ void icl_combo_phys_uninit(struct drm_i915_private *dev_priv) {enum port port; -for (port =PORT_A ; port <=PORT_B ; port++) { +for (port =PORT_A ;intel_port_is_combophy (dev_priv, port); port++) {u32 val;if (!icl_combo_phy_verify_state (dev_priv, port))
Signature · 6 lines
2.19.1.1.g56c4683e68 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 23 lines · Lucas De Marchi
These are the only places that assume ports A and B are the ones with combo phy. Let's use
intel_port_is_combophy()there to make sure it check for combo phy ports the same way everywhere.Signed-off-by Lucas De Marchi <[email protected]>--- drivers/gpu/drm/i915/intel_combo_phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_combo_phy.c +1
-1@@ -199,7 +199,7 @@ void icl_combo_phys_init(struct drm_i915_private *dev_priv) {enum port port; -for (port =PORT_A ; port <=PORT_B ; port++) { +for (port =PORT_A ;intel_port_is_combophy (dev_priv, port); port++) {u32 val;if (icl_combo_phy_verify_state (dev_priv, port)) {
drivers/gpu/drm/i915/intel_combo_phy.c void icl_combo_phys_uninit(struct drm_i915_private *dev_priv) · line 231
Quoted 5 lines
drivers/gpu/drm/i915/intel_combo_phy.c +1
-1@@ -228,7 +228,7 @@ void icl_combo_phys_uninit(struct drm_i915_private *dev_priv) {enum port port; -for (port =PORT_A ; port <=PORT_B ; port++) { +for (port =PORT_A ;intel_port_is_combophy (dev_priv, port); port++) {
Would be better to reverse at one point the uninit order as Jose noticed, so could we have a for_each_combophy_port / for_each_combophy_port_rev instead?
Quoted 6 lines
drivers/gpu/drm/i915/intel_combo_phy.c +0
-0u32 val;if (!icl_combo_phy_verify_state (dev_priv, port))Signature · 1 line
2.19.1.1.g56c4683e68
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 27 lines · Imre Deak
Quoted 26 lines · Lucas De Marchi
These are the only places that assume ports A and B are the ones with combo phy. Let's use
intel_port_is_combophy()there to make sure it check for combo phy ports the same way everywhere.Signed-off-by Lucas De Marchi <[email protected]>--- drivers/gpu/drm/i915/intel_combo_phy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_combo_phy.c +1
-1@@ -199,7 +199,7 @@ void icl_combo_phys_init(struct drm_i915_private *dev_priv) {enum port port; -for (port =PORT_A ; port <=PORT_B ; port++) { +for (port =PORT_A ;intel_port_is_combophy (dev_priv, port); port++) {u32 val;if (icl_combo_phy_verify_state (dev_priv, port)) {@@ -228,7 +228,7 @@ void icl_combo_phys_uninit(struct drm_i915_private *dev_priv) {enum port port;
Quoted 6 lines
drivers/gpu/drm/i915/intel_combo_phy.c void icl_combo_phys_uninit(struct drm_i915_private *dev_priv) · line 231
Quoted 2 lines
drivers/gpu/drm/i915/intel_combo_phy.c +1
-1-for (port =PORT_A ; port <=PORT_B ; port++) { +for (port =PORT_A ;intel_port_is_combophy (dev_priv, port); port++) {Would be better to reverse at one point the uninit order as Jose noticed, so could we have a
for_each_combophy_port/for_each_combophy_port_revinstead?
I have another series I'm preparing to keep the phy type. I was planning to add such define there, but I can move it here.
I see doing the uninit in reverse order as not really required, but I'm adding a commit to change that.
thanks
Lucas De Marchi
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/intel_combo_phy.c +0
-0u32 val;if (!icl_combo_phy_verify_state (dev_priv, port))Signature · 1 line
2.19.1.1.g56c4683e68
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915/icl: replace check for combo phy
In reply to Lucas De Marchi== Series Details ==
== Series Details ==
Series: drm/i915/icl: replace check for combo phy
URL : https://patchwork.freedesktop.org/series/52269/
State : failure
== Summary ==
= CI Bug Log - changes from CI_DRM_5107 -> Patchwork_10782 =
== Summary - FAILURE ==
Serious unknown changes coming with Patchwork_10782 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_10782, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/52269/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_10782:
=== IGT changes ===
==== Possible regressions ====
igt@drv_selftest@live_hangcheck:
fi-bwr-2160: PASS -> DMESG-FAIL== Known issues ==
Here are the changes found in Patchwork_10782 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_module_reload@basic-no-display:
fi-byt-clapper: PASS -> WARN (fdo#108688)
igt@gem_ctx_create@basic-files:
fi-icl-u2: PASS -> DMESG-WARN (fdo#107724)
igt@gem_exec_suspend@basic-s3:
fi-blb-e6850: PASS -> INCOMPLETE (fdo#107718)
fi-icl-u: PASS -> INCOMPLETE (fdo#107713)
==== Possible fixes ====
igt@gem_ctx_create@basic-files:
fi-bsw-kefka: FAIL (fdo#108656) -> PASS
igt@kms_frontbuffer_tracking@basic:
fi-icl-u2: FAIL (fdo#103167) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
fi-byt-clapper: FAIL (fdo#107362, fdo#103191) -> PASS +2 fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107713 https://bugs.freedesktop.org/show_bug.cgi?id=107713
fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718
fdo#107724 https://bugs.freedesktop.org/show_bug.cgi?id=107724
fdo#108656 https://bugs.freedesktop.org/show_bug.cgi?id=108656
fdo#108688 https://bugs.freedesktop.org/show_bug.cgi?id=108688
== Participating hosts (53 -> 47) ==
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-snb-2520m fi-ctg-p8600
== Build changes ==
* Linux: CI_DRM_5107 -> Patchwork_10782
CI_DRM_5107: b07f30fa49a617aa13678e39763bced4bf3a69e4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4714: cab148ca3ec904a94d0cd43476cf7e1f8663f906 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10782: 60be786cd276e358fe1753312c529c5d2e291a8c @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
60be786cd276 drm/i915/icl: replace check for combo phy
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10782/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915/icl: replace check for combo phy
In reply to Lucas De Marchi== Series Details ==
== Series Details ==
Series: drm/i915/icl: replace check for combo phy
URL : https://patchwork.freedesktop.org/series/52269/
State : failure
== Summary ==
= CI Bug Log - changes from CI_DRM_5109 -> Patchwork_10787 =
== Summary - FAILURE ==
Serious unknown changes coming with Patchwork_10787 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_10787, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/52269/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_10787:
=== IGT changes ===
==== Possible regressions ====
igt@drv_selftest@live_hangcheck:
fi-skl-6700k2: PASS -> INCOMPLETE== Known issues ==
Here are the changes found in Patchwork_10787 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_frontbuffer_tracking@basic:
fi-byt-clapper: PASS -> FAIL (fdo#103167)
igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
fi-byt-clapper: PASS -> FAIL (fdo#103191, fdo#107362)
==== Possible fixes ====
igt@drv_selftest@live_contexts:
fi-bsw-n3050: DMESG-FAIL (fdo#108626) -> PASS
igt@gem_ctx_create@basic-files:
fi-icl-u2: DMESG-WARN (fdo#107724) -> PASS
igt@gem_exec_suspend@basic-s3:
fi-blb-e6850: INCOMPLETE (fdo#107718) -> PASS
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence:
fi-byt-clapper: FAIL (fdo#103191, fdo#107362) -> PASS
==== Warnings ====
igt@kms_chamelium@common-hpd-after-suspend:
fi-skl-6700k2: WARN (fdo#108680) -> FAIL (fdo#103841) fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718
fdo#107724 https://bugs.freedesktop.org/show_bug.cgi?id=107724
fdo#108626 https://bugs.freedesktop.org/show_bug.cgi?id=108626
fdo#108680 https://bugs.freedesktop.org/show_bug.cgi?id=108680
== Participating hosts (53 -> 46) ==
Additional (1): fi-pnv-d510
Missing (8): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-snb-2520m fi-ctg-p8600 fi-icl-u
== Build changes ==
* Linux: CI_DRM_5109 -> Patchwork_10787
CI_DRM_5109: fd007cc63a9d60ac2a6f966a3c790e710aa8ca94 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4714: cab148ca3ec904a94d0cd43476cf7e1f8663f906 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10787: 36802a2cb188bf89fb61a60e27d5475acc324472 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
36802a2cb188 drm/i915/icl: replace check for combo phy
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10787/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx