search for: nouveau_mem_map

Displaying 12 results from an estimated 12 matches for "nouveau_mem_map".

2019 May 17
4
drm/nouveau/core/memory: kmemleak 684 new suspected memory leaks
...nvkm_vram_map+0x48/0x50 [<00000000d8176378>] nvkm_uvmm_mthd+0x658/0x770 [<00000000463fca5a>] nvkm_ioctl+0xdf/0x177 [<000000000afc4996>] nvif_object_mthd+0xd4/0x100 [<000000002f7a7385>] nvif_vmm_map+0xeb/0x100 [<00000000ef2537ed>] nouveau_mem_map+0x79/0xd0 [<0000000014ddc0cf>] nouveau_vma_new+0x19d/0x1c0 [<00000000f99888a1>] nouveau_gem_object_open+0xd4/0x140 [<000000009cd25861>] drm_gem_handle_create_tail+0xe3/0x160 [<00000000191784d9>] nouveau_gem_ioctl_new+0x6e/0xd0 [<000...
2008 Mar 09
0
[PATCH 2/4] nouveau: add nouveau_map_block function
...herwise returns non-zero. */ +static int nouveau_map_block(struct drm_device *dev, struct mem_block *block) +{ + struct drm_map_list *entry; + + entry = drm_find_matching_map(dev, block->map); + if (!entry) + return -EINVAL; + + block->map_handle = entry->user_token; + block->flags |= NOUVEAU_MEM_MAPPED; + return 0; +} + static int nouveau_addmap(struct drm_device *dev, struct mem_block *block, unsigned long offset, enum drm_map_type type) { @@ -619,9 +633,7 @@ alloc_ok: if (flags&NOUVEAU_MEM_MAPPED) { - struct drm_map_list *entry; int ret = 0; - block->flags|=NOUVEAU_...
2008 Mar 09
0
[PATCH 4/4] nouveau: clean up nouveau_mem_alloc function
...ze, int alignment, int flags, + struct drm_file *file_priv) +{ + struct mem_block *block; + int err; + + block = nouveau_mem_alloc_block(heap, size, alignment, file_priv); + if (!block) + return NULL; + block->flags = type; + + /* + * Does the block need mapping? + */ + if (!(flags & NOUVEAU_MEM_MAPPED)) + return block; + + switch (type) { + case NOUVEAU_MEM_AGP: + err = nouveau_addmap_agp(dev, block); + break; + case NOUVEAU_MEM_FB: + err = nouveau_addmap_fb(dev, block); + break; + case NOUVEAU_MEM_PCI: + err = nouveau_addmap_pci(dev, block); + break; + default: + err = -EI...
2019 Oct 09
3
[Bug 111940] New: frequent timeout warnings during normal operation
...x780 [nouveau] [410260.351678] nvkm_ioctl+0xde/0x180 [nouveau] [410260.351678] nvif_object_mthd+0x104/0x130 [nouveau] [410260.351678] ? dma_fence_free+0x20/0x20 [410260.351678] nvif_vmm_map+0x115/0x130 [nouveau] [410260.351678] ? reservation_object_wait_timeout_rcu+0x159/0x2d0 [410260.351678] nouveau_mem_map+0x8d/0xf0 [nouveau] [410260.351678] nouveau_vma_map+0x44/0x70 [nouveau] [410260.351678] nouveau_bo_move_ntfy+0xc1/0xe0 [nouveau] [410260.351678] ttm_bo_handle_move_mem+0x3a1/0x4f0 [ttm] [410260.351678] ttm_bo_evict+0x150/0x1d0 [ttm] [410260.351678] ? find_busiest_group+0x40/0x540 [410260.35167...
2019 May 17
0
drm/nouveau/core/memory: kmemleak 684 new suspected memory leaks
...gt; [<00000000d8176378>] nvkm_uvmm_mthd+0x658/0x770 > [<00000000463fca5a>] nvkm_ioctl+0xdf/0x177 > [<000000000afc4996>] nvif_object_mthd+0xd4/0x100 > [<000000002f7a7385>] nvif_vmm_map+0xeb/0x100 > [<00000000ef2537ed>] nouveau_mem_map+0x79/0xd0 > [<0000000014ddc0cf>] nouveau_vma_new+0x19d/0x1c0 > [<00000000f99888a1>] nouveau_gem_object_open+0xd4/0x140 > [<000000009cd25861>] drm_gem_handle_create_tail+0xe3/0x160 > [<00000000191784d9>] nouveau_gem_ioctl_new+0x6e/0...
2008 Mar 09
0
[PATCH 1/4] nouveau: add nouveau_addmap_{agp, fb, pci} functions
...type = _DRM_AGP; + + return nouveau_addmap(dev, block, block->start, type); +} + struct mem_block* nouveau_mem_alloc(struct drm_device *dev, int alignment, uint64_t size, int flags, struct drm_file *file_priv) @@ -590,21 +623,12 @@ alloc_ok: int ret = 0; block->flags|=NOUVEAU_MEM_MAPPED; - if (type == NOUVEAU_MEM_AGP) { - if (dev_priv->gart_info.type != NOUVEAU_GART_SGDMA) - ret = drm_addmap(dev, block->start, block->size, - _DRM_AGP, 0, &block->map); - else - ret = drm_addmap(dev, block->start, block->size, - _DRM_SCATTER_GATHER, 0, &...
2019 Feb 23
0
[Bug 101220] [NV137/GP107] xorg-server-1.19.3 crashes when trying to enable HDMI output
...8 dell-2017 kernel: nvkm_ioctl+0x105/0x240 [nouveau] feb 23 17:21:08 dell-2017 kernel: nvif_object_mthd+0xd3/0xf0 [nouveau] feb 23 17:21:08 dell-2017 kernel: ? dma_fence_wait_timeout+0x30/0x30 feb 23 17:21:08 dell-2017 kernel: nvif_vmm_map+0xef/0x110 [nouveau] feb 23 17:21:08 dell-2017 kernel: nouveau_mem_map+0x73/0xd0 [nouveau] feb 23 17:21:08 dell-2017 kernel: nouveau_vma_map+0x2f/0x40 [nouveau] feb 23 17:21:08 dell-2017 kernel: nouveau_bo_move_ntfy+0x6b/0xd0 [nouveau] feb 23 17:21:08 dell-2017 kernel: ttm_bo_handle_move_mem+0x3b1/0x590 [ttm] feb 23 17:21:08 dell-2017 kernel: ? drm_vma_offset_add+...
2019 Sep 27
5
[Bug 111843] New: Resume fails after suspend with nouveau and Gtx 1050 ti
...a/0x780 [nouveau] [ 469.931888] nvkm_ioctl+0xde/0x180 [nouveau] [ 469.931903] ? nvkm_uvmm_mthd+0x17f/0x780 [nouveau] [ 469.931912] nvif_object_mthd+0x104/0x130 [nouveau] [ 469.931921] ? nvif_object_mthd+0x117/0x130 [nouveau] [ 469.931929] nvif_vmm_map+0x115/0x130 [nouveau] [ 469.931949] nouveau_mem_map+0x8d/0xf0 [nouveau] [ 469.931969] nouveau_bo_move_m2mf.constprop.0+0x113/0x200 [nouveau] [ 469.931989] nouveau_bo_move+0xa5/0x430 [nouveau] [ 469.932008] ? nouveau_vma_map+0x44/0x70 [nouveau] [ 469.932011] ttm_bo_handle_move_mem+0x10b/0x4f0 [ttm] [ 469.932013] ttm_bo_validate+0x11b/0x130...
2018 Sep 03
4
[Bug 107818] New: linux-4.18.5 every boot some drivers errors
...0x8d0 [nouveau] [ 9.145468] nvkm_ioctl+0xd3/0x170 [nouveau] [ 9.145476] nvif_object_mthd+0x103/0x130 [nouveau] [ 9.145483] ? nvif_object_mthd+0x113/0x130 [nouveau] [ 9.145491] nvif_vmm_map+0x115/0x130 [nouveau] [ 9.145493] ? selinux_inode_alloc_security+0x2d/0x70 [ 9.145503] nouveau_mem_map+0x7c/0xf0 [nouveau] [ 9.145513] nouveau_vma_new+0x1b6/0x1e0 [nouveau] [ 9.145523] nouveau_gem_object_open+0x11b/0x150 [nouveau] [ 9.145525] drm_gem_handle_create_tail+0xbf/0x140 [ 9.145534] ? nouveau_gem_new+0x120/0x120 [nouveau] [ 9.145543] nouveau_gem_ioctl_new+0x86/0xe0 [nouv...
2018 Apr 03
2
nouveau TRAP_M2MF still there on G98
...12: 0000000000000000 [18830.357823] ? _cond_resched+0x10/0x40 [18830.362985] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 [18830.362991] ? common_interrupt+0xa/0xf [18830.367541] nvif_vmm_map+0x90/0xd0 [nouveau] [18830.370549] ? hrtimer_interrupt+0x112/0x240 [18830.375189] nouveau_mem_map+0x77/0xd0 [nouveau] [18830.378884] irq_exit+0xaa/0xb0 [18830.383618] nouveau_vma_new+0x1b5/0x1d0 [nouveau] [18830.388001] smp_apic_timer_interrupt+0x64/0xa0 [18830.392746] nouveau_gem_object_open+0x109/0x130 [nouveau] [18830.400421] apic_timer_interrupt+0xf/0x20 [18830.404788] drm_gem_handle_...
2018 Nov 25
11
[Bug 108857] New: display becomes unresponsive and keyboard input fails
https://bugs.freedesktop.org/show_bug.cgi?id=108857 Bug ID: 108857 Summary: display becomes unresponsive and keyboard input fails Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau
2019 Nov 10
2
[Bug 112239] New: nouveau hangs video with TU116 - regression in kernel 5.3
...bar kernel: nvkm_uvmm_mthd+0x66a/0x780 [nouveau] > Nov 1000:27:47 foobar kernel: nvkm_ioctl+0xde/0x180 [nouveau] > Nov 1000:27:47 foobar kernel: nvif_object_mthd+0x104/0x130 [nouveau] > Nov 1000:27:47 foobar kernel: nvif_vmm_map+0x115/0x130 [nouveau] > Nov 1000:27:47 foobar kernel: nouveau_mem_map+0x8d/0x100 [nouveau] > Nov 1000:27:47 foobar kernel: nouveau_vma_map+0x44/0x70 [nouveau] > Nov 1000:27:47 foobar kernel: nouveau_bo_move_ntfy+0xcd/0xe0 [nouveau] > Nov 1000:27:47 foobar kernel: ttm_bo_handle_move_mem+0xd2/0x5a0 [ttm] > Nov 1000:27:47 foobar kernel: ttm_bo_evict+0x16...