aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2017-11-02 18:37:27 -0400
committerBen Skeggs <bskeggs@redhat.com>2017-11-02 19:12:10 -0400
commit690f43ab1b659a7e072a2a0b33ff5783828c168b (patch)
tree51fe22c6070c9f700ffe94d472796111a65e8483 /drivers/gpu
parent6497c2baf2c66938bfff51af9806d495bbb506f9 (diff)
drm/nouveau/core/memory: fix missing mutex unlock
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/core/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/core/memory.c b/drivers/gpu/drm/nouveau/nvkm/core/memory.c
index 29f4b4070b55..e85a08ecd9da 100644
--- a/drivers/gpu/drm/nouveau/nvkm/core/memory.c
+++ b/drivers/gpu/drm/nouveau/nvkm/core/memory.c
@@ -64,6 +64,7 @@ nvkm_memory_tags_get(struct nvkm_memory *memory, struct nvkm_device *device,
64 } 64 }
65 65
66 refcount_inc(&tags->refcount); 66 refcount_inc(&tags->refcount);
67 mutex_unlock(&fb->subdev.mutex);
67 *ptags = tags; 68 *ptags = tags;
68 return 0; 69 return 0;
69 } 70 }