Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81a24b9a authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/imem/nv50: fix refcount_t warning



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent f60707a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@ nv50_instobj_acquire(struct nvkm_memory *memory)
			iobj->base.memory.ptrs = &nv50_instobj_fast;
		else
			iobj->base.memory.ptrs = &nv50_instobj_slow;
		refcount_inc(&iobj->maps);
		refcount_set(&iobj->maps, 1);
	}

	mutex_unlock(&imem->subdev.mutex);