aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-10-27 09:43:14 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-12-04 16:41:43 -0500
commitc5835bbb1195996c6c5bf2bf2cdbae08c936fc93 (patch)
treec815ca93959af1ed88e1a6932783ad128a59af90 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentb2b7e457ba752029c5c9978b0af941313ff706af (diff)
drm/amdgpu: rename amdgpu_ttm_bind to amdgpu_ttm_alloc_gart
We actually don't bind here, but rather allocate GART space if necessary. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index ff6f842655d1..a937c49590a9 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -688,7 +688,7 @@ int amdgpu_bo_pin_restricted(struct amdgpu_bo *bo, u32 domain,
688 goto error; 688 goto error;
689 } 689 }
690 690
691 r = amdgpu_ttm_bind(&bo->tbo); 691 r = amdgpu_ttm_alloc_gart(&bo->tbo);
692 if (unlikely(r)) { 692 if (unlikely(r)) {
693 dev_err(adev->dev, "%p bind failed\n", bo); 693 dev_err(adev->dev, "%p bind failed\n", bo);
694 goto error; 694 goto error;