commit | 5e118f4139feafe97e913df67b1f7c1e5083e535 | [log] [tgz] |
---|---|---|
author | Carl Worth <cworth@cworth.org> | Fri Mar 20 11:54:25 2009 -0700 |
committer | Eric Anholt <eric@anholt.net> | Wed Apr 01 15:22:07 2009 -0700 |
tree | a4d73fb1bb51083ab95b6167c6a8c621f6245a63 | |
parent | 7026d4ac1fc134566c2c946e6c0d849fc03ba7b7 [diff] |
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 <cworth@cworth.org> [anholt: indentation fix] Signed-off-by: Eric Anholt <eric@anholt.net>