summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-10-27 15:43:14 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-12-04 16:41:43 -0500
commitc5835bbb1195996c6c5bf2bf2cdbae08c936fc93 (patch)
treec815ca93959af1ed88e1a6932783ad128a59af90 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
parentb2b7e457ba752029c5c9978b0af941313ff706af (diff)
downloadlinux-stable-c5835bbb1195996c6c5bf2bf2cdbae08c936fc93.tar.gz
linux-stable-c5835bbb1195996c6c5bf2bf2cdbae08c936fc93.tar.bz2
linux-stable-c5835bbb1195996c6c5bf2bf2cdbae08c936fc93.zip
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_ttm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
index d2985def4168..4f9433e61406 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
@@ -91,7 +91,7 @@ int amdgpu_fill_buffer(struct amdgpu_bo *bo,
struct dma_fence **fence);
int amdgpu_mmap(struct file *filp, struct vm_area_struct *vma);
-int amdgpu_ttm_bind(struct ttm_buffer_object *bo);
+int amdgpu_ttm_alloc_gart(struct ttm_buffer_object *bo);
int amdgpu_ttm_recover_gart(struct ttm_buffer_object *tbo);
int amdgpu_ttm_tt_get_user_pages(struct ttm_tt *ttm, struct page **pages);