search for: nvif_object_init

Displaying 20 results from an estimated 50 matches for "nvif_object_init".

2020 Mar 18
0
[PATCH 8/9] drm/nouveau/kms/nv50-: Move hard-coded object handles into header
....h" #include "head.h" #include "wndw.h" +#include "handles.h" #include <linux/dma-mapping.h> #include <linux/hdmi.h> @@ -153,7 +154,8 @@ nv50_dmac_create(struct nvif_device *device, struct nvif_object *disp, if (!syncbuf) return 0; - ret = nvif_object_init(&dmac->base.user, 0xf0000000, NV_DMA_IN_MEMORY, + ret = nvif_object_init(&dmac->base.user, NV50_DISP_HANDLE_SYNCBUF, + NV_DMA_IN_MEMORY, &(struct nv_dma_v0) { .target = NV_DMA_V0_TARGET_VRAM, .access = NV_DMA_V0_ACCESS_RDWR, @@ -164,7 +166,8 @@ nv50...
2020 Apr 17
0
[RFC v3 10/11] drm/nouveau/kms/nv50-: Move hard-coded object handles into header
....h" #include "head.h" #include "wndw.h" +#include "handles.h" #include <linux/dma-mapping.h> #include <linux/hdmi.h> @@ -154,7 +155,8 @@ nv50_dmac_create(struct nvif_device *device, struct nvif_object *disp, if (!syncbuf) return 0; - ret = nvif_object_init(&dmac->base.user, 0xf0000000, NV_DMA_IN_MEMORY, + ret = nvif_object_init(&dmac->base.user, NV50_DISP_HANDLE_SYNCBUF, + NV_DMA_IN_MEMORY, &(struct nv_dma_v0) { .target = NV_DMA_V0_TARGET_VRAM, .access = NV_DMA_V0_ACCESS_RDWR, @@ -165,7 +167,8 @@ nv50...
2020 May 08
0
[RFC v4 11/12] drm/nouveau/kms/nv50-: Move hard-coded object handles into header
....h" #include "head.h" #include "wndw.h" +#include "handles.h" #include <linux/dma-mapping.h> #include <linux/hdmi.h> @@ -154,7 +155,8 @@ nv50_dmac_create(struct nvif_device *device, struct nvif_object *disp, if (!syncbuf) return 0; - ret = nvif_object_init(&dmac->base.user, 0xf0000000, NV_DMA_IN_MEMORY, + ret = nvif_object_init(&dmac->base.user, NV50_DISP_HANDLE_SYNCBUF, + NV_DMA_IN_MEMORY, &(struct nv_dma_v0) { .target = NV_DMA_V0_TARGET_VRAM, .access = NV_DMA_V0_ACCESS_RDWR, @@ -165,7 +167,8 @@ nv50...
2017 Dec 02
0
nouveau: refcount_t splat on 4.15-rc1 on nv50
...object_init+0x6a/0x2e0 [nouveau] [ 9.984932] nvkm_ioctl_new+0x198/0x430 [nouveau] [ 9.989846] ? nvif_vmm_init+0x340/0x340 [nouveau] [ 9.994864] ? nvkm_udevice_rd08+0x90/0x90 [nouveau] [ 10.000056] nvkm_ioctl+0x21e/0x5a0 [nouveau] [ 10.004548] ? yield_to+0x2b2/0x370 [ 10.008257] nvif_object_init+0xef/0x1b0 [nouveau] [ 10.013281] nvif_device_init+0x9/0x40 [nouveau] [ 10.018136] nouveau_cli_init+0x234/0x12f0 [nouveau] [ 10.023253] ? idr_alloc_cyclic+0x6c/0x110 [ 10.027487] ? _cond_resched+0x1d/0x80 [ 10.031366] ? kmem_cache_alloc+0x1f0/0x2d0 [ 10.035790] nouveau_drm_load+0x...
2015 Nov 09
5
[PATCH v2 0/5] move pstate interface to debugfs
I made a little changes in this series: 1. merge the two last patches together 2. unify the private data interface with the drm debugfs one now it should be very obvious for a new dev on how to add new files to debugfs and how to get access to the nouveau structs Karol Herbst (5): debugfs: add infrastructure to add files with other fops than only read debugfs: rename functions to
2015 Dec 20
8
[Bug 93458] New: page allocation failure: order:5, mode:0x240c0c0
...<ffffffff813e5f8e>] nvkm_ioctl_new+0x10e/0x260 [<ffffffff8143bad0>] ? nvkm_udevice_map+0x40/0x40 [<ffffffff813e6602>] nvkm_ioctl+0x102/0x250 [<ffffffff8147d90d>] nvkm_client_ioctl+0xd/0x10 [<ffffffff813e38cc>] nvif_object_ioctl+0x3c/0x50 [<ffffffff813e3e7d>] nvif_object_init+0xbd/0x130 [<ffffffff81492866>] nouveau_channel_new+0xa6/0x630 [<ffffffff813e4198>] ? nvif_device_init+0x28/0x30 [<ffffffff81491a2a>] nouveau_abi16_ioctl_channel_alloc+0xda/0x2d0 [<ffffffff813be0ad>] ? drm_copy_field+0x3d/0x60 [<ffffffff813bdc9e>] drm_ioctl+0x13e/...
2018 Feb 13
2
4.16-rc1: UBSAN warning in nouveau/nvkm/subdev/therm/base.c + oops in nvkm_therm_clkgate_fini
...x5b/0x5b [nouveau] [ 7.402587] nvkm_ioctl+0x1c6/0x48d [nouveau] [ 7.402829] ? nvif_client_init+0xc3/0x114 [nouveau] [ 7.403094] ? nvkm_client_map+0xf/0xf [nouveau] [ 7.403382] nvkm_client_ioctl+0x1c/0x22 [nouveau] [ 7.403643] nvif_object_ioctl+0x6f/0xff [nouveau] [ 7.403903] nvif_object_init+0xd4/0x1de [nouveau] [ 7.404164] nvif_device_init+0x21/0x5c [nouveau] [ 7.404453] nouveau_cli_init+0x21f/0xe1f [nouveau] [ 7.404733] ? nouveau_drm_load+0x1d/0xe11 [nouveau] [ 7.405011] nouveau_drm_load+0x54/0xe11 [nouveau] [ 7.405112] ? kernfs_new_node+0x2b/0x8e [ 7.405209]...
2017 Jun 02
0
Kernel panic on nouveau during boot on NVIDIA NV118 (GM108)
...nit+0x40/0x190 [nouveau] nvkm_ioctl_new+0x179/0x290 [nouveau] ? nvkm_client_notify+0x30/0x30 [nouveau] ? nvkm_udevice_rd08+0x30/0x30 [nouveau] nvkm_ioctl+0x168/0x240 [nouveau] ? nvif_client_init+0x42/0x110 [nouveau] nvkm_client_ioctl+0x12/0x20 [nouveau] nvif_object_ioctl+0x42/0x50 [nouveau] nvif_object_init+0xc2/0x130 [nouveau] nvif_device_init+0x12/0x30 [nouveau] nouveau_cli_init+0x15e/0x1d0 [nouveau] nouveau_drm_load+0x67/0x8b0 [nouveau] ? sysfs_do_create_link_sd.isra.2+0x70/0xb0 drm_dev_register+0x148/0x1e0 [drm] drm_get_pci_dev+0xa0/0x160 [drm] nouveau_drm_probe+0x1d9/0x260 [nouveau] Danie...
2018 Jan 12
0
[PATCH] drm/nouveau/core/client: use strlcpy() instead of strncpy()
...vers/gpu/drm/nouveau/nvif/client.c index 12db549..f294d99 100644 --- a/drivers/gpu/drm/nouveau/nvif/client.c +++ b/drivers/gpu/drm/nouveau/nvif/client.c @@ -69,7 +69,7 @@ } nop = {}; int ret; - strncpy(args.name, name, sizeof(args.name)); + strlcpy(args.name, name, sizeof(args.name)); ret = nvif_object_init(parent != client ? &parent->object : NULL, 0, NVIF_CLASS_CLIENT, &args, sizeof(args), &client->object); -- 1.8.3.1
2018 Oct 18
0
kmemleak in nvkm_iccsense_oneinit
...[<000000003b736a7c>] nvkm_udevice_init+0x93/0xe0 [nouveau] [<00000000cc1011dc>] nvkm_object_init+0xcb/0x610 [nouveau] [<0000000006253ff8>] nvkm_ioctl_new+0x412/0x9a0 [nouveau] [<00000000db03ae9a>] nvkm_ioctl+0x3b4/0xbe0 [nouveau] [<00000000ac40bf7e>] nvif_object_init+0x2df/0x530 [nouveau] [<00000000e98baaae>] nvif_device_init+0x12/0xe0 [nouveau] [<000000006d050b26>] nouveau_cli_init+0x4e7/0x15b0 [nouveau] [<00000000d3f314bc>] nouveau_drm_load+0x118/0x1380 [nouveau] [<000000009823b666>] drm_dev_register+0x2c5/0x5a0 [drm]...
2018 Oct 18
0
kmemleak in nvkm_iccsense_oneinit
...[<000000003b736a7c>] nvkm_udevice_init+0x93/0xe0 [nouveau] [<00000000cc1011dc>] nvkm_object_init+0xcb/0x610 [nouveau] [<0000000006253ff8>] nvkm_ioctl_new+0x412/0x9a0 [nouveau] [<00000000db03ae9a>] nvkm_ioctl+0x3b4/0xbe0 [nouveau] [<00000000ac40bf7e>] nvif_object_init+0x2df/0x530 [nouveau] [<00000000e98baaae>] nvif_device_init+0x12/0xe0 [nouveau] [<000000006d050b26>] nouveau_cli_init+0x4e7/0x15b0 [nouveau] [<00000000d3f314bc>] nouveau_drm_load+0x118/0x1380 [nouveau] [<000000009823b666>] drm_dev_register+0x2c5/0x5a0 [drm]...
2015 Jun 08
2
[PATCH RFC 05/20] pm: reorganize the nvif interface
...uct nvif_perfctr_query_v0 args = {}; > + struct nvif_perfmon_query_signal_v0 args = {}; > struct nvif_client *client; > struct nvif_object object; > int ret, c, k; > @@ -644,15 +644,14 @@ main(int argc, char **argv) > } > > ret = nvif_object_init(nvif_object(device), NULL, 0xdeadbeef, > - NVIF_IOCTL_NEW_V0_PERFCTR, > - &(struct nvif_perfctr_v0) { > - }, sizeof(struct nvif_perfctr_v0), &object); > + NVIF_IOC...
2017 Jun 06
14
[Bug 101322] New: GM108/NV118: 0 MiB DDR3 and boot crash in gf100_ltc_oneinit_tag_ram
...0x30 [nouveau] [ 20.859794] ? nvkm_udevice_rd08+0x30/0x30 [nouveau] [ 20.861674] nvkm_ioctl+0x168/0x240 [nouveau] [ 20.863576] ? nvif_client_init+0x42/0x110 [nouveau] [ 20.865449] nvkm_client_ioctl+0x12/0x20 [nouveau] [ 20.867368] nvif_object_ioctl+0x42/0x50 [nouveau] [ 20.869237] nvif_object_init+0xc2/0x130 [nouveau] [ 20.871141] nvif_device_init+0x12/0x30 [nouveau] [ 20.872994] nouveau_cli_init+0x15e/0x1d0 [nouveau] [ 20.874873] nouveau_drm_load+0x67/0x8b0 [nouveau] [ 20.876674] ? sysfs_do_create_link_sd.isra.2+0x70/0xb0 [ 20.878451] drm_dev_register+0x148/0x1e0 [drm] [ 20...
2015 Nov 22
2
nouveau: iowrite32 oops & warning at drivers/gpu/drm/nouveau/nouveau_fence.c:198
...fffffff81ed282b>] nvkm_ioctl+0x1fb/0x510 [<ffffffff8118dfc6>] ? trace_hardirqs_on_caller+0x16/0x280 [<ffffffff81fedce0>] ? nvkm_client_map+0x10/0x10 [<ffffffff81fedced>] nvkm_client_ioctl+0xd/0x10 [<ffffffff81eccf6d>] nvif_object_ioctl+0xad/0xe0 [<ffffffff81ecdb40>] nvif_object_init+0x160/0x1e0 [<ffffffff82014f9d>] nouveau_channel_new+0x18d/0xca0 [<ffffffff8130fc6c>] ? create_object+0x28c/0x4d0 [<ffffffff82014e10>] ? nouveau_channel_prep+0x4b0/0x4b0 [<ffffffff8130fde6>] ? create_object+0x406/0x4d0 [<ffffffff8130f9e0>] ? kmemleak_disable+0x70/0x70...
2017 Dec 03
0
nouveau: refcount_t splat on 4.15-rc1 on nv50
...0x60 [nouveau] [ 8.209602] nvkm_object_init+0x3a/0x180 [nouveau] [ 8.209630] nvkm_ioctl_new+0x19d/0x260 [nouveau] [ 8.209658] ? nvkm_client_notify+0x30/0x30 [nouveau] [ 8.209692] ? nvkm_udevice_rd08+0x20/0x20 [nouveau] [ 8.209720] nvkm_ioctl+0x100/0x240 [nouveau] [ 8.209747] nvif_object_init+0xbf/0x110 [nouveau] [ 8.209774] nvif_device_init+0xe/0x30 [nouveau] [ 8.209808] nouveau_cli_init+0x1bb/0x560 [nouveau] [ 8.209812] ? kmem_cache_alloc_trace+0x175/0x1e0 [ 8.209846] nouveau_drm_load+0x56/0x900 [nouveau] [ 8.209865] drm_dev_register+0x12f/0x1c0 [drm] [ 8.209874...
2017 Jun 02
3
Kernel panic on nouveau during boot on NVIDIA NV118 (GM108)
We are working with new desktop that have the NVIDIA NV118 chipset. During boot, the display becomes unusable at the point where the nouveau driver loads. We have reproduced on 4.8, 4.11 and linux master (4.12-rc3). Dmesg log is attached. Is this a known issue? Anything we can do to help? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL:
2019 May 17
4
drm/nouveau/core/memory: kmemleak 684 new suspected memory leaks
Hello, 5.1.0-next-20190517 I'm looking at quite a lot of kmemleak reports coming from drm/nouveau/core/memory, all of which are: unreferenced object 0xffff8deec27c4ac0 (size 16): comm "Web Content", pid 5309, jiffies 4309675011 (age 68.076s) hex dump (first 16 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace:
2015 Nov 22
0
nouveau: iowrite32 oops & warning at drivers/gpu/drm/nouveau/nouveau_fence.c:198
..._ioctl+0x1fb/0x510 > [<ffffffff8118dfc6>] ? trace_hardirqs_on_caller+0x16/0x280 > [<ffffffff81fedce0>] ? nvkm_client_map+0x10/0x10 > [<ffffffff81fedced>] nvkm_client_ioctl+0xd/0x10 > [<ffffffff81eccf6d>] nvif_object_ioctl+0xad/0xe0 > [<ffffffff81ecdb40>] nvif_object_init+0x160/0x1e0 > [<ffffffff82014f9d>] nouveau_channel_new+0x18d/0xca0 > [<ffffffff8130fc6c>] ? create_object+0x28c/0x4d0 > [<ffffffff82014e10>] ? nouveau_channel_prep+0x4b0/0x4b0 > [<ffffffff8130fde6>] ? create_object+0x406/0x4d0 > [<ffffffff8130f9e0>] ? km...
2016 Aug 22
12
[Bug 97438] New: Running a lot of Firefox instances causes kernel page fault.
...0x60/0x60 [nouveau] [ 398.041010] [<ffffffffa013fffc>] nvkm_ioctl+0x1cc/0x240 [nouveau] [ 398.041010] [<ffffffffa01d71ed>] nvkm_client_ioctl+0xd/0x10 [nouveau] [ 398.041010] [<ffffffffa013d03d>] nvif_object_ioctl+0x3d/0x50 [nouveau] [ 398.041010] [<ffffffffa013d59d>] nvif_object_init+0xbd/0x130 [nouveau] [ 398.041010] [<ffffffffa01eae51>] nouveau_abi16_ioctl_grobj_alloc+0x141/0x2d0 [nouveau] [ 398.041010] [<ffffffffa00276bd>] drm_ioctl+0x13d/0x560 [drm] [ 398.041010] [<ffffffffa01ead10>] ? nouveau_abi16_ioctl_channel_free+0x90/0x90 [nouveau] [ 398.04101...
2019 Feb 01
2
[Bug 109529] New: [NV46] unable to handle kernel paging request
...0x9a/0x9a [nouveau] [ 243.143727] nvkm_ioctl+0xe8/0x275 [nouveau] [ 243.143766] ? nvkm_client_ioctl+0x1c/0x22 [nouveau] [ 243.143807] nvkm_client_ioctl+0x1c/0x22 [nouveau] [ 243.143846] ? nvkm_client_map+0xf/0xf [nouveau] [ 243.143861] nvif_object_ioctl+0x47/0x66 [nouveau] [ 243.143861] nvif_object_init+0xbc/0x1a0 [nouveau] [ 243.143861] nouveau_channel_new+0x25e/0x6b5 [nouveau] [ 243.143861] ? nvif_device_init+0x50/0x57 [nouveau] [ 243.143861] nouveau_abi16_ioctl_channel_alloc+0xb6/0x321 [nouveau] [ 243.143861] ? nouveau_abi16_ioctl_setparam+0xa/0xa [nouveau] [ 243.143861] drm_ioctl_ker...