diff options
author | Xiangliang.Yu | 2017-08-16 08:25:51 +0200 |
---|---|---|
committer | Alex Deucher | 2017-08-17 22:47:44 +0200 |
commit | 9afae2719273fa1d406829bf3498f82dbdba71c7 (patch) | |
tree | 70f438849dc9662f37f8511d1a74e632ff8aca1b /drivers/gpu/drm/amd/amdgpu | |
parent | drm/amd/amdgpu: expose fragment size as module parameter (v2) (diff) | |
download | kernel-qcow2-linux-9afae2719273fa1d406829bf3498f82dbdba71c7.tar.gz kernel-qcow2-linux-9afae2719273fa1d406829bf3498f82dbdba71c7.tar.xz kernel-qcow2-linux-9afae2719273fa1d406829bf3498f82dbdba71c7.zip |
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions