summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/nvhost.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/nvhost.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/nvhost.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/nvhost.c b/drivers/gpu/nvgpu/common/linux/nvhost.c
index 611351ae..b8e51aac 100644
--- a/drivers/gpu/nvgpu/common/linux/nvhost.c
+++ b/drivers/gpu/nvgpu/common/linux/nvhost.c
@@ -199,14 +199,13 @@ int nvgpu_nvhost_sync_num_pts(struct sync_fence *fence)
199 199
200struct sync_fence *nvgpu_nvhost_sync_create_fence( 200struct sync_fence *nvgpu_nvhost_sync_create_fence(
201 struct nvgpu_nvhost_dev *nvhost_dev, 201 struct nvgpu_nvhost_dev *nvhost_dev,
202 u32 id, u32 thresh, 202 u32 id, u32 thresh, const char *name)
203 u32 num_pts, const char *name)
204{ 203{
205 struct nvhost_ctrl_sync_fence_info pt = { 204 struct nvhost_ctrl_sync_fence_info pt = {
206 .id = id, 205 .id = id,
207 .thresh = thresh, 206 .thresh = thresh,
208 }; 207 };
209 208
210 return nvhost_sync_create_fence(nvhost_dev->host1x_pdev, &pt, num_pts, name); 209 return nvhost_sync_create_fence(nvhost_dev->host1x_pdev, &pt, 1, name);
211} 210}
212#endif /* CONFIG_SYNC */ 211#endif /* CONFIG_SYNC */