diff options
| author | Ben Widawsky <ben@bwidawsk.net> | 2011-03-20 04:14:26 +0300 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-05-11 00:56:40 +0400 |
| commit | 2c34b850ee1e9f86b41706149d0954eee58757a3 (patch) | |
| tree | e2c62976d4efd5b88f5914fdb91ff5f110328823 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 273e27ca8081095a1bdf65276d4b645215ad1c57 (diff) | |
| download | linux-2c34b850ee1e9f86b41706149d0954eee58757a3.tar.xz | |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
