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 question is tiled.
>
> I required the following patch on top of your change to get it compiling
> on non-x86_64.  Also the args to the gtt mmap ioctl should be cut to
> what's actually used.  (or, imo, make it actually do the map on the
> device's filp, like the other mmap ioctl does :) )

You mean use do_mmap?  I don't think there's a way to make do_mmap map 
something other than the RAM backing store; that's why I added mmap_io_region 
in my first iteration and ended up punting on an initial map in this series...

Jesse

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to