search for: ttm_bo_clean_mm

Displaying 6 results from an estimated 6 matches for "ttm_bo_clean_mm".

2009 Aug 19
1
[PATCH] drm/nouveau: Add a MM for mappable VRAM that isn't usable as scanout.
...nouveau_mem.c b/drivers/gpu/drm/nouveau/nouveau_mem.c index 01160fe..61336a2 100644 --- a/drivers/gpu/drm/nouveau/nouveau_mem.c +++ b/drivers/gpu/drm/nouveau/nouveau_mem.c @@ -299,6 +299,8 @@ void nouveau_mem_close(struct drm_device *dev) if (dev_priv->ttm.bdev.man[TTM_PL_PRIV0].has_type) ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_PRIV0); + if (dev_priv->ttm.bdev.man[TTM_PL_PRIV1].has_type) + ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_PRIV1); ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM); ttm_bo_device_release(&dev_priv->ttm.bdev); @@ -410,6 +412,17 @@ ui...
2010 Jan 16
0
[PATCH] drm/nouveau: Evict buffers in VRAM before freeing sgdma
...eau/nouveau_mem.c index 186f34b..8f3a12f 100644 --- a/drivers/gpu/drm/nouveau/nouveau_mem.c +++ b/drivers/gpu/drm/nouveau/nouveau_mem.c @@ -386,7 +386,6 @@ void nouveau_mem_close(struct drm_device *dev) nouveau_bo_unpin(dev_priv->vga_ram); nouveau_bo_ref(NULL, &dev_priv->vga_ram); - ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM); ttm_bo_device_release(&dev_priv->ttm.bdev); nouveau_ttm_global_release(dev_priv); diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 09b9a46..c212742 100644 --- a/drivers/gpu/drm/nouveau/nouveau...
2010 Feb 01
4
[PATCH 1/3] Introduce nouveau_bo_wait for waiting on a BO with a GPU channel
nouveau_bo_wait will make the GPU channel wait for fence if possible, otherwise falling back to waiting with the CPU using ttm_bo_wait. The nouveau_fence_sync function currently returns -ENOSYS, and is the focus of the next patch. Signed-off-by: Luca Barbieri <luca at luca-barbieri.com> --- drivers/gpu/drm/nouveau/nouveau_bo.c | 68 ++++++++++++++++++++++++++++++-
2018 Oct 07
0
Device release NULL pointer dereference
...veau_bo_move+0xaa/0x450 [nouveau] ? nvif_vmm_unmap+0x38/0x60 [nouveau] ? nouveau_vma_unmap+0x20/0x30 [nouveau] ttm_bo_handle_move_mem+0x28a/0x5a0 [ttm] ttm_bo_evict+0x171/0x350 [ttm] ? drm_mm_remove_node+0xbe/0x360 [drm] ttm_mem_evict_first+0x18d/0x210 [ttm] ttm_bo_force_list_clean+0xa1/0x170 [ttm] ttm_bo_clean_mm+0x89/0xf0 [ttm] nouveau_ttm_fini+0x2b/0xc0 [nouveau] nouveau_drm_unload+0x7b/0xd0 [nouveau] drm_dev_unregister+0x3f/0xd0 [drm] drm_put_dev+0x27/0x40 [drm] nouveau_drm_device_remove+0x47/0x70 [nouveau] pci_device_remove+0x3b/0xb0 device_release_driver_internal+0x182/0x250 pci_stop_bus_device+0x7f/0x...
2010 Feb 09
2
[PATCH 1/3] Introduce nouveau_bo_wait for waiting on a BO with a GPU channel (v2)
Changes in v2: - Addressed review comments nouveau_bo_wait will make the GPU channel wait for fence if possible, otherwise falling back to waiting with the CPU using ttm_bo_wait. The nouveau_fence_sync function currently returns -ENOSYS, and is the focus of the next patch. Signed-off-by: Luca Barbieri <luca at luca-barbieri.com> --- drivers/gpu/drm/nouveau/nouveau_bo.c | 68
2014 Jul 18
22
[Bug 81485] New: dmesg spam on startup
https://bugs.freedesktop.org/show_bug.cgi?id=81485 Priority: medium Bug ID: 81485 Assignee: nouveau at lists.freedesktop.org Summary: dmesg spam on startup QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: All Reporter: fry.kun at gmail.com Hardware: Other