diff options
author | Christian König <christian.koenig@amd.com> | 2016-04-06 05:12:03 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:21:21 -0400 |
commit | dfd5e50ea43ca4a89de061fb69618299760eb682 (patch) | |
tree | 85fd07aa14292b45fb8c4056cc5a4fa75cde5d17 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | 5ee7b41a8b83e5d73d8b0725561ba43de5cb9443 (diff) |
drm/ttm: remove use_ticket parameter from ttm_bo_reserve
Not used any more.
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
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.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h index acc08018c6cc..bdb01d932548 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |||
@@ -71,7 +71,7 @@ static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) | |||
71 | { | 71 | { |
72 | int r; | 72 | int r; |
73 | 73 | ||
74 | r = ttm_bo_reserve(&bo->tbo, !no_intr, false, false, 0); | 74 | r = ttm_bo_reserve(&bo->tbo, !no_intr, false, NULL); |
75 | if (unlikely(r != 0)) { | 75 | if (unlikely(r != 0)) { |
76 | if (r != -ERESTARTSYS) | 76 | if (r != -ERESTARTSYS) |
77 | dev_err(bo->adev->dev, "%p reserve failed\n", bo); | 77 | dev_err(bo->adev->dev, "%p reserve failed\n", bo); |