[PATCH] DRM: i915: add GEM GTT mapping support

2008-11-05 Thread Jesse Barnes
Use the new core GEM object mapping code to allow GTT mapping of GEM objects on i915. The fault handler will make sure a fence register is allocated too, if the object in question is tiled. --- Makefile |2 +- drivers/gpu/drm/i915/i915_dma.c|1 + driv

[PATCH] DRM: i915: add GEM GTT mapping support

2008-11-07 Thread Jesse Barnes
Use the new core GEM object mapping code to allow GTT mapping of GEM objects on i915. The fault handler will make sure a fence register is allocated too, if the object in question is tiled. --- Makefile |2 +- drivers/gpu/drm/i915/i915_dma.c|1 + driv

Re: [PATCH] DRM: i915: add GEM GTT mapping support

2008-11-05 Thread Eric Anholt
On Wed, 2008-11-05 at 16:49 -0800, Jesse Barnes wrote: > Use the new core GEM object mapping code to allow GTT mapping of GEM objects > on i915. The fault handler will make sure a fence register is allocated too, > if the object in question is tiled. I required the following patch on top of your

Re: [PATCH] DRM: i915: add GEM GTT mapping support

2008-11-06 Thread Jesse Barnes
On Wednesday, November 5, 2008 6:07 pm Eric Anholt wrote: > On Wed, 2008-11-05 at 16:49 -0800, Jesse Barnes wrote: > > Use the new core GEM object mapping code to allow GTT mapping of GEM > > objects on i915. The fault handler will make sure a fence register is > > allocated too, if the object in

Re: [PATCH] DRM: i915: add GEM GTT mapping support

2008-11-11 Thread Jesse Barnes
On Tuesday, November 11, 2008 2:16 pm Jesse Barnes wrote: > +struct drm_i915_gem_mmap_gtt { > +   /** Handle for the object being mapped. */ > +   uint32_t handle; > +   uint32_t pad; > +   /** > +    * Fake offset to use for subsequent mmap call > +    * > +    * This i

Re: [PATCH] DRM: i915: add GEM GTT mapping support

2008-11-11 Thread Eric Anholt
On Tue, 2008-11-11 at 16:48 -0800, Jesse Barnes wrote: > On Tuesday, November 11, 2008 2:16 pm Jesse Barnes wrote: > > +struct drm_i915_gem_mmap_gtt { > > + /** Handle for the object being mapped. */ > > + uint32_t handle; > > + uint32_t pad; > > + /** > > +* Fake of

Re: [PATCH] DRM: i915: add GEM GTT mapping support

2008-11-11 Thread Jesse Barnes
On Tuesday, November 11, 2008 4:55 pm Eric Anholt wrote: > On Tue, 2008-11-11 at 16:48 -0800, Jesse Barnes wrote: > > On Tuesday, November 11, 2008 2:16 pm Jesse Barnes wrote: > > > +struct drm_i915_gem_mmap_gtt { > > > + /** Handle for the object being mapped. */ > > > + uint32_t handl

Re: [PATCH] DRM: i915: add GEM GTT mapping support

2008-11-11 Thread Eric Anholt
On Tue, 2008-11-11 at 17:15 -0800, Jesse Barnes wrote: > On Tuesday, November 11, 2008 4:55 pm Eric Anholt wrote: > > On Tue, 2008-11-11 at 16:48 -0800, Jesse Barnes wrote: > > > On Tuesday, November 11, 2008 2:16 pm Jesse Barnes wrote: > > > > +struct drm_i915_gem_mmap_gtt { > > > > + /** Ha

Re: [PATCH] DRM: i915: add GEM GTT mapping support

2008-11-12 Thread Jesse Barnes
On Tuesday, November 11, 2008 9:59 pm Eric Anholt wrote: > On Tue, 2008-11-11 at 17:15 -0800, Jesse Barnes wrote: > > On Tuesday, November 11, 2008 4:55 pm Eric Anholt wrote: > > > On Tue, 2008-11-11 at 16:48 -0800, Jesse Barnes wrote: > > > > On Tuesday, November 11, 2008 2:16 pm Jesse Barnes wrot