diff options
| author | Chris Wilson <[email protected]> | 2018-10-01 15:47:54 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-10-01 20:34:21 +0100 |
| commit | e2f3496e93be3238de2e2e6bfc83b3a83c084ce5 (patch) | |
| tree | d231482d8b3f4a2343484673692754d2ecd2c7d8 /tools/perf/scripts/python | |
| parent | b16c765122f987056e1dc9ef6c214571bb5bd694 (diff) | |
drm/i915: Pull scheduling under standalone lock
Currently, the backend scheduling code abuses struct_mutex into order to
have a global lock to manipulate a temporary list (without widespread
allocation) and to protect against list modifications. This is an
extraneous coupling to struct_mutex and further can not extend beyond
the local device.
Pull all the code that needs to be under the one true lock into
i915_scheduler.c, and make it so.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions