[Intel-gfx] [PATCH 03/10] drm/i915: Assume exclusive access to objects inside resume
Matthew Auld
matthew.william.auld at gmail.com
Mon Aug 19 19:57:25 UTC 2019
On Mon, 19 Aug 2019 at 17:45, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> 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 at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the Intel-gfx
mailing list