[Bug 93578] [SKL] Intel HD 520 failed to train DP when connected with a external monitor

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 12 10:54:09 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93578

--- Comment #67 from Ville Syrjala <ville.syrjala at linux.intel.com> ---
(In reply to Mads from comment #66)
> Tested drm-intel-nightly f6a248e2507f98d7eb1f4fec8cfcbf685a33d289
> (4.9.0-rc8+), and the DA200 dongle still can't output high resolutions yet.
> XPS 15 9550.
> 
> Are there any new CONFIG options in the kernel we should make sure are
> enabled? USB-C-stuff?

There are none. That's really the problem. There is no USB-C driver/framework
which could tell us how the cable is configured to carry DP.

> 
> Why does USB-C -> DP work, but not USB-C -> DA200 -> HDMI? Are they not
> related at all? (I'm typing this on a 4k monitor connected through USB-C
> with a USB-C -> DP-dongle on the aforementioned XPS 15)

The number of required/used lanes may differ between the cases, and the cables
may be configured to use a different number of lanes for DP in each case. That
could explain why low resolution might work and high resolution might not (low
res needs fewer lanes). dmesgs (w/ drm.debug=0xe) from both low and high res
use cases on the bad dongle using a recent kernel could help prove that.

If you want to try a hideous hack, this might also help prove whether the
number of used lanes is part of the problem:

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index db75bb924e48..3655e47faf61 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -158,6 +158,9 @@ static u8 intel_dp_max_lane_count(struct intel_dp
*intel_dp)
        source_max = intel_dig_port->max_lanes;
        sink_max = drm_dp_max_lane_count(intel_dp->dpcd);

+       if (!is_edp(intel_dp))
+               sink_max = min(sink_max, 2);
+
        return min(source_max, sink_max);
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20161212/7dd49e1b/attachment.html>


More information about the intel-gfx-bugs mailing list