Re: [PATCH 1/6] drm/ttm: cleanup and optimize ttm_bo_mem_compat v2

2017-04-03 Thread Christian König
Ping! Any more comments on that set or can I push it? Thanks, Christian. Am 31.03.2017 um 11:47 schrieb Christian König: From: Christian König No need to implement the same logic twice. Also check if the busy placements are identical to the already scanned placements before checking them. v2

[PATCH 1/6] drm/ttm: cleanup and optimize ttm_bo_mem_compat v2

2017-03-31 Thread Christian König
From: Christian König No need to implement the same logic twice. Also check if the busy placements are identical to the already scanned placements before checking them. v2: improve check even more as suggested by Michel. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 45 +++

Re: [PATCH 1/6] drm/ttm: cleanup and optimize ttm_bo_mem_compat

2017-03-30 Thread Christian König
Am 30.03.2017 um 08:38 schrieb Michel Dänzer: On 29/03/17 09:55 PM, Christian König wrote: From: Christian König No need to implement the same logic twice. Also check if the busy placements are identical to the already scanned placements before checking them. Signed-off-by: Christian König

Re: [PATCH 1/6] drm/ttm: cleanup and optimize ttm_bo_mem_compat

2017-03-29 Thread Michel Dänzer
On 29/03/17 09:55 PM, Christian König wrote: > From: Christian König > > No need to implement the same logic twice. Also check if the busy placements > are identical to the already scanned placements before checking them. > > Signed-off-by: Christian König [...] > @@ -1077,6 +1065,23 @@ bool

[PATCH 1/6] drm/ttm: cleanup and optimize ttm_bo_mem_compat

2017-03-29 Thread Christian König
From: Christian König No need to implement the same logic twice. Also check if the busy placements are identical to the already scanned placements before checking them. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 45 1 file cha