search for: __nv50_ram_put

Displaying 3 results from an estimated 3 matches for "__nv50_ram_put".

2013 Jul 19
0
[PATCH 10/11] drm/nvc0/fb: Take lock in nvc0_ram_put()
....h @@ -81,7 +81,7 @@ void nv44_fb_tile_prog(struct nouveau_fb *, int, struct nouveau_fb_tile *); void nv46_fb_tile_init(struct nouveau_fb *, int i, u32 addr, u32 size, u32 pitch, u32 flags, struct nouveau_fb_tile *); -void nv50_ram_put(struct nouveau_fb *, struct nouveau_mem **); +void __nv50_ram_put(struct nouveau_fb *, struct nouveau_mem *); extern int nv50_fb_memtype[0x80]; #endif diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnv50.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnv50.c index af5aa7e..903baff 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnv50.c +++ b/driver...
2014 Mar 23
0
[PATCH] drm/nouveau: allow nv04/nv50/nvc0+ parts of the driver to be separated
...DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * Authors: Ben Skeggs + */ + +#include <subdev/fb.h> + +#include <core/mm.h> + +void +__nv50_ram_put(struct nouveau_fb *pfb, struct nouveau_mem *mem) +{ + struct nouveau_mm_node *this; + + while (!list_empty(&mem->regions)) { + this = list_first_entry(&mem->regions, typeof(*this), rl_entry); + + list_del(&this->rl_entry); + nouveau_mm_free(&pfb->vram, &this); + }...
2018 Jul 25
2
[Bug 107381] New: [NV117] Hang with 'fifo: write fault' and thousands of 'TRAP UNHANDLED 00000020'
...00000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kernel: [514909.423064] Call Trace: kernel: [514909.423077] ttm_bo_handle_move_mem+0x251/0x5c0 [ttm] kernel: [514909.423083] ? ttm_bo_mem_space+0x39d/0x470 [ttm] kernel: [514909.423090] ttm_bo_evict+0x141/0x330 [ttm] kernel: [514909.423134] ? __nv50_ram_put+0x66/0x90 [nouveau] kernel: [514909.423142] ttm_mem_evict_first+0x145/0x1a0 [ttm] kernel: [514909.423149] ttm_bo_mem_space+0x312/0x470 [ttm] kernel: [514909.423156] ttm_bo_validate+0xd4/0x160 [ttm] kernel: [514909.423162] ttm_bo_init_reserved+0x3bb/0x450 [ttm] kernel: [514909.423168] ttm_bo_in...