<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - sna: (Haswell) X-server freezes when enabling DP at docking station"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71267#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO --- - sna: (Haswell) X-server freezes when enabling DP at docking station"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71267">bug 71267</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=71267#c24">comment #24</a>)
<span class="quote">> I even tried this in ironlake_panel_vdd_work() before it locks
> mode_config.mutex:
>
> if (mutex_is_locked(&dev->mode_config.mutex))
> mutex_unlock(&dev->mode_config.mutex);
>
> I know that's not atomic. But, in case of the bug it runs into the if-clause
> (so, the mutex is locked) and gives a warning about an unbalanced unlock.
> Then it moves on and ironlake_panel_vdd_work() gets stuck when trying to
> lock mode_config.mutex.</span >
Hmm, I was expecting that the warning would be from along the path that was
already holding the lock. Is that so? Can you please attach the dmesg with this
hack applied?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>