From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 26/40] drm/i915: Parametrize VLV_DDL registers Date: Thu, 31 Jul 2014 15:05:56 +0300 Message-ID: <20140731120556.GK4193@intel.com> References: <1403910271-24984-1-git-send-email-ville.syrjala@linux.intel.com> <1403910271-24984-27-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 4BAB96E28B for ; Thu, 31 Jul 2014 05:06:21 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Paulo Zanoni Cc: Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Wed, Jul 30, 2014 at 05:43:10PM -0300, Paulo Zanoni wrote: > 2014-06-27 20:04 GMT-03:00 : > > From: Ville Syrj=E4l=E4 > > > > The VLV/CHV DDL registers are uniform, and neatly enough the register > > offsets are sane so we can easily unify them to a single set of defines > > and just pass the pipe as the parameter to compute the register offset. > = > What the commit message doesn't tell is that now we will call > vlv_compute_drain_latency() for pipe C on CHV since I see CHV is > defined with num_pipes=3D3. I think this is quite an important detail, > since it's the only way this patch changes the behavior of the code. > = > If that is intentional and correct, then I suggest amending the commit > message, even maybe the patch title. Then you can add: Reviewed-by: > Paulo Zanoni . One of the following patches will add a proper cherryview_update_wm() function which also fills out the actual watermarks for pipe C. Ideally I probably should have reordered these patches. But I'll add a note of some sort here to avoid bigger reordering pains now. -- = Ville Syrj=E4l=E4 Intel OTC