[Intel-gfx] [PATCH 01/11] drm/i915: Split detaching and removing the vma
Matthew Auld
matthew.william.auld at gmail.com
Thu Oct 31 13:49:31 UTC 2019
On Wed, 30 Oct 2019 at 19:22, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> In order to keep the assert_bind_count() valid, we need to hold the vma
> page reference until after we drop the bind count. However, we must also
> keep the drm_mm_remove_node() as the last action of i915_vma_unbind() so
> that it serialises with the unlocked check inside i915_vma_destroy(). So
> we need to split up i915_vma_remove() so that we order the detach, drop
> pages and remove as required during unbind.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112067
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>
More information about the Intel-gfx
mailing list