commit | 9afae2719273fa1d406829bf3498f82dbdba71c7 | [log] [tgz] |
---|---|---|
author | Xiangliang.Yu <Xiangliang.Yu@amd.com> | Wed Aug 16 14:25:51 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Aug 17 16:47:44 2017 -0400 |
tree | 70f438849dc9662f37f8511d1a74e632ff8aca1b | |
parent | d07f14be4d11cf323977672342fb0fc6017052f6 [diff] |
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 <Xiangliang.Yu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Monk Liu <monk.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org