search for: takedown

Displaying 20 results from an estimated 39 matches for "takedown".

2010 Jan 26
1
[PATCH] drm/nouveau: Add module options to disable acceleration.
...+ /* PFIFO */ + ret = engine->fifo.init(dev); + if (ret) + goto out_graph; + } /* this call irq_preinstall, register irq handler and * call irq_postinstall @@ -479,9 +483,11 @@ nouveau_card_init(struct drm_device *dev) out_irq: drm_irq_uninstall(dev); out_fifo: - engine->fifo.takedown(dev); + if (!nouveau_noaccel) + engine->fifo.takedown(dev); out_graph: - engine->graph.takedown(dev); + if (!nouveau_noaccel) + engine->graph.takedown(dev); out_fb: engine->fb.takedown(dev); out_timer: @@ -518,8 +524,10 @@ static void nouveau_card_takedown(struct drm_device *dev)...
2009 Dec 11
5
[PATCH 1/3] drm/nouveau: Pre-G80 tiling support.
...pu/drm/nouveau/nouveau_drv.h index 88b4c7b..2730497 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -276,8 +276,13 @@ struct nouveau_timer_engine { }; struct nouveau_fb_engine { + int num_tiles; + int (*init)(struct drm_device *dev); void (*takedown)(struct drm_device *dev); + + void (*set_region_tiling)(struct drm_device *dev, int i, uint32_t addr, + uint32_t size, uint32_t pitch); }; struct nouveau_fifo_engine { @@ -328,6 +333,9 @@ struct nouveau_pgraph_engine { void (*destroy_context)(struct nouveau_channel *); int (*load_conte...
2010 Feb 10
3
[Bug 26499] New: nouveau driver fails to load
...uveau 0000:01:00.0: 0xB5E2: parsing output script 0 [drm] nouveau 0000:01:00.0: 0xB758: parsing output script 0 [drm] nouveau 0000:01:00.0: 0xADC8: parsing output script 0 [drm] nouveau 0000:01:00.0: Error reading back PRAMIN at 0x000004d0 [drm] nouveau 0000:01:00.0: gpuobj dbb3fc00 still exists at takedown, refs=1 [drm] nouveau 0000:01:00.0: gpuobj dbb3fa80 still exists at takedown, refs=1 [drm] nouveau 0000:01:00.0: gpuobj dbb3f940 still exists at takedown, refs=0 [drm] nouveau 0000:01:00.0: gpuobj dbb3f8c0 still exists at takedown, refs=1 [drm] nouveau 0000:01:00.0: gpuobj dbb3fc80 still exists at...
2016 Dec 17
1
[PATCH] drm/nouveau: use designated initializers
...07,10 +107,10 @@ nouveau_vram_manager_new(struct ttm_mem_type_manager *man, } const struct ttm_mem_type_manager_func nouveau_vram_manager = { - nouveau_vram_manager_init, - nouveau_vram_manager_fini, - nouveau_vram_manager_new, - nouveau_vram_manager_del, + .init = nouveau_vram_manager_init, + .takedown = nouveau_vram_manager_fini, + .get_node = nouveau_vram_manager_new, + .put_node = nouveau_vram_manager_del, }; static int @@ -184,11 +184,11 @@ nouveau_gart_manager_debug(struct ttm_mem_type_manager *man, const char *prefix) } const struct ttm_mem_type_manager_func nouveau_gart_manager = {...
2009 Dec 14
0
[PATCH] drm/nouveau: Add proper error handling to nouveau_card_init
...create(dev); - if (ret) - return ret; - } + if (ret) + goto out_irq; } ret = nouveau_backlight_init(dev); @@ -444,6 +441,32 @@ nouveau_card_init(struct drm_device *dev) drm_helper_initial_config(dev); return 0; + +out_irq: + drm_irq_uninstall(dev); +out_fifo: + engine->fifo.takedown(dev); +out_graph: + engine->graph.takedown(dev); +out_fb: + engine->fb.takedown(dev); +out_timer: + engine->timer.takedown(dev); +out_mc: + engine->mc.takedown(dev); +out_gpuobj: + nouveau_gpuobj_takedown(dev); +out_mem: + nouveau_mem_close(dev); +out_instmem: + engine->instmem.taked...
2009 Dec 15
2
[PATCH 1/2] drm/nv04: Fix NV04 set_operation software method.
Signed-off-by: Marcin Ko?cielnicki <koriakin at 0x04.net> --- drivers/gpu/drm/nouveau/nv04_graph.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv04_graph.c b/drivers/gpu/drm/nouveau/nv04_graph.c index 396ee92..d561d77 100644 --- a/drivers/gpu/drm/nouveau/nv04_graph.c +++ b/drivers/gpu/drm/nouveau/nv04_graph.c @@ -543,7 +543,7 @@
2012 Nov 21
2
[PATCH] drm/nouveau: fix takedown in move_notify
move_notify is called by ttm after the the object is idle and about to be destroyed. Clean up the vm list properly in that case. This is not a problem right now, since the list should already be empty, but if it wasn't empty, vm_put was not called which leads to random corruption later. With this fix, nouveau_gem_object_close can be safely changed to a noop, forcing the vm bindings to be
2016 Dec 18
0
[PATCH] drm/nouveau: use designated initializers
...uct ttm_mem_type_manager *man, > } > > const struct ttm_mem_type_manager_func nouveau_vram_manager = { > - nouveau_vram_manager_init, > - nouveau_vram_manager_fini, > - nouveau_vram_manager_new, > - nouveau_vram_manager_del, > + .init = nouveau_vram_manager_init, > + .takedown = nouveau_vram_manager_fini, > + .get_node = nouveau_vram_manager_new, > + .put_node = nouveau_vram_manager_del, > }; > > static int > @@ -184,11 +184,11 @@ nouveau_gart_manager_debug(struct ttm_mem_type_manager *man, const char *prefix) > } > > const struct ttm_m...
2013 Dec 14
0
[Bug 58378] [NV86] Distorted graphics on NVIDIA GeForce 8400M G after upgrade the kernel to 3.7.0 version
...st slight signs of screen corruption (white rectangles around window frames) at the times of the hangs. The error messages that I find in /var/log/messages probably associated with the hangs (sorry, I can't get any messages ot of dmesg due to the hang...) seem to be the following: [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown repeating any number between 3 to 5 times directly before the hangs (immediately followed by /var...
2012 Sep 29
3
[Bug 55449] New: Problems identifying card
...eau 0000:f0:10.0: PTIMER: unknown input clock freq [TTM] Zone kernel: Available graphics memory: 501592 kiB [TTM] Initializing pool allocator [TTM] Initializing DMA pool allocator [drm] nouveau 0000:f0:10.0: Detected 0MiB VRAM (SDRAM) [drm] nouveau 0000:f0:10.0: 128 MiB GART (aperture) [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown [TTM] Finalizing pool allocator [TTM] Finalizing DMA pool allocator [TTM] Zone kernel: Used memory at exit: 9 kiB nouveau: probe of 0000:f0:10.0 failed with error -22 Sy...
2016 Oct 21
3
photos on iPhone 6
...w.dedoimedo.com/computers/linux-iphone-6.html For Scott: If you install the VLC app on the iPad you can probably skip the transcoding and also having to add the video to iTunes first. You'll only need to transcode the audio if it uses AC3, which is proprietary and the owners have been issuing takedown notices for any app using it (so VLC doesn't support it). Otherwise VLC can handle any video format (the days of having to use a special profile just for an iPhone or iPad are long gone). You can then copy the videos directly into VLC using iTunes file sharing. ~ Brian Mathis @orev On Thu,...
2011 Nov 29
1
nouveau driver is not loading
...tor_remove], removing "VGA-1" from sysfs [ 7.233027] [drm:drm_sysfs_connector_remove], removing "DVI-I-1" from sysfs [ 7.233054] [drm:drm_sysfs_connector_remove], removing "TV-1" from sysfs [ 7.233099] [drm:drm_irq_uninstall], irq=16 [ 7.233118] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown [ 7.233260] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying takedown [ 7.233401] [TTM] Finalizing pool allocator. [ 7.233437] [TTM] Zone kernel: Used memory at exit: 0 kiB. [ 7.235221] [drm:drm_put_minor], release se...
2010 Mar 01
0
[PATCH 2/2 V2] drm/nv50: Improve PGRAPH interrupt handling.
...aph.o \ nv40_graph.o nv50_graph.o \ diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 2f8ce42..ad2d75d 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -930,6 +930,10 @@ extern void nv40_fb_takedown(struct drm_device *); extern void nv40_fb_set_region_tiling(struct drm_device *, int, uint32_t, uint32_t, uint32_t); +/* nv50_fb.c */ +extern int nv50_fb_init(struct drm_device *); +extern void nv50_fb_takedown(struct drm_device *); + /* nv04_fifo.c */ extern int nv04_fifo_init(st...
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 ++++++++++++++++++++++++++++++-
2010 Feb 28
1
[PATCH 1/2] drm/nv50: Make ctxprog wait until interrupt handler is done.
This will fix races between generated ctxprogs and interrupt handler. Signed-off-by: Marcin Ko?cielnicki <koriakin at 0x04.net> --- drivers/gpu/drm/nouveau/nv50_grctx.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv50_grctx.c b/drivers/gpu/drm/nouveau/nv50_grctx.c index d105fcd..9f909ab 100644 ---
2016 Dec 17
1
[PATCH] drm/ttm: use designated initializers
...d35cf6 100644 --- a/drivers/gpu/drm/virtio/virtgpu_ttm.c +++ b/drivers/gpu/drm/virtio/virtgpu_ttm.c @@ -198,11 +198,11 @@ static void ttm_bo_man_debug(struct ttm_mem_type_manager *man, } static const struct ttm_mem_type_manager_func virtio_gpu_bo_manager_func = { - ttm_bo_man_init, - ttm_bo_man_takedown, - ttm_bo_man_get_node, - ttm_bo_man_put_node, - ttm_bo_man_debug + .init = ttm_bo_man_init, + .takedown = ttm_bo_man_takedown, + .get_node = ttm_bo_man_get_node, + .put_node = ttm_bo_man_put_node, + .debug = ttm_bo_man_debug }; static int virtio_gpu_init_mem_type(struct ttm_bo_device *bdev, ui...
2016 Dec 17
1
[PATCH] drm/ttm: use designated initializers
...d35cf6 100644 --- a/drivers/gpu/drm/virtio/virtgpu_ttm.c +++ b/drivers/gpu/drm/virtio/virtgpu_ttm.c @@ -198,11 +198,11 @@ static void ttm_bo_man_debug(struct ttm_mem_type_manager *man, } static const struct ttm_mem_type_manager_func virtio_gpu_bo_manager_func = { - ttm_bo_man_init, - ttm_bo_man_takedown, - ttm_bo_man_get_node, - ttm_bo_man_put_node, - ttm_bo_man_debug + .init = ttm_bo_man_init, + .takedown = ttm_bo_man_takedown, + .get_node = ttm_bo_man_get_node, + .put_node = ttm_bo_man_put_node, + .debug = ttm_bo_man_debug }; static int virtio_gpu_init_mem_type(struct ttm_bo_device *bdev, ui...
2016 Oct 21
0
photos on iPhone 6
...ux-iphone-6.html > > For Scott: > If you install the VLC app on the iPad you can probably skip the > transcoding and also having to add the video to iTunes first. You'll only > need to transcode the audio if it uses AC3, which is proprietary and the > owners have been issuing takedown notices for any app using it (so VLC > doesn't support it). Otherwise VLC can handle any video format (the days > of having to use a special profile just for an iPhone or iPad are long > gone). You can then copy the videos directly into VLC using iTunes file > sharing. > > ~...
2010 Jan 16
0
[PATCH] drm/nouveau: Evict buffers in VRAM before freeing sgdma
...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_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -525,6 +525,7 @@ static void nouveau_card_takedown(struct drm_device *dev) engine->mc.takedown(dev); mutex_lock(&dev->struct_mutex); + ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM); ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_TT); mutex_unlock(&dev->struct_mutex); nouveau_sgdma_take...
2007 Mar 30
1
[LLVMdev] Two ExecutionEngines from one Module
...ram object, we might want to do this: this->interpretedEE = llvm::ExecutionEngine::create(this->module,true); Ownership of the module will transfer to the interpretedEE at this point. Fair enough because we've got this all buttoned up in a class and we can handle the various orders of takedown. Later, I'd like to make a native one: this->nativeEE = llvm::ExecutionEngine::create(???,false); and at this point I'm in a seeming catch-22. I can't use the same module (I believe) to construct the second ExecutionEngine since ownership of the module is already in the first on...