diff options
author | Xiangliang.Yu <Xiangliang.Yu@amd.com> | 2017-08-16 06:25:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-07 06:35:40 (GMT) |
commit | 70df301a083c73353b2951e74f9ff6d682f72d63 (patch) | |
tree | 6f5c11142214c2f99b219441da096a4833042eed /arch | |
parent | 12a70ccaa6868163487f9a5ad97e1a91a397b453 (diff) | |
download | linux-70df301a083c73353b2951e74f9ff6d682f72d63.tar.xz |
drm/ttm: Fix accounting error when fail to get pages for pool
commit 9afae2719273fa1d406829bf3498f82dbdba71c7 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions