[Intel-gfx] [PATCH 2/2] drm/i915: Disable page-faults around the fast pwrite/pread paths

Keith Packard keithp at keithp.com
Sun Jul 10 22:29:02 CEST 2011


On Sun, 10 Jul 2011 11:45:29 -0700, Eric Anholt <eric at anholt.net> wrote:

> That means that I can't give users of GL pointers to GTT mappings for
> the buffer mapping API, because then I'd have to check in userland
> whether the pointer they give me for other API entrypoints is to a known
> GTT mapping before doing a pread into it.  And then I imagine cross-API
> interactions and shudder.

Yeah, it clearly has to work; it's not clear how fast it needs to
be. However, if we get the prefaulting stuff fixed, we should still be
able to hit the fast path most of the time.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110710/4f19ed1c/attachment.sig>


More information about the Intel-gfx mailing list