Re: i915 ttm_tt shmem backend

2021-09-10 Thread Christian König
olving most of the issues we ran into. Christian. /Thomas Christian. /Thomas Regards, Christian. Von: Matthew Auld Gesendet: Donnerstag, 9. September 2021 16:56 An: Christian König ; Koenig, Christian Cc: Thomas Hellström ; ML dri- devel Betreff: i915 ttm_t

Re: i915 ttm_tt shmem backend

2021-09-10 Thread Thomas Hellström
r > own > shmemfile backend sounds fine to me, but I have strong doubt that > this > will be of use to anybody else. OK. Sounds fine. In situations where we use WC system memory we will use what's in TTM today. BTW on the shrinking approach for WC pages, does the Christoph's DMA

Re: i915 ttm_tt shmem backend

2021-09-10 Thread Christian König
Koenig, Christian Cc: Thomas Hellström ; ML dri- devel Betreff: i915 ttm_tt shmem backend Hi Christian, We are looking into using shmem as a ttm_tt backend in i915 for cached system memory objects. We would also like to make such objects visible to the i915-gem shrinker, so that they may be s

Re: i915 ttm_tt shmem backend

2021-09-10 Thread Thomas Hellström
> > Christian. > > > > > > Von: Matthew Auld > > Gesendet: Donnerstag, 9. September 2021 16:56 > > An: Christian König ; Koenig, > > Christian > > Cc: Thomas Hellström ; ML dri- > > devel > > Betreff: i91

Re: i915 ttm_tt shmem backend

2021-09-10 Thread Christian König
e. Apart from that your approach sounds like pretty much what I tried as well. Regards, Christian. Regards, Christian. Von: Matthew Auld Gesendet: Donnerstag, 9. September 2021 16:56 An: Christian König ; Koenig, Christian Cc: Thomas Hellström ; ML dri-devel

Re: i915 ttm_tt shmem backend

2021-09-10 Thread Thomas Hellström
Hi, On 9/9/21 4:56 PM, Matthew Auld wrote: Hi Christian, We are looking into using shmem as a ttm_tt backend in i915 for cached system memory objects. We would also like to make such objects visible to the i915-gem shrinker, so that they may be swapped out or discarded when under memory pressur

Re: i915 ttm_tt shmem backend

2021-09-09 Thread Matthew Auld
16:56 > An: Christian König ; Koenig, Christian > > Cc: Thomas Hellström ; ML dri-devel > > Betreff: i915 ttm_tt shmem backend > > Hi Christian, > > We are looking into using shmem as a ttm_tt backend in i915 for cached > system memory objects. We would also like to m

AW: i915 ttm_tt shmem backend

2021-09-09 Thread Koenig, Christian
__ Von: Matthew Auld Gesendet: Donnerstag, 9. September 2021 16:56 An: Christian König ; Koenig, Christian Cc: Thomas Hellström ; ML dri-devel Betreff: i915 ttm_tt shmem backend Hi Christian, We are looking into using shmem as a ttm_tt backend in i915 for cached system memory objects. We would al

i915 ttm_tt shmem backend

2021-09-09 Thread Matthew Auld
Hi Christian, We are looking into using shmem as a ttm_tt backend in i915 for cached system memory objects. We would also like to make such objects visible to the i915-gem shrinker, so that they may be swapped out or discarded when under memory pressure. One idea for handling this is roughly some