diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c index 0736a03b..c75689f2 100644 --- a/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ctxsw_trace_gk20a.c | |||
@@ -249,7 +249,7 @@ static int gk20a_ctxsw_dev_ioctl_poll(struct gk20a_ctxsw_dev *dev) | |||
249 | 249 | ||
250 | gk20a_dbg(gpu_dbg_fn|gpu_dbg_ctxsw, ""); | 250 | gk20a_dbg(gpu_dbg_fn|gpu_dbg_ctxsw, ""); |
251 | 251 | ||
252 | err = gk20a_busy(g->dev); | 252 | err = gk20a_busy(g); |
253 | if (err) | 253 | if (err) |
254 | return err; | 254 | return err; |
255 | 255 | ||
@@ -259,7 +259,7 @@ static int gk20a_ctxsw_dev_ioctl_poll(struct gk20a_ctxsw_dev *dev) | |||
259 | if (likely(!err)) | 259 | if (likely(!err)) |
260 | err = g->ops.fecs_trace.poll(g); | 260 | err = g->ops.fecs_trace.poll(g); |
261 | 261 | ||
262 | gk20a_idle(g->dev); | 262 | gk20a_idle(g); |
263 | return err; | 263 | return err; |
264 | } | 264 | } |
265 | 265 | ||
@@ -287,7 +287,7 @@ int gk20a_ctxsw_dev_open(struct inode *inode, struct file *filp) | |||
287 | goto free_ref; | 287 | goto free_ref; |
288 | } | 288 | } |
289 | 289 | ||
290 | err = gk20a_busy(g->dev); | 290 | err = gk20a_busy(g); |
291 | if (err) | 291 | if (err) |
292 | goto free_ref; | 292 | goto free_ref; |
293 | 293 | ||
@@ -330,7 +330,7 @@ done: | |||
330 | nvgpu_mutex_release(&dev->write_lock); | 330 | nvgpu_mutex_release(&dev->write_lock); |
331 | 331 | ||
332 | idle: | 332 | idle: |
333 | gk20a_idle(g->dev); | 333 | gk20a_idle(g); |
334 | free_ref: | 334 | free_ref: |
335 | if (err) | 335 | if (err) |
336 | gk20a_put(g); | 336 | gk20a_put(g); |