drm/i915/bxt: Correct dual-link MIPI port control.
Subsystems (2)
PATCH 1/1 drm/i915/bxt: Correct dual-link MIPI port control.
For BXT, there is only one bit that enables/disables dual-link mode and not different bits depending on which pipe is being used.
--- drivers/gpu/drm/i915/intel_dsi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_dsi.c +4 -1
@@ -476,7 +476,10 @@ static void intel_dsi_port_enable(struct intel_encoder *encoder)if (intel_dsi->ports == (BIT (PORT_A ) |BIT (PORT_C ))) { temp |= (intel_dsi->dual_link -1 ) <<DUAL_LINK_MODE_SHIFT ; - temp |= intel_crtc->pipe ? +if (IS_BROXTON (dev_priv)) + temp |=LANE_CONFIGURATION_DUAL_LINK_A ; +else + temp |= intel_crtc->pipe ?LANE_CONFIGURATION_DUAL_LINK_B :LANE_CONFIGURATION_DUAL_LINK_A ; }
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915/bxt: Correct dual-link MIPI port control.
== Series Details ==
== Series Details ==
Series: drm/i915/bxt: Correct dual-link MIPI port control.
URL : https://patchwork.freedesktop.org/series/15690/
State : success
== Summary ==
Series 15690v1 drm/i915/bxt: Correct dual-link MIPI port control.
https://patchwork.freedesktop.org/api/1.0/series/15690/revisions/1/mbox/
Test drv_module_reload_basic:
dmesg-warn -> PASS (fi-skl-6770hq)
fi-bdw-5557u total:244 pass:229 dwarn:0 dfail:0 fail:0 skip:15 fi-bsw-n3050 total:244 pass:204 dwarn:0 dfail:0 fail:0 skip:40 fi-bxt-t5700 total:244 pass:216 dwarn:0 dfail:0 fail:0 skip:28 fi-byt-j1900 total:244 pass:216 dwarn:0 dfail:0 fail:0 skip:28 fi-byt-n2820 total:244 pass:212 dwarn:0 dfail:0 fail:0 skip:32 fi-hsw-4770 total:244 pass:224 dwarn:0 dfail:0 fail:0 skip:20 fi-hsw-4770r total:244 pass:224 dwarn:0 dfail:0 fail:0 skip:20 fi-ilk-650 total:244 pass:191 dwarn:0 dfail:0 fail:0 skip:53 fi-ivb-3520m total:244 pass:222 dwarn:0 dfail:0 fail:0 skip:22 fi-ivb-3770 total:244 pass:222 dwarn:0 dfail:0 fail:0 skip:22 fi-kbl-7200u total:244 pass:222 dwarn:0 dfail:0 fail:0 skip:22 fi-skl-6260u total:244 pass:230 dwarn:0 dfail:0 fail:0 skip:14 fi-skl-6700hq total:244 pass:223 dwarn:0 dfail:0 fail:0 skip:21 fi-skl-6700k total:244 pass:222 dwarn:1 dfail:0 fail:0 skip:21 fi-skl-6770hq total:244 pass:230 dwarn:0 dfail:0 fail:0 skip:14 fi-snb-2520m total:244 pass:212 dwarn:0 dfail:0 fail:0 skip:32 fi-snb-2600 total:244 pass:211 dwarn:0 dfail:0 fail:0 skip:33
eeec5e7742b23082dd20523c8baa08fe495175e4 drm-intel-nightly: 2016y-11m-21d-18h-22m-22s UTC integration manifest db004b2 drm/i915/bxt: Correct dual-link MIPI port control.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3075/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 13 lines · Bob Paauwe
For BXT, there is only one bit that enables/disables dual-link mode and not different bits depending on which pipe is being used.
Signed-off-by Bob Paauwe <[email protected]>--- drivers/gpu/drm/i915/intel_dsi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/intel_dsi.c +0
-0
drivers/gpu/drm/i915/intel_dsi.c static void intel_dsi_port_enable(struct intel_encoder *encoder) · line 484
Quoted 10 lines
drivers/gpu/drm/i915/intel_dsi.c +4
-1@@ -476,7 +476,10 @@ static void intel_dsi_port_enable(struct intel_encoder *encoder)if (intel_dsi->ports == (BIT (PORT_A ) |BIT (PORT_C ))) { temp |= (intel_dsi->dual_link -1 ) <<DUAL_LINK_MODE_SHIFT ; - temp |= intel_crtc->pipe ? +if (IS_BROXTON (dev_priv)) + temp |=LANE_CONFIGURATION_DUAL_LINK_A ; +else + temp |= intel_crtc->pipe ?LANE_CONFIGURATION_DUAL_LINK_B :LANE_CONFIGURATION_DUAL_LINK_A ;
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 18 lines · Ville Syrjälä
Quoted 17 lines · Bob Paauwe
For BXT, there is only one bit that enables/disables dual-link mode and not different bits depending on which pipe is being used.
Signed-off-by Bob Paauwe <[email protected]>--- drivers/gpu/drm/i915/intel_dsi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/intel_dsi.c +0
-1@@ -476,7 +476,10 @@ static void intel_dsi_port_enable(struct intel_encoder *encoder)if (intel_dsi->ports == (BIT (PORT_A ) |BIT (PORT_C ))) { temp |= (intel_dsi->dual_link -1 ) <<DUAL_LINK_MODE_SHIFT ; - temp |= intel_crtc->pipe ?
Quoted 8 lines
drivers/gpu/drm/i915/intel_dsi.c static void intel_dsi_port_enable(struct intel_encoder *encoder) · line 484
Quoted 6 lines
drivers/gpu/drm/i915/intel_dsi.c +4
-0+if (IS_BROXTON (dev_priv)) + temp |=LANE_CONFIGURATION_DUAL_LINK_A ; +else + temp |= intel_crtc->pipe ?LANE_CONFIGURATION_DUAL_LINK_B :LANE_CONFIGURATION_DUAL_LINK_A ;Reviewed-by Ville Syrjälä <[email protected]>
And pushed to dinq. Thanks for the patch.
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx