diff options
| author | 2011-03-19 18:14:26 -0700 | |
|---|---|---|
| committer | 2011-05-10 13:56:40 -0700 | |
| commit | 2c34b850ee1e9f86b41706149d0954eee58757a3 (patch) | |
| tree | e2c62976d4efd5b88f5914fdb91ff5f110328823 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915: Fold the DPLL limit defines into the structs that use them. (diff) | |
| download | linux-dev-2c34b850ee1e9f86b41706149d0954eee58757a3.tar.xz linux-dev-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.c')
0 files changed, 0 insertions, 0 deletions
