On Tue, Jan 07, 2014 at 08:53:36AM +0100, Daniel Vetter wrote: > On Thu, Jan 02, 2014 at 07:50:33PM -1000, Ben Widawsky wrote: > > This will allow mesa to determine if it needs to create a context, or > > can reuse the default context. Reusing the default context saves memory, > > and startup time. > > > > To keep the libdrm interface as dumb as possible, we simply expose a > > getter for the default context (which is only a real context when > > thereis full PPGTT and per fd contexts). As such, callers can expect > > NULL when this is not the case. > > > > See the usage in mesa for details. > > > > Cc: Kenneth Graunke <kenneth.w.graunke@xxxxxxxxx> > > Signed-off-by: Ben Widawsky <ben@xxxxxxxxxxxx> > > Fyi I've killed this. > -Daniel There was supposed to be a revert in my patch series, but I must have forgotten to send it out. In either case, it depends on a revert of your revert. -- Ben Widawsky, Intel Open Source Technology Center _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel