diff options
author | 2019-08-19 21:07:05 +0100 | |
---|---|---|
committer | 2019-08-19 22:44:00 +0100 | |
commit | 64b95df91f44837f961321a6c555409885ca59c4 (patch) | |
tree | 82ab8e8532bef2d5816cff53a95b84726082feb6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Use 0 for the unordered context (diff) | |
download | linux-dev-64b95df91f44837f961321a6c555409885ca59c4.tar.xz linux-dev-64b95df91f44837f961321a6c555409885ca59c4.zip |
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 <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190819200705.3631-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions