On Sat,  9 Jul 2011 09:38:51 +0100, Chris Wilson <[email protected]> 
wrote:

> +             /* We have to disable faulting here in case the user address
> +              * is really a GTT mapping and so we can not enter
> +              * i915_gem_fault() whilst already holding struct_mutex.
> +              */

I would (far, far) rather disallow pread through the GTT
mapping. There's no credible reason to allow it. Is there some
reasonably fast way to detect that these addresses are within the GTT
and just bail?

Any performance penalty that serves solely to enable abuse of the
interface is not reasonable.

-- 
[email protected]

Attachment: pgpaOgwlF82gx.pgp
Description: PGP signature

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to