Skip to contentSkip to conversation

drm/i915: Read DPCD when connector forced on.

PATCH In review Bob Paauwe 2 participants 3 messages Apr 1, 2016

Subsystems (2)
lore
Share & tools
lore

Bob Paauwe

author
#0 lore raw

PATCH 1/1 drm/i915: Read DPCD when connector forced on.

When a DP connector is forced on using using the video=<connector>:e kernel command line, we bypass the calls to check if the port is connected and also bypass the call to intel_dp_detect_dpcd(); The result is that we don't query for the sink capabilities like the max link bandwidth. The sink capabilities are needed to set a mode.

The solution is to add a call to intel_dp_detect_dpcd() in the code path for forced on DP connectors.

---
 drivers/gpu/drm/i915/intel_dp.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/intel_dp.c +2 -0
index 8aa9214..39b7f6d 100644
@@ -4644,6 +4644,8 @@ intel_dp_force(struct drm_connector *connector)
 	power_domain = intel_display_port_aux_power_domain(intel_encoder);
 	intel_display_power_get(dev_priv, power_domain);
 
+	intel_dp_detect_dpcd(intel_dp);
+
 	intel_dp_set_edid(intel_dp);
 
 	intel_display_power_put(dev_priv, power_domain);
Signature · 6 lines
2.4.3

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

✗ Fi.CI.BAT: failure for drm/i915: Read DPCD when connector forced on.

== Series Details ==

== Series Details ==

Series: drm/i915: Read DPCD when connector forced on.
URL : https://patchwork.freedesktop.org/series/5185/
State : failure

== Summary ==

Series 5185v1 drm/i915: Read DPCD when connector forced on.
http://patchwork.freedesktop.org/api/1.0/series/5185/revisions/1/mbox/

Test kms_flip:

        Subgroup basic-flip-vs-modeset:
                pass       -> DMESG-WARN (ilk-hp8440p) UNSTABLE
        Subgroup basic-flip-vs-wf_vblank:
                pass       -> FAIL       (snb-x220t)
Test kms_force_connector_basic:
        Subgroup force-edid:
                skip       -> PASS       (ivb-t430s)
bdw-nuci7        total:196  pass:184  dwarn:0   dfail:0   fail:0   skip:12 
bdw-ultra        total:196  pass:175  dwarn:0   dfail:0   fail:0   skip:21 
bsw-nuc-2        total:196  pass:159  dwarn:0   dfail:0   fail:0   skip:37 
byt-nuc          total:196  pass:161  dwarn:0   dfail:0   fail:0   skip:35 
hsw-brixbox      total:196  pass:174  dwarn:0   dfail:0   fail:0   skip:22 
hsw-gt2          total:196  pass:179  dwarn:0   dfail:0   fail:0   skip:17 
ilk-hp8440p      total:196  pass:131  dwarn:1   dfail:0   fail:0   skip:64 
ivb-t430s        total:196  pass:171  dwarn:0   dfail:0   fail:0   skip:25 
skl-i7k-2        total:196  pass:173  dwarn:0   dfail:0   fail:0   skip:23 
skl-nuci5        total:196  pass:185  dwarn:0   dfail:0   fail:0   skip:11 
snb-dellxps      total:196  pass:162  dwarn:0   dfail:0   fail:0   skip:34 
snb-x220t        total:196  pass:161  dwarn:0   dfail:0   fail:2   skip:33 

Results at /archive/results/CI_IGT_test/Patchwork_1778/

38b47023a604068e2a222ac166f5f8ef7d56e352 drm-intel-nightly: 2016y-04m-01d-12h-04m-08s UTC integration manifest a73fbb388ca70b2ca76c82124fde009c47cc33cd drm/i915: Read DPCD when connector forced on.

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

author
#2 lore raw

Re: ✗ Fi.CI.BAT: failure for drm/i915: Read DPCD when connector forced on.

Quoted 6 lines · On Fri, 1 Apr 2016 17:03:37 +0000 Patchwork <[email protected]>…

== Series Details ==

Series: drm/i915: Read DPCD when connector forced on.
URL : https://patchwork.freedesktop.org/series/5185/
State : failure

Quoted 8 lines

== Summary ==

Series 5185v1 drm/i915: Read DPCD when connector forced on.
http://patchwork.freedesktop.org/api/1.0/series/5185/revisions/1/mbox/

Test kms_flip:

        Subgroup basic-flip-vs-modeset:
                pass       -> DMESG-WARN (ilk-hp8440p) UNSTABLE

Unrelated: CPU pipe A FIFO underrun and test is not using DP ports.

Quoted 2 lines
        Subgroup basic-flip-vs-wf_vblank:
                pass       -> FAIL       (snb-x220t)

Failure is on vga connector so unrelated to code change in DP code.

Quoted 22 lines

Test kms_force_connector_basic:

        Subgroup force-edid:
                skip       -> PASS       (ivb-t430s)
bdw-nuci7        total:196  pass:184  dwarn:0   dfail:0   fail:0   skip:12 
bdw-ultra        total:196  pass:175  dwarn:0   dfail:0   fail:0   skip:21 
bsw-nuc-2        total:196  pass:159  dwarn:0   dfail:0   fail:0   skip:37 
byt-nuc          total:196  pass:161  dwarn:0   dfail:0   fail:0   skip:35 
hsw-brixbox      total:196  pass:174  dwarn:0   dfail:0   fail:0   skip:22 
hsw-gt2          total:196  pass:179  dwarn:0   dfail:0   fail:0   skip:17 
ilk-hp8440p      total:196  pass:131  dwarn:1   dfail:0   fail:0   skip:64 
ivb-t430s        total:196  pass:171  dwarn:0   dfail:0   fail:0   skip:25 
skl-i7k-2        total:196  pass:173  dwarn:0   dfail:0   fail:0   skip:23 
skl-nuci5        total:196  pass:185  dwarn:0   dfail:0   fail:0   skip:11 
snb-dellxps      total:196  pass:162  dwarn:0   dfail:0   fail:0   skip:34 
snb-x220t        total:196  pass:161  dwarn:0   dfail:0   fail:2   skip:33 

Results at /archive/results/CI_IGT_test/Patchwork_1778/

38b47023a604068e2a222ac166f5f8ef7d56e352 drm-intel-nightly: 2016y-04m-01d-12h-04m-08s UTC integration manifest a73fbb388ca70b2ca76c82124fde009c47cc33cd drm/i915: Read DPCD when connector forced on.

Signature · 11 lines
--
Bob Paauwe                  
[email protected]
IOTG / PED Software Organization
Intel Corp.  Folsom, CA
(916) 356-6193    

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx