Skip to content

Commit

Permalink
Merge branch 'linux-4.15' of git://github.com/skeggsb/linux into drm-…
Browse files Browse the repository at this point in the history
…fixes

one nouveau regression fix

* 'linux-4.15' of git://github.com/skeggsb/linux:
  drm/nouveau: fix race when adding delayed work items
  • Loading branch information
Dave Airlie committed Dec 26, 2017
2 parents 464e1d5 + b26a231 commit e100ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ nouveau_cli_work_queue(struct nouveau_cli *cli, struct dma_fence *fence,
work->cli = cli;
mutex_lock(&cli->lock);
list_add_tail(&work->head, &cli->worker);
mutex_unlock(&cli->lock);
if (dma_fence_add_callback(fence, &work->cb, nouveau_cli_work_fence))
nouveau_cli_work_fence(fence, &work->cb);
mutex_unlock(&cli->lock);
}

static void
Expand Down

0 comments on commit e100ff3

Please sign in to comment.