From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH 4/5] intel: Intel full PPGTT param Date: Thu, 9 Jan 2014 15:20:25 -0800 Message-ID: <20140109232024.GB4522@bwidawsk.net> References: <1388728235-20410-1-git-send-email-benjamin.widawsky@intel.com> <1388728235-20410-7-git-send-email-benjamin.widawsky@intel.com> <20140107075336.GD4770@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20140107075336.GD4770@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Daniel Vetter Cc: Intel GFX , Kenneth Graunke , DRI Development , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org 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 > > Signed-off-by: Ben Widawsky > > 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