On Thu, Mar 27, 2014 at 10:34 PM, Kenneth Graunke <[email protected]> wrote: > Why are we parsing batches with I915_EXEC_SECURE at all? Secure batches > are only issued from trusted code which is guaranteed to be running as > root. I don't see any benefit to scanning those batches, and there's > definitely overhead. > > I mean, sure, it may be reasonable in the short term as a way to test > the command parser, but I certainly hope we don't *ship* that.
Everyone runs X as root, but I kinda want X to also be able to run as non-root. The cmd parser has a special list of drm master register lists which should allow this, but if we just bypass the cmd parser for all normal X installs we'll have 0 test coverage on this. Which means broken like hell. Hence I actually intend to ship this, yes. Chris doesn't like it either really. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
