From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH v2 1/3] drm/i915: Disable primary plane trickle feed for g4x Date: Tue, 21 May 2013 17:43:53 +0300 Message-ID: <20130521144353.GD16772@intel.com> References: <1369139314-3003-1-git-send-email-ville.syrjala@linux.intel.com> <1369139314-3003-2-git-send-email-ville.syrjala@linux.intel.com> <20130521123506.GA16772@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B9B8E5FEC for ; Tue, 21 May 2013 07:43:57 -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 List-Id: intel-gfx@lists.freedesktop.org On Tue, May 21, 2013 at 02:52:24PM +0200, Daniel Vetter wrote: > On Tue, May 21, 2013 at 2:35 PM, Ville Syrj=E4l=E4 > wrote: > > On Tue, May 21, 2013 at 03:28:32PM +0300, ville.syrjala@linux.intel.com= wrote: > >> From: Ville Syrj=E4l=E4 > >> > >> The docs say that the trickle feed disable bit is present (for primary > >> planes only, not video sprites) on CTG, and that it must be set > >> for ELK. Just set it for all g4x chipsets. > >> > >> v2: Do it in init_clock_gating too > > > > Actually I just noticed that we don't set up this stuff in > > ironlake_init_clock_gating() either. Any opinions whether I should just > > kill the per-plane trickle feed stuff from *_init_clock_gating(), or > > should I add it to ironlake_init_clock_gating() as well? > = > This is a bit a crazy topic since conceptually it ties into the > wm/pipe-config stuff. And fastboot will make this stuff rather > interesting ... I expect that we'll eventually end up with a > post_modeset_fixup stage to patch up all these little bits&pieces - > fastboot would only call that one if possible. I'd expect we do at least a set_base w/ fastboot, which would take care of the per-plane trickle feed bit. But I don't care much either way at this point. I'll post a quick patch for ironlake_init_clock_gating() just to keep these things at least somewhat consistent... -- = Ville Syrj=E4l=E4 Intel OTC