search for: nvea_ram_ctor

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

2014 Feb 01
2
[RFC 14/16] drm/nouveau/fb: add GK20A support
...-requiring horror with a proper allocator for GPU > + * objects in main memory. But for the moment it does the job and can reuse some > + * of the nvc0 functions. > + */ > + > +#include "nvc0.h" > + > +#include <linux/dma-mapping.h> > + > +static int > +nvea_ram_ctor(struct nouveau_object *parent, struct nouveau_object *engine, > + struct nouveau_oclass *oclass, void *data, u32 datasize, > + struct nouveau_object **pobject) > +{ > + struct nouveau_fb *pfb = nouveau_fb(parent); > + struct nouveau_ram *ram; > + void *vram; > + dma...
2014 Feb 01
0
[RFC 14/16] drm/nouveau/fb: add GK20A support
...details. + * + */ + +/* + * TODO replace this CMA-requiring horror with a proper allocator for GPU + * objects in main memory. But for the moment it does the job and can reuse some + * of the nvc0 functions. + */ + +#include "nvc0.h" + +#include <linux/dma-mapping.h> + +static int +nvea_ram_ctor(struct nouveau_object *parent, struct nouveau_object *engine, + struct nouveau_oclass *oclass, void *data, u32 datasize, + struct nouveau_object **pobject) +{ + struct nouveau_fb *pfb = nouveau_fb(parent); + struct nouveau_ram *ram; + void *vram; + dma_addr_t dma_handle; + int ret; + +...
2014 Feb 01
0
[RFC 14/16] drm/nouveau/fb: add GK20A support
...r for GPU >> + * objects in main memory. But for the moment it does the job and can reuse some >> + * of the nvc0 functions. >> + */ >> + >> +#include "nvc0.h" >> + >> +#include <linux/dma-mapping.h> >> + >> +static int >> +nvea_ram_ctor(struct nouveau_object *parent, struct nouveau_object *engine, >> + struct nouveau_oclass *oclass, void *data, u32 datasize, >> + struct nouveau_object **pobject) >> +{ >> + struct nouveau_fb *pfb = nouveau_fb(parent); >> + struct nouveau_ram...
2014 Feb 01
2
[RFC 14/16] drm/nouveau/fb: add GK20A support
.... But for the moment it does the job and can reuse some > >> + * of the nvc0 functions. > >> + */ > >> + > >> +#include "nvc0.h" > >> + > >> +#include <linux/dma-mapping.h> > >> + > >> +static int > >> +nvea_ram_ctor(struct nouveau_object *parent, struct nouveau_object *engine, > >> + struct nouveau_oclass *oclass, void *data, u32 datasize, > >> + struct nouveau_object **pobject) > >> +{ > >> + struct nouveau_fb *pfb = nouveau_fb(parent); > >>...
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
2014 Mar 24
27
[PATCH 00/12] drm/nouveau: support for GK20A, cont'd
Hi everyone, Here is the second batch of patches to add GK20A support to Nouveau. This time we are adding the actual chip support, and this series brings the driver to a point where a slightly-tweaked Mesa successfully runs shaders and renders triangles on GBM! Many thanks to Thierry Reding and the people on the #nouveau IRC channel for their help without which we would not have reached this