From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 09/33] drm/i915: VGACNTRL needs an offset on VLV Date: Fri, 25 Jan 2013 18:22:23 +0200 Message-ID: <20130125162223.GG9135@intel.com> References: <1359034198-19678-1-git-send-email-ville.syrjala@linux.intel.com> <1359034198-19678-10-git-send-email-ville.syrjala@linux.intel.com> <20130124213952.GH31306@phenom.ffwll.local> <20130125122116.GW9135@intel.com> <20130125160042.GJ23080@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 519D7E62AA for ; Fri, 25 Jan 2013 08:22:26 -0800 (PST) Content-Disposition: inline In-Reply-To: <20130125160042.GJ23080@phenom.ffwll.local> 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 Fri, Jan 25, 2013 at 05:00:42PM +0100, Daniel Vetter wrote: > On Fri, Jan 25, 2013 at 02:21:16PM +0200, Ville Syrj=E4l=E4 wrote: > > On Thu, Jan 24, 2013 at 10:39:52PM +0100, Daniel Vetter wrote: > > > On Thu, Jan 24, 2013 at 03:29:34PM +0200, ville.syrjala@linux.intel.c= om wrote: > > > > From: Ville Syrj=E4l=E4 > > > > = > > > > Signed-off-by: Ville Syrj=E4l=E4 > > > = > > > We already have a switch since VGACNTRL moved around on pch-split > > > platforms, too. To avoid confusion with different ways to select a gi= ven > > > reg I think a static inline and explicit VLV_VGACNTRL is better. Stat= ic > > > inline since with i915_redisable_vga and i915_disable_vga we already = have > > > two callers. > > = > > All right. The save/restore paths also touch VGACNTRL. I'll convert > > those too, even if we don't use them for much longer w/ kms. > = > Actually I think it'd be easier to merge the few patches I'm working on > first. I'm testing them right now, will submit soon. OK. I wrote the patch already but I can wait a bit and rebase before sending it. -- = Ville Syrj=E4l=E4 Intel OTC