projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60707a
)
drm/nouveau/imem/nv50: fix refcount_t warning
author
Ben Skeggs
<bskeggs@redhat.com>
Thu, 7 Dec 2017 01:08:52 +0000
(11:08 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 19 Dec 2017 00:16:37 +0000
(10:16 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
index 1ba7289684aa2116b6fcc4d05869f0d2b8322a39..db48a1daca0c7a3d786332ce25435839fcc10760 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c
@@
-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);