From: Chris Wilson Subject: Re: [PATCH v2 12/17] drm/i915: Store the watermark latency values in dev_priv Date: Thu, 1 Aug 2013 15:23:56 +0100 Message-ID: <20130801142356.GA21614@cantiga.alporthouse.com> References: <1375363135-20618-1-git-send-email-ville.syrjala@linux.intel.com> <1375363135-20618-13-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 fireflyinternet.com (s16502780.onlinehome-server.info [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id BF741E623D for ; Thu, 1 Aug 2013 07:24:04 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1375363135-20618-13-git-send-email-ville.syrjala@linux.intel.com> 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: ville.syrjala@linux.intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Aug 01, 2013 at 04:18:50PM +0300, ville.syrjala@linux.intel.com wro= te: > From: Ville Syrj=E4l=E4 > = > Rather than having to read the latency values out every time, just > store them in dev_priv. > = > On ILK and IVB there is a difference between some of the latency > values for different planes, so store the latency values for each > plane type separately, and apply the necesary fixups during init. > = > v2: Fix some checkpatch complaints As you are now storing these, it would also be useful to add a debugfs file to dump them out for sanity checking. I leave the request to adjust them via debugfs to somebody else ;-) -Chris -- = Chris Wilson, Intel Open Source Technology Centre