[Intel-gfx] [PATCH] make KMS resource mappings exclusive
eric at anholt.net
Fri Mar 6 15:49:30 PST 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 at anholt.net eric.anholt at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/intel-gfx/attachments/20090306/e4faacc6/attachment-0001.pgp
More information about the Intel-gfx