From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 04/50] drm/i915: Extract trivial parts of ring init (early init) Date: Wed, 14 May 2014 14:28:35 +0200 Message-ID: <20140514122835.GF8790@phenom.ffwll.local> References: <1399637360-4277-1-git-send-email-oscar.mateo@intel.com> <1399637360-4277-5-git-send-email-oscar.mateo@intel.com> <20140513132651.GE3908@phenom.ffwll.local> <92648605EABDA246B775AAB04C95A7A3012EE404@IRSMSX103.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by gabe.freedesktop.org (Postfix) with ESMTP id 979EB6E4CF for ; Wed, 14 May 2014 05:28:40 -0700 (PDT) Received: by mail-ee0-f42.google.com with SMTP id d49so1313129eek.15 for ; Wed, 14 May 2014 05:28:39 -0700 (PDT) Content-Disposition: inline In-Reply-To: <92648605EABDA246B775AAB04C95A7A3012EE404@IRSMSX103.ger.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: "Mateo Lozano, Oscar" Cc: "intel-gfx@lists.freedesktop.org" , "Widawsky, Benjamin" List-Id: intel-gfx@lists.freedesktop.org On Wed, May 14, 2014 at 11:53:46AM +0000, Mateo Lozano, Oscar wrote: > > -----Original Message----- > > From: Daniel Vetter [mailto:daniel.vetter@ffwll.ch] On Behalf Of Daniel Vetter > > Sent: Tuesday, May 13, 2014 2:27 PM > > To: Mateo Lozano, Oscar > > Cc: intel-gfx@lists.freedesktop.org; Ben Widawsky; Widawsky, Benjamin > > Subject: Re: [Intel-gfx] [PATCH 04/50] drm/i915: Extract trivial parts of ring init > > (early init) > > > > On Fri, May 09, 2014 at 01:08:34PM +0100, oscar.mateo@intel.com wrote: > > > From: Ben Widawsky > > > > > > It's beneficial to be able to get a name, base, and id before we've > > > actually initialized the rings. This ability was effectively destroyed > > > in the ringbuffer fire which Daniel started. > > > > > > With the simple early init function, that ability is restored. > > > > > > Signed-off-by: Ben Widawsky > > > > > > v2: The Full PPGTT series have moved things around a little bit. > > > Also, don't forget the VEBOX. > > > > > > v3: Checking ring->dev is not a good way to test if a ring is > > > initialized... > > > > > > Signed-off-by: Oscar Mateo > > > > Needs to be updated for VEBOX2. Also I don't really see the point, where > > exactly do we need this? Ripping apart the ring init like this doesn't look too > > great imo. > > VEBOX2?? Not one week ago I updated it for BSD2 :( > Anyway, this patch is a legacy carry over from previous versions, I can perfectly make do without it. Oops, I've meant VCS2, must have been asleep while reading it ;-) -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch