Re: [PATCH 1/2] drm/ttm: don't update global memory count for some special cases

2018-01-12 Thread Christian König
Am 12.01.2018 um 07:14 schrieb Roger He: add input parameter for ttm_dma_unpopulate. when ttm_dma_pool_get_pages or ttm_mem_global_alloc_page fail, don't call ttm_mem_global_free_page to update global memory count. Signed-off-by: Roger He Good catch, but that doesn't looks

RE: [PATCH 1/2] drm/ttm: don't update global memory count for some special cases

2018-01-11 Thread He, Roger
istian <christian.koe...@amd.com> Subject: Re: [PATCH 1/2] drm/ttm: don't update global memory count for some special cases Can this fix GTT size issue or not? Regards, David Zhou On 2018年01月12日 14:14, Roger He wrote: > add input parameter for ttm_dma_unpopulate. > when ttm_

Re: [PATCH 1/2] drm/ttm: don't update global memory count for some special cases

2018-01-11 Thread Chunming Zhou
Can this fix GTT size issue or not? Regards, David Zhou On 2018年01月12日 14:14, Roger He wrote: add input parameter for ttm_dma_unpopulate. when ttm_dma_pool_get_pages or ttm_mem_global_alloc_page fail, don't call ttm_mem_global_free_page to update global memory count. Signed-off-by: Roger He

[PATCH 1/2] drm/ttm: don't update global memory count for some special cases

2018-01-11 Thread Roger He
add input parameter for ttm_dma_unpopulate. when ttm_dma_pool_get_pages or ttm_mem_global_alloc_page fail, don't call ttm_mem_global_free_page to update global memory count. Signed-off-by: Roger He --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +-