search for: nv50_instobj_fast

Displaying 3 results from an estimated 3 matches for "nv50_instobj_fast".

2017 Dec 08
3
[PATCH] drm/nouveau/imem/nv50: fix incorrect use of refcount API
.../drm/nouveau/nvkm/subdev/instmem/nv50.c index 1ba7289684aa..db48a1daca0c 100644 --- 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); -- 2.11.0
2017 Dec 18
1
[PATCH] drm/nouveau/imem/nv50: fix incorrect use of refcount API
...db48a1daca0c 100644 > > --- 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_unlo...
2017 Dec 18
0
[PATCH] drm/nouveau/imem/nv50: fix incorrect use of refcount API
...index 1ba7289684aa..db48a1daca0c 100644 > --- 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); &gt...