Re: [PATCH 1/1] drm/ttm: Fix accounting error when fail to get pages for pool

2017-08-16 Thread Liu, Monk
] drm/ttm: Fix accounting error when fail to get pages for pool When fail to get needed page for pool, need to put allocated pages into pool. But current code has a miscalculation of allocated pages, correct it. Signed-off-by: Xiangliang.Yu --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 2 +- 1

Re: [PATCH 1/1] drm/ttm: Fix accounting error when fail to get pages for pool

2017-08-16 Thread Christian König
-foundation.org; labb...@redhat.com; dri-devel@lists.freedesktop.org; amd-...@lists.freedesktop.org *Cc:* Yu, Xiangliang *Subject:* [PATCH 1/1] drm/ttm: Fix accounting error when fail to get pages for pool When fail to get needed page for pool, need to put allocated pages into pool. But current code