Displaying 9 results from an estimated 9 matches for "nv50_instobj_acquire".
2017 Dec 08
3
[PATCH] drm/nouveau/imem/nv50: fix incorrect use of refcount API
...tion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c b/drivers/gpu/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
...uveau/nvkm/subdev/instmem/nv50.c b/drivers/gpu/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);
> >...
2017 Feb 25
2
[Bug 99966] New: Crash of nouveau - cache related?
...0 [nouveau]
[252778.060500] [<ffffffffa089503d>] nvkm_vm_map_at+0xdd/0x1d0 [nouveau]
[252778.061015] [<ffffffffa089171b>] nv50_instobj_map+0x1b/0x20 [nouveau]
[252778.061534] [<ffffffffa0891982>] nv50_instobj_boot+0xc2/0x120 [nouveau]
[252778.062050] [<ffffffffa089189b>] nv50_instobj_acquire+0x4b/0x70 [nouveau]
[252778.062564] [<ffffffffa0890887>] nvkm_instobj_acquire_slow+0x17/0x30
[nouveau]
[252778.063080] [<ffffffffa0890c2f>] nvkm_instobj_new+0x6f/0x180 [nouveau]
[252778.063587] [<ffffffffa08475c4>] nvkm_memory_new+0x44/0x80 [nouveau]
[252778.064108] [<fffff...
2016 Aug 22
12
[Bug 97438] New: Running a lot of Firefox instances causes kernel page fault.
...0x1a0 [nouveau]
[ 398.040860] [<ffffffffa0180917>] nvkm_vm_map_at+0xd7/0x1c0 [nouveau]
[ 398.040884] [<ffffffffa017d7e6>] nv50_instobj_map+0x16/0x20 [nouveau]
[ 398.040908] [<ffffffffa017da50>] nv50_instobj_boot+0xc0/0x120 [nouveau]
[ 398.040933] [<ffffffffa017d966>] nv50_instobj_acquire+0x46/0x70 [nouveau]
[ 398.040960] [<ffffffffa017cae2>] nvkm_instobj_acquire_slow+0x12/0x30
[nouveau]
[ 398.040984] [<ffffffffa017ce26>] nvkm_instobj_new+0x56/0x150 [nouveau]
[ 398.041003] [<ffffffffa0140100>] nvkm_memory_new+0x30/0x50 [nouveau]
[ 398.041010] [<ffffffffa...
2017 Dec 18
0
[PATCH] drm/nouveau/imem/nv50: fix incorrect use of refcount API
...a/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c b/drivers/gpu/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);
> + refcoun...
2017 Dec 03
0
nouveau: refcount_t splat on 4.15-rc1 on nv50
...ffff9c8be50a5440
[ 8.209120] FS: 00007f19ee1517c0(0000) GS:ffff9c8befa80000(0000)
knlGS:0000000000000000
[ 8.209122] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 8.209124] CR2: 00007f19eccdcb18 CR3: 00000001a5818000 CR4:
00000000000006e0
[ 8.209126] Call Trace:
[ 8.209182] nv50_instobj_acquire+0xb1/0xf0 [nouveau]
[ 8.209216] nvkm_instobj_new+0xe2/0x160 [nouveau]
[ 8.209245] nvkm_memory_new+0x31/0x50 [nouveau]
[ 8.209278] nvkm_mmu_ptc_get.part.4+0x1ae/0x230 [nouveau]
[ 8.209311] nvkm_vmm_iter.constprop.13+0x458/0x790 [nouveau]
[ 8.209344] ? nvkm_vmm_map_choose+0xb0/0xb...
2016 Nov 09
1
[Bug 98654] New: kernel paging request at iowrite32
...x20 [nouveau]
[<ffffffffa017a1c6>] nv50_vm_map+0x156/0x1a0 [nouveau]
[<ffffffffa017833d>] nvkm_vm_map_at+0xdd/0x1d0 [nouveau]
[<ffffffffa017521b>] nv50_instobj_map+0x1b/0x20 [nouveau]
[<ffffffffa0175482>] nv50_instobj_boot+0xc2/0x120 [nouveau]
[<ffffffffa017539b>] nv50_instobj_acquire+0x4b/0x70 [nouveau]
[<ffffffffa01743c7>] nvkm_instobj_acquire_slow+0x17/0x30 [nouveau]
[<ffffffffa017473a>] nvkm_instobj_new+0x6a/0x170 [nouveau]
[<ffffffffa01363f4>] nvkm_memory_new+0x44/0x80 [nouveau]
[<ffffffffa0178e7f>] nvkm_vm_get+0x15f/0x250 [nouveau]
[<fffffff...
2017 Dec 02
0
nouveau: refcount_t splat on 4.15-rc1 on nv50
...: ffff88021f103fe0
[ 9.887909] FS: 0000000000000000(0000) GS:ffff88022fc00000(0000) knlGS:0000000000000000
[ 9.896230] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9.902117] CR2: 0000560476ba0000 CR3: 0000000225232000 CR4: 00000000000006f0
[ 9.909417] Call Trace:
[ 9.912106] nv50_instobj_acquire+0x123/0x1c0 [nouveau]
[ 9.917565] ? nvbios_rd08+0x1b/0x70 [nouveau]
[ 9.922239] nvkm_instobj_new+0x1e3/0x520 [nouveau]
[ 9.927353] ? nvbios_rd08+0x1b/0x70 [nouveau]
[ 9.932017] ? nvbios_pll_parse+0x8d7/0xcf0 [nouveau]
[ 9.937218] ? kmem_cache_alloc+0x1f0/0x2d0
[ 9.941624] nv...
2017 Jun 24
6
[Bug 101573] New: GP107 crash with no HDMI connected on 4.12.rc6
...čen 23 22:11:07 blackgate kernel: Call Trace:
čen 23 22:11:07 blackgate kernel: nvkm_vm_map_at+0x189/0x1a0 [nouveau]
čen 23 22:11:07 blackgate kernel: nv50_instobj_map+0x1b/0x20 [nouveau]
čen 23 22:11:07 blackgate kernel: nv50_instobj_boot+0x89/0x100 [nouveau]
čen 23 22:11:07 blackgate kernel: nv50_instobj_acquire+0x4b/0x70 [nouveau]
čen 23 22:11:07 blackgate kernel: nvkm_instobj_acquire_slow+0x17/0x30
[nouveau]
čen 23 22:11:07 blackgate kernel: nvkm_instobj_new+0x6e/0x180 [nouveau]
čen 23 22:11:07 blackgate kernel: nvkm_memory_new+0x44/0x80 [nouveau]
čen 23 22:11:07 blackgate kernel: nvkm_vm_get+0x14a/0...