search for: nvc0_ram_get

Displaying 5 results from an estimated 5 matches for "nvc0_ram_get".

2014 Feb 01
2
[RFC 14/16] drm/nouveau/fb: add GK20A support
...ice_base(nv_device(parent)), ram->size, > + &dma_handle, GFP_KERNEL); > + if (!vram) > + return -ENOMEM; > + > + ret = nouveau_mm_init(&pfb->vram, dma_handle >> 12, ram->size >> 12, 1); > + if (ret) > + return ret; > + > + ram->get = nvc0_ram_get; > + ram->put = nvc0_ram_put; > + return 0; > +} > + > +struct nouveau_oclass > +nvea_ram_oclass = { > + .ofuncs = &(struct nouveau_ofuncs) { > + .ctor = nvea_ram_ctor, > + .dtor = _nouveau_ram_dtor, > + .init = _nouveau_ram_init, > + .fini = _nouveau_ram...
2014 Feb 01
0
[RFC 14/16] drm/nouveau/fb: add GK20A support
...x00000000; + vram = dma_alloc_coherent(nv_device_base(nv_device(parent)), ram->size, + &dma_handle, GFP_KERNEL); + if (!vram) + return -ENOMEM; + + ret = nouveau_mm_init(&pfb->vram, dma_handle >> 12, ram->size >> 12, 1); + if (ret) + return ret; + + ram->get = nvc0_ram_get; + ram->put = nvc0_ram_put; + return 0; +} + +struct nouveau_oclass +nvea_ram_oclass = { + .ofuncs = &(struct nouveau_ofuncs) { + .ctor = nvea_ram_ctor, + .dtor = _nouveau_ram_dtor, + .init = _nouveau_ram_init, + .fini = _nouveau_ram_fini, + }, +}; -- 1.8.5.3
2014 Feb 01
0
[RFC 14/16] drm/nouveau/fb: add GK20A support
..., GFP_KERNEL); >> + if (!vram) >> + return -ENOMEM; >> + >> + ret = nouveau_mm_init(&pfb->vram, dma_handle >> 12, ram->size >> 12, 1); >> + if (ret) >> + return ret; >> + >> + ram->get = nvc0_ram_get; >> + ram->put = nvc0_ram_put; >> + return 0; >> +} >> + >> +struct nouveau_oclass >> +nvea_ram_oclass = { >> + .ofuncs = &(struct nouveau_ofuncs) { >> + .ctor = nvea_ram_ctor, >> + .dtor = _nouveau_ram...
2014 Feb 01
2
[RFC 14/16] drm/nouveau/fb: add GK20A support
...vram) > >> + return -ENOMEM; > >> + > >> + ret = nouveau_mm_init(&pfb->vram, dma_handle >> 12, ram->size >> 12, 1); > >> + if (ret) > >> + return ret; > >> + > >> + ram->get = nvc0_ram_get; > >> + ram->put = nvc0_ram_put; > >> + return 0; > >> +} > >> + > >> +struct nouveau_oclass > >> +nvea_ram_oclass = { > >> + .ofuncs = &(struct nouveau_ofuncs) { > >> + .ctor = nvea_ram_ctor, &gt...
2014 Feb 01
28
[RFC 00/16] drm/nouveau: initial support for GK20A (Tegra K1)
Hello everyone, GK20A is the Kepler-based GPU used in the upcoming Tegra K1 chips. The following patches perform architectural changes to Nouveau that are necessary to support non-PCI GPUs and add initial support for GK20A. Although the support is still very basic and more user-space changes will be needed to make the full graphics stack run on top of it, we were able to successfully open