diff options
| author | Ben Widawsky <ben@bwidawsk.net> | 2011-03-19 18:14:26 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-05-10 13:56:40 -0700 |
| commit | 2c34b850ee1e9f86b41706149d0954eee58757a3 (patch) | |
| tree | e2c62976d4efd5b88f5914fdb91ff5f110328823 /scripts/patch-kernel | |
| parent | drm/i915: Fold the DPLL limit defines into the structs that use them. (diff) | |
| download | linux-2c34b850ee1e9f86b41706149d0954eee58757a3.tar.gz 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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
