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

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.