search for: nvkm_engine_ref

Displaying 16 results from an estimated 16 matches for "nvkm_engine_ref".

Did you mean: nvkm_engine_ce0
2017 Mar 10
1
[bug report] drm/nouveau/secboot: add gp102/gp104/gp106/gp107 support
...bin_hdr; 55 struct hsf_fw_header *fw_hdr; 56 struct hsf_load_header *lhdr; 57 void *scrub_data; 58 int ret; 59 60 nvkm_debug(subdev, "running VPR scrubber binary on NVDEC...\n"); 61 62 if (!(engine = nvkm_engine_ref(&device->nvdec->engine))) 63 return PTR_ERR(engine); This code doesn't make sense. nvkm_engine_ref() isn't going to return NULL because we're not passing a NULL to it. I guess we should be checking for ERR_PTR(). But really why does nvkm_engine_ref() e...
2017 Mar 15
0
[PATCH] secboot: fix inconsistent pointer checking
We were returning PTR_ERR() on a NULL pointer, which obviously won't work. nvkm_engine_ref() will return an error in case something went wrong. Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> Reported-by: Dan Carpenter <dan.carpenter at oracle.com> --- drm/nouveau/nvkm/subdev/secboot/gp102.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drm...
2018 May 30
0
[PATCH] drm/nouveau/core: ERR_PTR vs NULL bug in nvkm_engine_info()
The nvkm_engine_ref() function returns error pointers, not NULL on error. I fixed that but I also had to reverse some of the checks so it didn't become too convoluted. Fixes: c5c9127b25b2 ("drm/nouveau/device: implement a generic method to query device-specific properties") Signed-off-by: Dan Carpenter...
2017 May 04
1
[bug report] drm/nouveau/object: merge with handle
...283 void 284 nvkm_object_ctor(const struct nvkm_object_func *func, 285 const struct nvkm_oclass *oclass, struct nvkm_object *object) 286 { 287 object->func = func; 288 object->client = oclass->client; 289 object->engine = nvkm_engine_ref(oclass->engine); 290 object->oclass = oclass->base.oclass; 291 object->handle = oclass->handle; 292 object->route = oclass->route; 293 object->token = oclass->token; 294 object->object = oclass->object;...
2019 Feb 15
0
[PATCH] pci/quirks: Add quirk to reset nvgpu at boot for the Lenovo ThinkPad P50
...0000000000000400 > Call Trace: > gf100_gr_init_ctxctl+0x27b/0x2d0 [nouveau] > gf100_gr_init+0x5bd/0x5e0 [nouveau] > gf100_gr_init_+0x61/0x70 [nouveau] > nvkm_gr_init+0x1d/0x20 [nouveau] > nvkm_engine_init+0xcb/0x210 [nouveau] > nvkm_subdev_init+0xd6/0x230 [nouveau] > nvkm_engine_ref.part.0+0x52/0x70 [nouveau] > nvkm_engine_ref+0x13/0x20 [nouveau] > nvkm_ioctl_new+0x12c/0x260 [nouveau] > ? nvkm_fifo_chan_child_del+0xa0/0xa0 [nouveau] > ? gf100_gr_dtor+0xe0/0xe0 [nouveau] > nvkm_ioctl+0xe2/0x180 [nouveau] > nvkm_client_ioctl+0x12/0x20 [nouveau] > nvif...
2019 Feb 15
3
[PATCH] pci/quirks: Add quirk to reset nvgpu at boot for the Lenovo ThinkPad P50
...> > gf100_gr_init_ctxctl+0x27b/0x2d0 [nouveau] > > gf100_gr_init+0x5bd/0x5e0 [nouveau] > > gf100_gr_init_+0x61/0x70 [nouveau] > > nvkm_gr_init+0x1d/0x20 [nouveau] > > nvkm_engine_init+0xcb/0x210 [nouveau] > > nvkm_subdev_init+0xd6/0x230 [nouveau] > > nvkm_engine_ref.part.0+0x52/0x70 [nouveau] > > nvkm_engine_ref+0x13/0x20 [nouveau] > > nvkm_ioctl_new+0x12c/0x260 [nouveau] > > ? nvkm_fifo_chan_child_del+0xa0/0xa0 [nouveau] > > ? gf100_gr_dtor+0xe0/0xe0 [nouveau] > > nvkm_ioctl+0xe2/0x180 [nouveau] > > nvkm_client_ioctl+...
2019 Feb 12
7
[PATCH] pci/quirks: Add quirk to reset nvgpu at boot for the Lenovo ThinkPad P50
...0000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gf100_gr_init_ctxctl+0x27b/0x2d0 [nouveau] gf100_gr_init+0x5bd/0x5e0 [nouveau] gf100_gr_init_+0x61/0x70 [nouveau] nvkm_gr_init+0x1d/0x20 [nouveau] nvkm_engine_init+0xcb/0x210 [nouveau] nvkm_subdev_init+0xd6/0x230 [nouveau] nvkm_engine_ref.part.0+0x52/0x70 [nouveau] nvkm_engine_ref+0x13/0x20 [nouveau] nvkm_ioctl_new+0x12c/0x260 [nouveau] ? nvkm_fifo_chan_child_del+0xa0/0xa0 [nouveau] ? gf100_gr_dtor+0xe0/0xe0 [nouveau] nvkm_ioctl+0xe2/0x180 [nouveau] nvkm_client_ioctl+0x12/0x20 [nouveau] nvif_object_ioctl+0x47/0x50 [nouveau]...
2018 Aug 23
3
[PATCH 0/3] drm/nouveau: Fixup module probe to add ->shutdown()
This series is intended to add support for shutting down the GPU on kernel shutdown/reboot using the ->shutdown() hook, similar to what amdgpu does. This is mainly intended to workaround a bios issue on the P50 that was preventing nouveau from initializing the dedicated GM107 GPU on that system properly. You can find more details on this issue in the patch labeled "Shut down GPU on kernel
2019 Mar 13
0
[PATCH] pci/quirks: Add quirk to reset nvgpu at boot for the Lenovo ThinkPad P50
...l+0x27b/0x2d0 [nouveau] > > > gf100_gr_init+0x5bd/0x5e0 [nouveau] > > > gf100_gr_init_+0x61/0x70 [nouveau] > > > nvkm_gr_init+0x1d/0x20 [nouveau] > > > nvkm_engine_init+0xcb/0x210 [nouveau] > > > nvkm_subdev_init+0xd6/0x230 [nouveau] > > > nvkm_engine_ref.part.0+0x52/0x70 [nouveau] > > > nvkm_engine_ref+0x13/0x20 [nouveau] > > > nvkm_ioctl_new+0x12c/0x260 [nouveau] > > > ? nvkm_fifo_chan_child_del+0xa0/0xa0 [nouveau] > > > ? gf100_gr_dtor+0xe0/0xe0 [nouveau] > > > nvkm_ioctl+0xe2/0x180 [nouveau] >...
2018 Sep 03
4
[Bug 107818] New: linux-4.18.5 every boot some drivers errors
...00 [ 7.143857] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 7.143857] CR2: 00007fc5bf3280e0 CR3: 0000000257fe2006 CR4: 00000000003606e0 [ 7.143858] Call Trace: [ 7.143867] nvkm_engine_init+0xa5/0x1d0 [nouveau] [ 7.143875] nvkm_subdev_init+0xad/0x1f0 [nouveau] [ 7.143882] nvkm_engine_ref.part.0+0x3e/0x60 [nouveau] [ 7.143889] nvkm_ioctl_new+0x120/0x200 [nouveau] [ 7.143901] ? nvkm_fifo_chan_dtor+0xe0/0xe0 [nouveau] [ 7.143911] ? gf100_fermi_mthd+0xf0/0xf0 [nouveau] [ 7.143919] nvkm_ioctl+0xd3/0x170 [nouveau] [ 7.143925] nvif_object_init+0xba/0x110 [nouveau] [...
2019 Jan 16
0
GP108 on PPC
...00a4173c0] [c00800000dbe703c] nvkm_gr_init+0x34/0x50 [nouveau] [ 25.394740] [c00000000a4173e0] [c00800000db0f4d8] nvkm_engine_init+0x190/0x2e0 [nouveau] [ 25.396354] [c00000000a417470] [c00800000db16ed4] nvkm_subdev_init+0x11c/0x320 [nouveau] [ 25.397965] [c00000000a4174f0] [c00800000db0f6ac] nvkm_engine_ref.part.0+0x84/0xd0 [nouveau] [ 25.399578] [c00000000a417530] [c00800000db11ef4] nvkm_ioctl_new+0x1cc/0x3c0 [nouveau] [ 25.401173] [c00000000a417660] [c00800000db123b4] nvkm_ioctl+0x10c/0x370 [nouveau] [ 25.402769] [c00000000a417700] [c00800000dc26818] nvkm_client_ioctl+0x20/0x40 [nouveau] [ 2...
2019 May 30
14
[Bug 110797] New: No video if nomodeset is not set with GTX 460
https://bugs.freedesktop.org/show_bug.cgi?id=110797 Bug ID: 110797 Summary: No video if nomodeset is not set with GTX 460 Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau
2016 Aug 22
12
[Bug 97438] New: Running a lot of Firefox instances causes kernel page fault.
https://bugs.freedesktop.org/show_bug.cgi?id=97438 Bug ID: 97438 Summary: Running a lot of Firefox instances causes kernel page fault. Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component:
2017 Jul 15
4
[drm/nouveau] GeForce 8600 GT boot/suspend grumbling
...] Call Trace: [ 3.919500] nvkm_outp_ctor+0x105/0x130 [nouveau] [ 3.919508] ? kmem_cache_alloc_trace+0x135/0x140 [ 3.919550] nvkm_disp_oneinit+0x132/0x510 [nouveau] [ 3.919583] nvkm_engine_init+0x74/0x1d0 [nouveau] [ 3.919617] nvkm_subdev_init+0xaf/0x200 [nouveau] [ 3.919648] nvkm_engine_ref+0x4a/0x70 [nouveau] [ 3.919681] nvkm_ioctl_new+0x118/0x280 [nouveau] [ 3.919705] ? drm_property_create+0x100/0x150 [drm] [ 3.919746] ? nvkm_udevice_map+0x40/0x40 [nouveau] [ 3.919779] nvkm_ioctl+0x13c/0x230 [nouveau] [ 3.919785] ? try_to_grab_pending+0xa7/0x130 [ 3.919816] n...
2017 Mar 16
52
[Bug 100228] New: [NV137] unknown chipset (137000a1)
https://bugs.freedesktop.org/show_bug.cgi?id=100228 Bug ID: 100228 Summary: [NV137] unknown chipset (137000a1) Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau
2017 Sep 11
2
Nouveau: kernel hang on Optimus+Intel+NVidia GeForce 1060m
...2.511594] ? acr_r352_reset+0x23/0x1c8 [nouveau] [ 2.511631] ? gf100_gr_init_ctxctl+0x110/0x8ae [nouveau] [ 2.511667] ? gp100_gr_init+0x62c/0x656 [nouveau] [ 2.511694] ? nvkm_engine_init+0x129/0x154 [nouveau] [ 2.511722] ? nvkm_subdev_init+0x114/0x186 [nouveau] [ 2.511747] ? nvkm_engine_ref+0x32/0x59 [nouveau] [ 2.511772] ? nvkm_ioctl_new+0x15d/0x208 [nouveau] [ 2.511808] ? nvkm_fifo_chan_dtor+0xc0/0xc0 [nouveau] [ 2.511844] ? gf100_gr_chan_new+0x224/0x224 [nouveau] [ 2.511871] ? nvkm_ioctl+0x16d/0x1ca [nouveau] [ 2.511897] ? nvif_object_init+0xc6/0x101 [nouveau] [...