Re: [PATCH] drm/ttm: fix error handling if no BO can be swapped out v4

2021-04-22 Thread Zack Rusin
On 4/22/21 7:57 AM, Christian König wrote: From: Shiwu Zhang In case that all pre-allocated BOs are busy, just continue to populate BOs since likely half of system memory in total is still free. v4 (chk): fix code moved to VMWGFX as well Signed-off-by: Shiwu Zhang Reviewed-by: Christian Köni

[PATCH] drm/ttm: fix error handling if no BO can be swapped out v4

2021-04-22 Thread Christian König
From: Shiwu Zhang In case that all pre-allocated BOs are busy, just continue to populate BOs since likely half of system memory in total is still free. v4 (chk): fix code moved to VMWGFX as well Signed-off-by: Shiwu Zhang Reviewed-by: Christian König Signed-off-by: Christian König --- drive

RE: [PATCH] drm/ttm: fix error handling if no BO can be swapped out

2021-04-22 Thread Zhang, Morris
devel@lists.freedesktop.org Subject: Re: [PATCH] drm/ttm: fix error handling if no BO can be swapped out Am 20.04.21 um 16:32 schrieb Shiwu Zhang: > In case that all pre-allocated BOs are busy, just continue to populate > BOs since likely half of system memory in total is still free. > &

Re: [PATCH] drm/ttm: fix error handling if no BO can be swapped out

2021-04-21 Thread Christian König
Am 20.04.21 um 16:32 schrieb Shiwu Zhang: In case that all pre-allocated BOs are busy, just continue to populate BOs since likely half of system memory in total is still free. Signed-off-by: Shiwu Zhang --- drivers/gpu/drm/ttm/ttm_device.c | 4 ++-- drivers/gpu/drm/ttm/ttm_tt.c | 2 ++

[PATCH] drm/ttm: fix error handling if no BO can be swapped out

2021-04-20 Thread Shiwu Zhang
In case that all pre-allocated BOs are busy, just continue to populate BOs since likely half of system memory in total is still free. Signed-off-by: Shiwu Zhang --- drivers/gpu/drm/ttm/ttm_device.c | 4 ++-- drivers/gpu/drm/ttm/ttm_tt.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-