aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2017-10-16 15:24:21 +0000
committerAlex Deucher <[email protected]>2017-12-04 21:33:16 +0000
commit4ff23be3d50a142ed0787fa6f276afc02ac2577d (patch)
treef6f7cfecbc21e9210ab4c1918719196b2f62f32b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: don't wait interruptible while binding GART space (diff)
downloadkernel-4ff23be3d50a142ed0787fa6f276afc02ac2577d.tar.gz
kernel-4ff23be3d50a142ed0787fa6f276afc02ac2577d.zip
drm/amdgpu: remove extra parameter from amdgpu_ttm_bind() v2
We always use the BO mem now. v2: minor rebase Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[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.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 6d4b22fdc1b4..589aa5099881 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, &bo->tbo.mem);
+ r = amdgpu_ttm_bind(&bo->tbo);
if (unlikely(r)) {
dev_err(adev->dev, "%p bind failed\n", bo);
goto error;