<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Regression with Dell TB16 dock and Linux kernel 4.16.x"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106250#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Regression with Dell TB16 dock and Linux kernel 4.16.x"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106250">bug 106250</a>
from <span class="vcard"><a class="email" href="mailto:stanislav.lisovskiy@intel.com" title="Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>"> <span class="fn">Stanislav Lisovskiy</span></a>
</span></b>
<pre>I think, I could fix the mentioned above issues, at least on mine machine.
The issue here actually consists of two issues: first one is something about
Thunderbolt docking station initialization, it seems that it doesn't work
properly if it is used as a separate module(periodically I had disconnecting
mouse and keyboard, also dislpay). After I started using Thunderbolt as part of
kernel it got significantly better.
The second one, i.e black screen seems to be caused by wrong watermark
calculations, after adding drm.debug I could see multiple error messages from
skl_compute_wm function telling that "requested configuration exceeds maximum
wm level". To check this hypothesis, I've implemented a small hack, so that if
required res_blocks turns out to be >= than ddb_allocation that just assign.
After those changes I don't get black screen anymore, even after multiple
connecting/disconnecting Thunderbolts USB-C cable.
However some USB peripherals might still stop working after that, which I
believe is a USB hub related problem.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>