Re: [PATCH 01/11] drm/i915: Split detaching and removing the vma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Oct 2019 at 19:22, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx>
> Cc: Matthew Auld <matthew.auld@xxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux