On Fri, 7 Jan 2022 at 14:24, Thomas Hellström <thomas.hellst...@linux.intel.com> wrote: > > There is always a struct vma_resource guaranteed to be alive when we > access a corresponding struct vma_snapshot. > > So ditch the latter and instead of allocating vma_snapshots, reference > the already existning vma_resource. > > This requires a couple of extra members in struct vma_resource but that's > a small price to pay for the simplification. > > v2: > - Fix a missing include and declaration (kernel test robot <l...@intel.com>) > > Signed-off-by: Thomas Hellström <thomas.hellst...@linux.intel.com> Reviewed-by: Matthew Auld <matthew.a...@intel.com>
- [PATCH v6 0/6] drm/i915: Asynchronous vma unbinding Thomas Hellström
- [PATCH v6 1/6] drm/i915: Initial introduction of vm... Thomas Hellström
- [PATCH v6 2/6] drm/i915: Use the vma resource as ar... Thomas Hellström
- [PATCH v6 3/6] drm/i915: Don't pin the object pages... Thomas Hellström
- [PATCH v6 4/6] drm/i915: Use vma resources for asyn... Thomas Hellström
- Re: [PATCH v6 4/6] drm/i915: Use vma resources ... Matthew Auld
- [PATCH v6 5/6] drm/i915: Asynchronous migration sel... Thomas Hellström
- Re: [PATCH v6 5/6] drm/i915: Asynchronous migra... Matthew Auld
- Re: [PATCH v6 5/6] drm/i915: Asynchronous m... Thomas Hellström
- [PATCH v6 6/6] drm/i915: Use struct vma_resource in... Thomas Hellström
- Re: [Intel-gfx] [PATCH v6 6/6] drm/i915: Use st... Matthew Auld