Re: [PATCH 05/12] drm/ttm: move the LRU into resource handling v2

2022-01-25 Thread Daniel Vetter
On Mon, Jan 24, 2022 at 01:25:07PM +0100, Christian König wrote: > This way we finally fix the problem that new resource are > not immediately evict-able after allocation. > > That has caused numerous problems including OOM on GDS handling > and not being able to use TTM as general resource manage

[PATCH 05/12] drm/ttm: move the LRU into resource handling v2

2022-01-24 Thread Christian König
This way we finally fix the problem that new resource are not immediately evict-able after allocation. That has caused numerous problems including OOM on GDS handling and not being able to use TTM as general resource manager. v2: stop assuming in ttm_resource_fini that res->bo is still valid. Si

[PATCH 05/12] drm/ttm: move the LRU into resource handling v2

2021-11-24 Thread Christian König
This way we finally fix the problem that new resource are not immediately evict-able after allocation. That has caused numerous problems including OOM on GDS handling and not being able to use TTM as general resource manager. v2: stop assuming in ttm_resource_fini that res->bo is still valid. Si