From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugeni Dodonov Subject: Re: [PATCH 1/2] drm/i915: Group the GT routines together in both code and vtable Date: Fri, 15 Jun 2012 12:11:35 -0300 Message-ID: <4FDB50A7.2080503@linux.intel.com> References: <1339608592-27360-1-git-send-email-chris@chris-wilson.co.uk> <20120613120719.79caed44@bwidawsk.net> <1339616841_17498@CP5-2952> Reply-To: eugeni.dodonov@intel.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 66E869E853 for ; Fri, 15 Jun 2012 08:10:02 -0700 (PDT) In-Reply-To: <1339616841_17498@CP5-2952> 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: Chris Wilson Cc: Ben Widawsky , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On 06/13/2012 04:47 PM, Chris Wilson wrote: > On Wed, 13 Jun 2012 12:07:19 -0700, Ben Widawsky wrote: >> On Wed, 13 Jun 2012 18:29:51 +0100 >> Chris Wilson wrote: >> >>> Tidy up the routines for interacting with the GT (in particular the >>> forcewake dance) which are scattered throughout the code in a single >>> structure. >> >> A few comments inline. First though, the bikeshed: >> >> I'd really rather the structure not be named, "gt" unless you have >> further reaching plans for it. GT is way to generic. Also, I think it >> makes a lot of sense to move the forcewake dancing into intel_pm.c > > This patch predated the intel_pm split. I toyed with the idea of > updating it, but preferred to get feedback first. Shall we call it > grantsdale instead? Or uncore? My opinion is that this more core > functionality than power-management, but first and foremost it > should not be scattered across multiple files. I liked the idea of 'gt' because this is how the docs call it too. And our power code is hidden all around indeed. So I'd vote for this patch once it gets updated to intel_pm. I'll even volunteer myself to adjust the power wells and new force wake stuff to it when it becomes ready :). Eugeni