diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-11-21 13:05:28 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-11-21 13:22:04 +0000 |
| commit | 93b0e8fe4753e052d415284a0849ae878d852bf1 (patch) | |
| tree | c7d0ac5b8f1c1f5bf88c4cafa36262ce8ab08472 /tools/perf/scripts | |
| parent | c95d31c3df1b9ff29bcd85c47324e16d430bbd5a (diff) | |
| download | linux-93b0e8fe4753e052d415284a0849ae878d852bf1.tar.gz linux-93b0e8fe4753e052d415284a0849ae878d852bf1.zip | |
drm/i915: Mark intel_wakeref_get() as a sleeper
Assume that intel_wakeref_get() may take the mutex, and perform other
sleeping actions in the course of its callbacks and so use might_sleep()
to ensure that all callers abide. Anything that cannot sleep has to use
e.g. intel_wakeref_get_if_active() to guarantee its avoidance of the
non-atomic paths.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191121130528.309474-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
