Re: [PATCH v3 2/3] drm/i915: Update error capture code to avoid using the current vma state

2021-10-29 Thread Thomas Hellström
On 10/29/21 00:55, Matthew Brost wrote: On Thu, Oct 28, 2021 at 02:01:27PM +0200, Thomas Hellström wrote: With asynchronous migrations, the vma state may be several migrations ahead of the state that matches the request we're capturing. Address that by introducing an i915_vma_snapshot

Re: [PATCH v3 2/3] drm/i915: Update error capture code to avoid using the current vma state

2021-10-28 Thread Matthew Brost
On Thu, Oct 28, 2021 at 02:01:27PM +0200, Thomas Hellström wrote: > With asynchronous migrations, the vma state may be several migrations > ahead of the state that matches the request we're capturing. > Address that by introducing an i915_vma_snapshot structure that > can be used to snapshot

[PATCH v3 2/3] drm/i915: Update error capture code to avoid using the current vma state

2021-10-28 Thread Thomas Hellström
With asynchronous migrations, the vma state may be several migrations ahead of the state that matches the request we're capturing. Address that by introducing an i915_vma_snapshot structure that can be used to snapshot relevant state at request submission. In order to make sure we access the