diff options
author | Christian König <christian.koenig@amd.com> | 2017-10-27 15:43:14 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-04 16:41:43 -0500 |
commit | c5835bbb1195996c6c5bf2bf2cdbae08c936fc93 (patch) | |
tree | c815ca93959af1ed88e1a6932783ad128a59af90 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | |
parent | b2b7e457ba752029c5c9978b0af941313ff706af (diff) | |
download | linux-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.h | 2 |
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); |