From: Daniel Vetter Date: Wed, 30 Jan 2013 14:59:57 +0000 (+0100) Subject: drm/i915: kill cargo-culted locking from power well code X-Git-Tag: v3.9-rc1~83^2~36^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b25a88752e8e9dc33c700712059b094d3da3219;p=pandora-kernel.git drm/i915: kill cargo-culted locking from power well code We may not concurrently change the power wells code. Which is already guaranteed since modesets aren't concurrent. That leaves races against setup/teardown/suspend/resume, and for those we already (try) rather hard not to hit concurrent modesets. No debug WARN_ON added since that would require us to grab the modeset locks in init/suspend code. Which is again just cargo culting since just grabbing the locks in those paths isn't good enough, we need the right order of operations, too. Cc: Paulo Zanoni Reviewed-by: Rodrigo Vivi Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed