[Bug 71267] sna: (Haswell) X-server freezes when enabling DP at docking station
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 8 11:33:43 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=71267
--- Comment #10 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ah, we maybe corrupting the panel_vdd_work item. Try
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index bf961698f847..6ac2303f33db 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1161,9 +1161,14 @@ void ironlake_edp_panel_vdd_off(struct intel_dp
*intel_dp, bool sync)
return;
WARN(!intel_dp->want_panel_vdd, "eDP VDD not forced on");
-
intel_dp->want_panel_vdd = false;
+ if (cancel_delayed_work(&intel_dp->panel_vdd_work)) {
+ mutex_unlock(&dev->mode_config.mutex);
+ cancel_delayed_work_sync(&intel_dp->panel_vdd_work);
+ mutex_lock(&dev->mode_config.mutex);
+ }
+
if (sync) {
ironlake_panel_vdd_off_sync(intel_dp);
} else {
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20131108/f231c8ea/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list