Re: [PATCH v5 4/6] drm/i915: Use vma resources for async unbinding

2022-01-06 Thread Matthew Auld
On 04/01/2022 12:51, Thomas Hellström wrote: Implement async (non-blocking) unbinding by not syncing the vma before calling unbind on the vma_resource. Add the resulting unbind fence to the object's dma_resv from where it is picked up by the ttm migration code. Ideally these unbind fences should

Re: [PATCH v5 4/6] drm/i915: Use vma resources for async unbinding

2022-01-05 Thread Thomas Hellström
On Wed, 2022-01-05 at 15:52 +, Matthew Auld wrote: > On 04/01/2022 12:51, Thomas Hellström wrote: > > Implement async (non-blocking) unbinding by not syncing the vma > > before > > calling unbind on the vma_resource. > > Add the resulting unbind fence to the object's dma_resv from where > > it

Re: [PATCH v5 4/6] drm/i915: Use vma resources for async unbinding

2022-01-05 Thread Matthew Auld
On 04/01/2022 12:51, Thomas Hellström wrote: Implement async (non-blocking) unbinding by not syncing the vma before calling unbind on the vma_resource. Add the resulting unbind fence to the object's dma_resv from where it is picked up by the ttm migration code. Ideally these unbind fences should

[PATCH v5 4/6] drm/i915: Use vma resources for async unbinding

2022-01-04 Thread Thomas Hellström
Implement async (non-blocking) unbinding by not syncing the vma before calling unbind on the vma_resource. Add the resulting unbind fence to the object's dma_resv from where it is picked up by the ttm migration code. Ideally these unbind fences should be coalesced with the migration blit fence to a