[Intel-gfx] [PATCH 1/2] drm/i915/gt: Restore both GGTT bindings on resume

Matthew Auld matthew.william.auld at gmail.com
Thu May 28 14:49:09 UTC 2020

On Thu, 28 May 2020 at 09:24, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> We should be able to skip restoing LOCAL (user) binds within the GGTT on
> resume and let them be restored upon demand. However, our consistency
> checks demand that the bind flags match the node state, and we cannot
> simply clear the flags we need to evict as well. For now, make sure we
> restore the bind flags exactly upon resume.
> Fixes: 0109a16ef391 ("drm/i915/gt: Clear LOCAL_BIND from shared GGTT on resume")
> Fixes: bf0840cdb304 ("drm/i915/gt: Stop cross-polluting PIN_GLOBAL with PIN_USER with no-ppgtt")
> 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