Re: [git pull] drm: previous pull req + 1.
From: Dave Airlie
Date: Mon Jun 22 2009 - 04:30:42 EST
> >
> There is a ttm_fbdev_mmap() function in TTM that may help in this situation.
> As with the standard ttm mmap it's using fault() which means it's possible to
> move out the backing buffer object if you first reserve it and then call
> unmap_mapping_range() on the relevant fbdev address space to kill existing
> user-space mappings.
Yup I've looked at this from the fbdev pov, however I hit the same problem
with the fbcon writes happening pretty much whenever they wanted to.
It might be possible to move the fbcon around by updating screen_base, but
you'd need to have some sort of lock around the read/write functions, I
think locking on each individual read/write might be a lot of overhead.
Ideallly something analogous to the X server Prepare/Finish access hooks.
Dave.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/