drm/amdgpu: fix gtt available page num accounting
authorFlora Cui <Flora.Cui@amd.com>
Fri, 2 Dec 2016 08:51:20 +0000 (16:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2016 23:08:34 +0000 (18:08 -0500)
commit47e50d5c0d1347b3ab66d2270a45adc200fca31a
tree6f4b7fdd778b937c7ecae4c23664316734d74793
parent10e2ca346bf74561ff1b7fff6287716ab976cd8c
drm/amdgpu: fix gtt available page num accounting

Signed-off-by: Flora Cui <Flora.Cui@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c