From: Damien Lespiau Subject: Re: [PATCH 52/89] drm/i915/gen9: Disable WM if corresponding latency is 0 Date: Wed, 24 Sep 2014 15:06:11 +0100 Message-ID: <20140924140611.GB5356@strange.amr.corp.intel.com> References: <1409830075-11139-1-git-send-email-damien.lespiau@intel.com> <1409830075-11139-53-git-send-email-damien.lespiau@intel.com> <20140919100502.GG12416@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTP id E076789B0B for ; Wed, 24 Sep 2014 07:07:45 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140919100502.GG12416@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Sep 19, 2014 at 01:05:02PM +0300, Ville Syrj=E4l=E4 wrote: > = > If we're going to be paranoid I think we should disable all higher WM > levels whose latency is lower than any of the lower levels. And I > think we'll want something like dev_priv->wm.max_wm_level instead of > relying on the zero latency tricks. That thing has been on my TODO > list since forever. Can we go step by step? add this patch and then I noted this as a task for post merge work. No sure who will end up doing and and if the sanitazing code can be shared between platforms (probably yes?), but that can wait a bit longer? -- = Damien