From: Ben Widawsky Subject: Re: [PATCH] fix interrupt request miss problem in bsd ring for g4x Date: Wed, 27 Apr 2011 09:07:42 -0700 Message-ID: <20110427160742.GB13799@lundgren.kumite> References: <1303812772-5370-1-git-send-email-boqun.feng@intel.com> <749B9D3DBF0F054390025D9EAFF47F224BDFB0E4@shsmsx501.ccr.corp.intel.com> <0d30dc$m0pen7@orsmga001.jf.intel.com> <749B9D3DBF0F054390025D9EAFF47F224BDFB219@shsmsx501.ccr.corp.intel.com> <0d30dc$m0qaei@orsmga001.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 9462B9F057 for ; Wed, 27 Apr 2011 09:07:45 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Daniel Vetter Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Wed, Apr 27, 2011 at 01:07:24PM +0200, Daniel Vetter wrote: > On Wed, Apr 27, 2011 at 11:15 AM, Chris Wilson wrote: > > At the moment, I'm more concerned about making sure our functions are > > consistently named and prefixed with the chipset they first work with. > > > > So we have: > > ?intel_ -> general functions, used by all > > ?i8xx_ -> gen2 > > ?i915_ -> gen3 (915/945) > > ?g33_, pineview_ -> gen3 (blk/pnv) # perhaps just g33 as pnv = g33 + mobile? > > ?i965_ -> gen4 (brw/crl) > > ?g4x_ -> gen4 (egl/ctg) > > ?ironlake_, sandybridge_, ivybridge_ -> etc > > > > So ironlake can call a g4x function, but never vice versa. > > Very-Much-Wanted-by: Daniel Vetter > > Can you put that somewhere prominent in the sources (a new file > naming_conventions.txt)? > Perhaps with the guidelines I've snipped away ... > -Daniel Acked! Though I don't feel what you said is explicit enough, and therefore needs more clarity which Daniel asked for. ironlake should be able to call intel_*, and probably most g4x_*, but maybe it can't use some i965 functions, and certainly can't use many i8xx functions. Ben