RE: [PATCH] drm/ttm: add updated_glob_count in dma_page

2018-01-16 Thread He, Roger
-Original Message- From: Koenig, Christian Sent: Wednesday, January 17, 2018 3:37 PM To: He, Roger ; dri-devel@lists.freedesktop.org Cc: Grodzovsky, Andrey Subject: Re: [PATCH] drm/ttm: add updated_glob_count in dma_page Am 17.01.2018 um 06:54 schrieb Roger He: > add this for correc

Re: [PATCH] drm/ttm: add updated_glob_count in dma_page

2018-01-16 Thread Christian König
Am 17.01.2018 um 06:54 schrieb Roger He: add this for correctly updating global mem count in ttm_mem_zone. before that when ttm_mem_global_alloc_page fails, we would update all dma_page's global mem count in ttm_dma->pages_list. but actually here we should not update for the last dma_page. Signe

[PATCH] drm/ttm: add updated_glob_count in dma_page

2018-01-16 Thread Roger He
add this for correctly updating global mem count in ttm_mem_zone. before that when ttm_mem_global_alloc_page fails, we would update all dma_page's global mem count in ttm_dma->pages_list. but actually here we should not update for the last dma_page. Signed-off-by: Roger He --- drivers/gpu/drm/tt