RE: [PATCH 1/5] drm/ttm: add max_swap_mem in ttm_mem_global

2018-02-02 Thread He, Roger
, Roger <hongbo...@amd.com>; dri-devel@lists.freedesktop.org Cc: Koenig, Christian <christian.koe...@amd.com> Subject: Re: [PATCH 1/5] drm/ttm: add max_swap_mem in ttm_mem_global On 2018年02月02日 15:34, Chunming Zhou wrote: On 2018年02月02日 15:22, Roger He wrote: set its initial value a

Re: [PATCH 1/5] drm/ttm: add max_swap_mem in ttm_mem_global

2018-02-01 Thread Chunming Zhou
On 2018年02月02日 15:34, Chunming Zhou wrote: On 2018年02月02日 15:22, Roger He wrote: set its initial value as 1/2 * free swap cache size when module initial. and adjust this value when allocate TTM memory Signed-off-by: Roger He ---   drivers/gpu/drm/ttm/ttm_memory.c | 10

Re: [PATCH 1/5] drm/ttm: add max_swap_mem in ttm_mem_global

2018-02-01 Thread Chunming Zhou
On 2018年02月02日 15:22, Roger He wrote: set its initial value as 1/2 * free swap cache size when module initial. and adjust this value when allocate TTM memory Signed-off-by: Roger He --- drivers/gpu/drm/ttm/ttm_memory.c | 10 -- include/drm/ttm/ttm_memory.h |

[PATCH 1/5] drm/ttm: add max_swap_mem in ttm_mem_global

2018-02-01 Thread Roger He
set its initial value as 1/2 * free swap cache size when module initial. and adjust this value when allocate TTM memory Signed-off-by: Roger He --- drivers/gpu/drm/ttm/ttm_memory.c | 10 -- include/drm/ttm/ttm_memory.h | 2 ++ 2 files changed, 10 insertions(+), 2