drm/amdgpu: update gart_pin_size only if the bo is pined to GTT
authorFlora Cui <Flora.Cui@amd.com>
Thu, 18 Aug 2016 05:17:07 +0000 (13:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Aug 2016 16:31:36 +0000 (12:31 -0400)
commit32ab75f076ac14a9b2e2e4d0910ecfb102ba9747
treebc846d0898467374e634b0c182d38a45b2ad1e36
parent408778e8e9656105aa4df2fe7dce54244ccdd3d7
drm/amdgpu: update gart_pin_size only if the bo is pined to GTT

Signed-off-by: Flora Cui <Flora.Cui@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_object.c