diff options
| author | Chris Wilson <[email protected]> | 2019-08-19 21:07:05 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-19 22:44:00 +0100 |
| commit | 64b95df91f44837f961321a6c555409885ca59c4 (patch) | |
| tree | 82ab8e8532bef2d5816cff53a95b84726082feb6 /tools/perf/scripts/python/sched-migration.py | |
| parent | cc3375607d79c368ec1dbeb4c2922371fffa19ca (diff) | |
drm/i915: Assume exclusive access to objects inside resume
Inside gtt_restore_mappings() we currently take the obj->resv->lock, but
in the future we need to avoid taking this fs-reclaim tainted lock as we
need to extend the coverage of the vm->mutex. Take advantage of the
single-threaded nature of the early resume phase, and do a single
wbinvd() to flush all the GTT objects en masse.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions