diff options
| author | Christian König <[email protected]> | 2017-10-27 13:43:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-12-04 21:41:43 +0000 |
| commit | c5835bbb1195996c6c5bf2bf2cdbae08c936fc93 (patch) | |
| tree | c815ca93959af1ed88e1a6932783ad128a59af90 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdgpu: switch to use new SOC15 reg read/write macros for soc15 ih (diff) | |
| download | kernel-c5835bbb1195996c6c5bf2bf2cdbae08c936fc93.tar.gz kernel-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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 |
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, goto error; } - r = amdgpu_ttm_bind(&bo->tbo); + r = amdgpu_ttm_alloc_gart(&bo->tbo); if (unlikely(r)) { dev_err(adev->dev, "%p bind failed\n", bo); goto error; |
