On 2/7/12 6:28 PM, Ben Widawsky wrote: > On Wed, Jan 11, 2012 at 04:04:20PM -0500, Adam Jackson wrote: >>> If you can, I recommend using the intel gtt mapping type of mmap ioctl, >>> where it gives you back an offset that you use the mmap syscall on, and >>> implement the vgem_gem_fault to map its pages, instead. It should avoid >>> tricking userland tools like valgrind, which really sucks with the >>> do_mmap()-calling ioctl we have today. >> >> That makes sense. Having two paths by which you could hit >> drm_gem_mmap() seemed weird when I was writing it. >> >> I think the clean way of doing that requires exporting at least >> shmem_fault and possibly some other shmfs details. >> >> - ajax > > I'm working on this presently unless you've already done it.
Go for it, I've been ratholed getting vesa working again on 1.12. - ajax