From: Daniel Vetter Date: Thu, 4 Jul 2013 21:35:27 +0000 (+0200) Subject: drm/i915: queue work outside spinlock in hsw_pm_irq_handler X-Git-Tag: v3.12-rc1~136^2~165^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2adbee62e00d869a30cb93ea2269e5ea26a9bbc4;p=pandora-kernel.git drm/i915: queue work outside spinlock in hsw_pm_irq_handler And kill the comment about it. Queueing work is a barrier type event, no amount of locking will help in ordering things (as long as we queue the work after having updated all relevant data structures). Also, the queue_work works itself as a sufficient memory barrier. Again on the surface this is just a tiny micro-optimization to reduce the hold-time of dev_priv->irq_lock. But the better reason is that it reduces superficial locking and so makes it clearer what we actually need for correctness. Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed