From: Daniel Vetter Date: Fri, 11 Jul 2014 17:30:15 +0000 (-0700) Subject: drm/i915: Add locking to psr code X-Git-Tag: omap-for-v3.17/fixes-against-rc2~125^2~20^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0355c4a9eaf4cb803930d9fe6a26fb46846e576;p=pandora-kernel.git drm/i915: Add locking to psr code It's not really optional to have locking ... The ugly part is how much locking the psr work needs since it has to recheck everything. Which is way too much. But we need to ditch the psr work in it's current form anyway and implement proper frontbuffer tracking. The other nasty bit that had to go was the delayed work cancle in psr_exit. Which means a bunch of races just became a bit more likely, but mea culpa. v2: Fixup HAS_PSR checks, resulting in uninitialized mutex issues. Reviewed-by: Rodrigo Vivi Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed