Re: [PATCH 1/4] drm/i915: don't call free_mmap_offset when purging

2022-01-05 Thread Thomas Hellström
On Wed, 2022-01-05 at 16:03 +, Matthew Auld wrote: > On 05/01/2022 15:46, Thomas Hellström wrote: > > On Wed, 2022-01-05 at 14:58 +, Matthew Auld wrote: > > > The TTM backend is in theory the only user here(also purge should > > > only > > > be called once we have dropped the pages), where

Re: [PATCH 1/4] drm/i915: don't call free_mmap_offset when purging

2022-01-05 Thread Matthew Auld
On 05/01/2022 15:46, Thomas Hellström wrote: On Wed, 2022-01-05 at 14:58 +, Matthew Auld wrote: The TTM backend is in theory the only user here(also purge should only be called once we have dropped the pages), where it is setup at object creation and is only removed once the object is destro

Re: [PATCH 1/4] drm/i915: don't call free_mmap_offset when purging

2022-01-05 Thread Thomas Hellström
On Wed, 2022-01-05 at 14:58 +, Matthew Auld wrote: > The TTM backend is in theory the only user here(also purge should > only > be called once we have dropped the pages), where it is setup at > object > creation and is only removed once the object is destroyed. Also > resetting the node here mi

[PATCH 1/4] drm/i915: don't call free_mmap_offset when purging

2022-01-05 Thread Matthew Auld
The TTM backend is in theory the only user here(also purge should only be called once we have dropped the pages), where it is setup at object creation and is only removed once the object is destroyed. Also resetting the node here might be iffy since the ttm fault handler uses the stored fake offset