[Intel-gfx] [PATCH] drm/i915: Read DPCD when connector forced on.
Bob Paauwe
bob.j.paauwe at intel.com
Fri Apr 1 16:20:46 UTC 2016
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 at 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
More information about the Intel-gfx
mailing list