summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.h
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2011-03-19 18:14:26 -0700
committerKeith Packard <keithp@keithp.com>2011-05-10 13:56:40 -0700
commit2c34b850ee1e9f86b41706149d0954eee58757a3 (patch)
treee2c62976d4efd5b88f5914fdb91ff5f110328823 /drivers/gpu/drm/i915/intel_ringbuffer.h
parent273e27ca8081095a1bdf65276d4b645215ad1c57 (diff)
downloadtalos-obmc-linux-2c34b850ee1e9f86b41706149d0954eee58757a3.tar.gz
talos-obmc-linux-2c34b850ee1e9f86b41706149d0954eee58757a3.zip
drm/i915: fix ilk rc6 teardown locking
In the failure cases during rc6 initialization, both the power context and render context may get !refcount without holding struct_mutex. However, on rc6 disabling, the lock is held by the caller. Rearranged the locking so that it's safe in both cases. Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud