From: Carl Worth Date: Fri, 20 Mar 2009 18:54:25 +0000 (-0700) Subject: drm/i915: Add a spinlock to protect the active_list X-Git-Tag: v2.6.30-rc1~245^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e118f4139feafe97e913df67b1f7c1e5083e535;p=pandora-kernel.git drm/i915: Add a spinlock to protect the active_list This is a baby-step in the direction of having finer-grained locking than the struct_mutex. Specifically, this will enable new debugging code to read the active list for printing out GPU state when the GPU is wedged, (while the struct_mutex is held, of course). Signed-off-by: Carl Worth [anholt: indentation fix] Signed-off-by: Eric Anholt --- Reading git-diff-tree failed