All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Read DPCD when connector forced on.
@ 2016-04-01 16:20 Bob Paauwe
  2016-04-01 17:03 ` ✗ Fi.CI.BAT: failure for " Patchwork
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Paauwe @ 2016-04-01 16:20 UTC (permalink / raw)
  To: intel-gfx

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.

Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com>
---
 drivers/gpu/drm/i915/intel_dp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 8aa9214..39b7f6d 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -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);
-- 
2.4.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* ✗ Fi.CI.BAT: failure for drm/i915: Read DPCD when connector forced on.
  2016-04-01 16:20 [PATCH] drm/i915: Read DPCD when connector forced on Bob Paauwe
@ 2016-04-01 17:03 ` Patchwork
  2016-04-01 17:53   ` Bob Paauwe
  0 siblings, 1 reply; 3+ messages in thread
From: Patchwork @ 2016-04-01 17:03 UTC (permalink / raw)
  To: Bob Paauwe; +Cc: intel-gfx

== 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
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ✗ Fi.CI.BAT: failure for drm/i915: Read DPCD when connector forced on.
  2016-04-01 17:03 ` ✗ Fi.CI.BAT: failure for " Patchwork
@ 2016-04-01 17:53   ` Bob Paauwe
  0 siblings, 0 replies; 3+ messages in thread
From: Bob Paauwe @ 2016-04-01 17:53 UTC (permalink / raw)
  To: Patchwork; +Cc: intel-gfx

On Fri, 1 Apr 2016 17:03:37 +0000
Patchwork <patchwork@emeril.freedesktop.org> wrote:

> == 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
Unrelated: CPU pipe A FIFO underrun and test is not using DP ports.

>         Subgroup basic-flip-vs-wf_vblank:
>                 pass       -> FAIL       (snb-x220t)
Failure is on vga connector so unrelated to code change in DP code.

> 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.
> 



-- 
--
Bob Paauwe                  
Bob.J.Paauwe@intel.com
IOTG / PED Software Organization
Intel Corp.  Folsom, CA
(916) 356-6193    

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-01 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01 16:20 [PATCH] drm/i915: Read DPCD when connector forced on Bob Paauwe
2016-04-01 17:03 ` ✗ Fi.CI.BAT: failure for " Patchwork
2016-04-01 17:53   ` Bob Paauwe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.