Re: [PATCH v6 11/12] drm/ttm, drm/xe: Add a shrinker for xe bos

2024-08-09 Thread Matthew Brost
On Fri, Aug 09, 2024 at 04:31:27PM +0200, Thomas Hellström wrote: > On Thu, 2024-08-08 at 01:37 +, Matthew Brost wrote: > > On Wed, Jul 03, 2024 at 05:38:12PM +0200, Thomas Hellström wrote: > > > Rather than relying on the TTM watermark accounting add a shrinker > > > for xe_bos in TT or system

Re: [PATCH v6 11/12] drm/ttm, drm/xe: Add a shrinker for xe bos

2024-08-09 Thread Matthew Auld
Hi, On 03/07/2024 16:38, Thomas Hellström wrote: Rather than relying on the TTM watermark accounting add a shrinker for xe_bos in TT or system memory. Leverage the newly added TTM per-page shrinking and shmem backup support. Although xe doesn't fully support WONTNEED (purgeable) bos yet, intro

Re: [PATCH v6 11/12] drm/ttm, drm/xe: Add a shrinker for xe bos

2024-08-09 Thread Thomas Hellström
On Thu, 2024-08-08 at 01:37 +, Matthew Brost wrote: > On Wed, Jul 03, 2024 at 05:38:12PM +0200, Thomas Hellström wrote: > > Rather than relying on the TTM watermark accounting add a shrinker > > for xe_bos in TT or system memory. > > > > Leverage the newly added TTM per-page shrinking and shme

Re: [PATCH v6 11/12] drm/ttm, drm/xe: Add a shrinker for xe bos

2024-08-07 Thread Matthew Brost
On Wed, Jul 03, 2024 at 05:38:12PM +0200, Thomas Hellström wrote: > Rather than relying on the TTM watermark accounting add a shrinker > for xe_bos in TT or system memory. > > Leverage the newly added TTM per-page shrinking and shmem backup > support. > > Although xe doesn't fully support WONTNEE

[PATCH v6 11/12] drm/ttm, drm/xe: Add a shrinker for xe bos

2024-07-03 Thread Thomas Hellström
Rather than relying on the TTM watermark accounting add a shrinker for xe_bos in TT or system memory. Leverage the newly added TTM per-page shrinking and shmem backup support. Although xe doesn't fully support WONTNEED (purgeable) bos yet, introduce and add shrinker support for purgeable ttm_tts.