[Intel-gfx] [PATCH] make KMS resource mappings exclusive

Eric Anholt eric at anholt.net
Sat Mar 7 00:49:30 CET 2009


On Mon, 2009-01-19 at 13:00 -0800, Jesse Barnes wrote:
> This should help avoid problems with unsupported userspace programs or
> configurations running on top of a KMS enabled driver.  Updates the
> ioremap to nocache as well, since that's really what we want to track.
> 
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

For the record: the reason I've avoided doing this one is that when
jbarnes and I talked, we figured that this prevents userland from
mapping at all, though we really only care about preventing write
mapping of the registers/aperture.  Since we've still got a bunch of
really useful userland tools for debugging that rely on read-only
mapping of registers, we're pending this until we get that information
into the kernel somehow.

-- 
Eric Anholt
eric at anholt.net                         eric.anholt at intel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090306/e4faacc6/attachment.sig>


More information about the Intel-gfx mailing list