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>
- [Intel-gfx] [PATCH v6 0/6] drm/i915: Asynchronous vma un... Thomas Hellström
- [Intel-gfx] [PATCH v6 2/6] drm/i915: Use the vma re... Thomas Hellström
- [Intel-gfx] [PATCH v6 1/6] drm/i915: Initial introd... Thomas Hellström
- [Intel-gfx] [PATCH v6 3/6] drm/i915: Don't pin the ... Thomas Hellström
- [Intel-gfx] [PATCH v6 4/6] drm/i915: Use vma resour... Thomas Hellström
- Re: [Intel-gfx] [PATCH v6 4/6] drm/i915: Use vm... Matthew Auld
- [Intel-gfx] [PATCH v6 5/6] drm/i915: Asynchronous m... Thomas Hellström
- Re: [Intel-gfx] [PATCH v6 5/6] drm/i915: Asynch... Matthew Auld
- [Intel-gfx] [PATCH v6 6/6] drm/i915: Use struct vma... Thomas Hellström
- Re: [Intel-gfx] [PATCH v6 6/6] drm/i915: Use st... Matthew Auld
- [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i91... Patchwork
- [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: A... Patchwork
- [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Asyn... Patchwork
- [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Asyn... Patchwork