aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2011-03-19 18:14:26 -0700
committerKeith Packard <[email protected]>2011-05-10 13:56:40 -0700
commit2c34b850ee1e9f86b41706149d0954eee58757a3 (patch)
treee2c62976d4efd5b88f5914fdb91ff5f110328823 /tools/perf/scripts/python
parent273e27ca8081095a1bdf65276d4b645215ad1c57 (diff)
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 <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Keith Packard <[email protected]> Signed-off-by: Keith Packard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions