Re: [PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2021-01-19 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 01:18:21PM +0100, Christian König wrote: > Only initialize the DMA coherent pools if they are used. > > Signed-off-by: Christian König Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/ttm/ttm_pool.c | 23 --- > 1 file changed, 16 insertions(+), 7

Re: [PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2021-01-19 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 01:11:36PM +0100, Christian König wrote: > Am 07.01.21 um 17:38 schrieb Daniel Vetter: > > On Thu, Jan 07, 2021 at 01:49:45PM +0100, Christian König wrote: > > > Am 22.12.20 um 14:51 schrieb Daniel Vetter: > > > > On Fri, Dec 18, 2020 at 06:55:38PM +0100, Christian König wro

[PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2021-01-19 Thread Christian König
Only initialize the DMA coherent pools if they are used. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_pool.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers/gpu/drm/ttm/ttm_pool.c index 98ecb9c984

Re: [PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2021-01-19 Thread Christian König
Am 07.01.21 um 17:38 schrieb Daniel Vetter: On Thu, Jan 07, 2021 at 01:49:45PM +0100, Christian König wrote: Am 22.12.20 um 14:51 schrieb Daniel Vetter: On Fri, Dec 18, 2020 at 06:55:38PM +0100, Christian König wrote: Only initialize the DMA coherent pools if they are used. Signed-off-by: Chr

Re: [PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2021-01-07 Thread Daniel Vetter
On Thu, Jan 07, 2021 at 01:49:45PM +0100, Christian König wrote: > Am 22.12.20 um 14:51 schrieb Daniel Vetter: > > On Fri, Dec 18, 2020 at 06:55:38PM +0100, Christian König wrote: > > > Only initialize the DMA coherent pools if they are used. > > > > > > Signed-off-by: Christian König > > Ah, jus

Re: [PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2021-01-07 Thread Christian König
Am 22.12.20 um 14:51 schrieb Daniel Vetter: On Fri, Dec 18, 2020 at 06:55:38PM +0100, Christian König wrote: Only initialize the DMA coherent pools if they are used. Signed-off-by: Christian König Ah, just realized the answer to my question on patch 2: The pools are per-device, due to dma_all

Re: [PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2020-12-22 Thread Daniel Vetter
On Fri, Dec 18, 2020 at 06:55:38PM +0100, Christian König wrote: > Only initialize the DMA coherent pools if they are used. > > Signed-off-by: Christian König Ah, just realized the answer to my question on patch 2: The pools are per-device, due to dma_alloc_coherent being per-device (but really

[PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2020-12-18 Thread Christian König
Only initialize the DMA coherent pools if they are used. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_pool.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers/gpu/drm/ttm/ttm_pool.c index 1cdacd5875

[PATCH 4/4] drm/ttm: optimize ttm pool shrinker a bit

2020-11-17 Thread Christian König
Only initialize the DMA coherent pools if they are used. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_pool.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_pool.c b/drivers/gpu/drm/ttm/ttm_pool.c index 5daf812551