Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+"
Subsystems (3)
PATCH 1/1 Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+"
The initial CI results did not include a TGL system which includes a panel that is having issues with patch. Revert while we triage.
This reverts commit 680c45c767f63e35f063d3ea04f388a9f7ae7079.
--- drivers/gpu/drm/i915/display/intel_dp.c | 28 +++++++++++++++---------- 1 file changed, 17 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +17 -11
@@ -137,8 +137,6 @@ static const u8 valid_dsc_slicecount[] = {1, 2, 4};* * If a CPU or PCH DP output is attached to an eDP panel, this function * will return true, and false otherwise. -* -* This function is not safe to use prior to encoder type being set. */ bool intel_dp_is_edp (struct intel_dp *intel_dp) {
@@ -8159,6 +8157,8 @@ intel_dp_init_connector(struct intel_digital_port *dig_port, intel_encoder->base.name))return false; +intel_dp_set_source_rates (intel_dp); + intel_dp->reset_link_params = true; intel_dp->pps_pipe =INVALID_PIPE ; intel_dp->active_pipe =INVALID_PIPE ;
@@ -8174,22 +8174,28 @@ intel_dp_init_connector(struct intel_digital_port *dig_port,*/ drm_WARN_ON (dev,intel_phy_is_tc (dev_priv, phy)); type = DRM_MODE_CONNECTOR_eDP; - intel_encoder->type =INTEL_OUTPUT_EDP ; - -/* eDP only on port B and/or C on vlv/chv */ -if (drm_WARN_ON (dev, (IS_VALLEYVIEW (dev_priv) || -IS_CHERRYVIEW (dev_priv)) && - port !=PORT_B && port !=PORT_C )) -return false; }else { type = DRM_MODE_CONNECTOR_DisplayPort; } -intel_dp_set_source_rates (intel_dp); -if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) intel_dp->active_pipe =vlv_active_pipe (intel_dp); +/* +* For eDP we always set the encoder type to INTEL_OUTPUT_EDP, but +* for DP the encoder type can be set by the caller to +* INTEL_OUTPUT_UNKNOWN for DDI, so don't rewrite it. +*/ +if (type == DRM_MODE_CONNECTOR_eDP) + intel_encoder->type =INTEL_OUTPUT_EDP ; + +/* eDP only on port B and/or C on vlv/chv */ +if (drm_WARN_ON (dev, (IS_VALLEYVIEW (dev_priv) || +IS_CHERRYVIEW (dev_priv)) && +intel_dp_is_edp (intel_dp) && + port !=PORT_B && port !=PORT_C )) +return false; + drm_dbg_kms(&dev_priv->drm, "Adding %s connector on [ENCODER:%d:%s]\n", type == DRM_MODE_CONNECTOR_eDP ? "eDP" : "DP",
Signature · 6 lines
2.21.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 4 lines · Matt Atwood
The initial CI results did not include a TGL system which includes a panel that is having issues with patch. Revert while we triage.
This reverts commit
680c45c767f63e35f063d3ea04f388a9f7ae7079.
Missing the Signed-off-by line also the commit references should follow this format "2850748ef876 ("drm/i915: Pull i915_vma_pin under the vm-
Quoted 1 line
mutex")".
Please CC me in the updated version.
Quoted 54 lines
--- drivers/gpu/drm/i915/display/intel_dp.c | 28 +++++++++++++++---------- 1 file changed, 17 insertions(+), 11 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +10
-11@@ -137,8 +137,6 @@ static const u8 valid_dsc_slicecount[] = {1, 2, 4};* * If a CPU or PCH DP output is attached to an eDP panel, this function * will return true, and false otherwise. -* -* This function is not safe to use prior to encoder type being set. */ bool intel_dp_is_edp (struct intel_dp *intel_dp) {@@ -8159,6 +8157,8 @@ intel_dp_init_connector(struct intel_digital_port *dig_port, intel_encoder->base.name))return false; +intel_dp_set_source_rates (intel_dp); + intel_dp->reset_link_params = true; intel_dp->pps_pipe =INVALID_PIPE ; intel_dp->active_pipe =INVALID_PIPE ;@@ -8174,22 +8174,28 @@ intel_dp_init_connector(struct intel_digital_port *dig_port,*/ drm_WARN_ON (dev,intel_phy_is_tc (dev_priv, phy)); type = DRM_MODE_CONNECTOR_eDP; - intel_encoder->type =INTEL_OUTPUT_EDP ; - -/* eDP only on port B and/or C on vlv/chv */ -if (drm_WARN_ON (dev, (IS_VALLEYVIEW (dev_priv) || -IS_CHERRYVIEW (dev_priv)) && - port !=PORT_B && port !=PORT_C )) -return false; }else { type = DRM_MODE_CONNECTOR_DisplayPort; } -intel_dp_set_source_rates (intel_dp); -if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) intel_dp->active_pipe =vlv_active_pipe (intel_dp); +/* +* For eDP we always set the encoder type to INTEL_OUTPUT_EDP, but +* for DP the encoder type can be set by the caller to +* INTEL_OUTPUT_UNKNOWN for DDI, so don't rewrite it. +*/ +if (type == DRM_MODE_CONNECTOR_eDP) + intel_encoder->type =INTEL_OUTPUT_EDP ; +
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_init_connector(struct intel_digital_port *dig_port, · line 8201
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +7
-0+/* eDP only on port B and/or C on vlv/chv */ +if (drm_WARN_ON (dev, (IS_VALLEYVIEW (dev_priv) || +IS_CHERRYVIEW (dev_priv)) && +intel_dp_is_edp (intel_dp) && + port !=PORT_B && port !=PORT_C )) +return false; + drm_dbg_kms(&dev_priv->drm, "Adding %s connector on [ENCODER:%d:%s]\n", type == DRM_MODE_CONNECTOR_eDP ? "eDP" : "DP",
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 9 lines · Jose
Quoted 4 lines · Matt Atwood
The initial CI results did not include a TGL system which includes a panel that is having issues with patch. Revert while we triage.
This reverts commit
680c45c767f63e35f063d3ea04f388a9f7ae7079.Missing the Signed-off-by line also the commit references should follow this format "
2850748ef876("drm/i915: Pulli915_vma_pinunder the vm-Quoted 1 line
mutex")".
Please CC me in the updated version.
Arent these references for the Fixes , I see that revert references have always been a full SHA like Matt has in his patch?
Can you review his v2?
Regards
Manasi
Quoted 57 lines
Quoted 57 lines
--- drivers/gpu/drm/i915/display/intel_dp.c | 28 +++++++++++++++---------- 1 file changed, 17 insertions(+), 11 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +12
-11@@ -137,8 +137,6 @@ static const u8 valid_dsc_slicecount[] = {1, 2, 4};* * If a CPU or PCH DP output is attached to an eDP panel, this function * will return true, and false otherwise. -* -* This function is not safe to use prior to encoder type being set. */ bool intel_dp_is_edp (struct intel_dp *intel_dp) {@@ -8159,6 +8157,8 @@ intel_dp_init_connector(struct intel_digital_port *dig_port, intel_encoder->base.name))return false; +intel_dp_set_source_rates (intel_dp); + intel_dp->reset_link_params = true; intel_dp->pps_pipe =INVALID_PIPE ; intel_dp->active_pipe =INVALID_PIPE ;@@ -8174,22 +8174,28 @@ intel_dp_init_connector(struct intel_digital_port *dig_port,*/ drm_WARN_ON (dev,intel_phy_is_tc (dev_priv, phy)); type = DRM_MODE_CONNECTOR_eDP; - intel_encoder->type =INTEL_OUTPUT_EDP ; - -/* eDP only on port B and/or C on vlv/chv */ -if (drm_WARN_ON (dev, (IS_VALLEYVIEW (dev_priv) || -IS_CHERRYVIEW (dev_priv)) && - port !=PORT_B && port !=PORT_C )) -return false; }else { type = DRM_MODE_CONNECTOR_DisplayPort; } -intel_dp_set_source_rates (intel_dp); -if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) intel_dp->active_pipe =vlv_active_pipe (intel_dp); +/* +* For eDP we always set the encoder type to INTEL_OUTPUT_EDP, but +* for DP the encoder type can be set by the caller to +* INTEL_OUTPUT_UNKNOWN for DDI, so don't rewrite it. +*/ +if (type == DRM_MODE_CONNECTOR_eDP) + intel_encoder->type =INTEL_OUTPUT_EDP ; + +/* eDP only on port B and/or C on vlv/chv */ + if (drm_WARN_ON(dev, (IS_VALLEYVIEW(dev_priv) ||
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_init_connector(struct intel_digital_port *dig_port, · line 8201
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_dp.c +5
-0+ IS_CHERRYVIEW(dev_priv)) && +intel_dp_is_edp (intel_dp) && + port != PORT_B && port != PORT_C)) + return false; + drm_dbg_kms(&dev_priv->drm, "Adding %s connector on [ENCODER:%d:%s]\n", type == DRM_MODE_CONNECTOR_eDP ? "eDP" : "DP",
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+"
In reply to Matt Atwood== Series Details ==
== Series Details ==
Series: Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+"
URL : https://patchwork.freedesktop.org/series/79065/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 138679950a74 Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+" -:70: ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)
total: 1 errors, 0 warnings, 0 checks, 53 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+"
In reply to Matt Atwood== Series Details ==
== Series Details ==
Series: Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+"
URL : https://patchwork.freedesktop.org/series/79065/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8701 -> Patchwork_18075
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/index.html
Known issues
------------
Here are the changes found in Patchwork_18075 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s0:
- fi-tgl-u2: [PASS][1] -> [FAIL][2] ([i915#1888])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-tgl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-tgl-u2/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-bsw-kefka: [PASS][3] -> [DMESG-WARN][4] ([i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-bsw-kefka/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-bsw-kefka/igt@[email protected]
* igt@kms_busy@basic@flip:
- fi-kbl-x1275: [PASS][5] -> [DMESG-WARN][6] ([i915#62] / [i915#92] / [i915#95])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-kbl-x1275/igt@kms_busy@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-kbl-x1275/igt@kms_busy@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-byt-j1900: [PASS][7] -> [DMESG-WARN][8] ([i915#1982])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-byt-j1900/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-byt-j1900/igt@[email protected]
#### Possible fixes ####
* igt@i915_module_load@reload:
- fi-kbl-soraka: [DMESG-WARN][9] ([i915#1982]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-kbl-soraka/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-kbl-soraka/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-byt-j1900: [DMESG-WARN][11] ([i915#1982]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-byt-j1900/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-byt-j1900/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-byt-n2820: [DMESG-WARN][13] ([i915#1982]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-byt-n2820/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-byt-n2820/igt@[email protected]
* igt@kms_flip@basic-flip-vs-wf_vblank@b-edp1:
- fi-icl-u2: [DMESG-WARN][15] ([i915#1982]) -> [PASS][16] +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-icl-u2/igt@kms_flip@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-icl-u2/igt@kms_flip@[email protected]
#### Warnings ####
* igt@kms_flip@basic-flip-vs-modeset@a-dp1:
- fi-kbl-x1275: [DMESG-WARN][17] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][18] ([i915#62] / [i915#92]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-kbl-x1275/igt@kms_flip@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-kbl-x1275/igt@kms_flip@[email protected]
* igt@kms_force_connector_basic@force-edid:
- fi-kbl-x1275: [DMESG-WARN][19] ([i915#62] / [i915#92]) -> [DMESG-WARN][20] ([i915#62] / [i915#92] / [i915#95]) +4 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8701/fi-kbl-x1275/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/fi-kbl-x1275/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (43 -> 37)
------------------------------
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_8701 -> Patchwork_18075
CI-20190529: 20190529
CI_DRM_8701: e8928842c1e08792ccc1ef222dd3d428236ac489 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5720: f35053d4b6d7bbcf6505ef67a8bd56acc7fb2eb2 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_18075: 138679950a745d3b370ab3aa24263823db5497fa @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
138679950a74 Revert "drm/i915/dp: Correctly advertise HBR3 for GEN11+"
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18075/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx