From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Limit the watermark to at least 8 entries on gen2/3 Date: Mon, 8 Sep 2014 09:39:03 +0200 Message-ID: <20140908073903.GN15520@phenom.ffwll.local> References: <20140901085301.GU15520@phenom.ffwll.local> <1409943253-26567-1-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 mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by gabe.freedesktop.org (Postfix) with ESMTP id 438E96E09D for ; Mon, 8 Sep 2014 00:38:38 -0700 (PDT) Received: by mail-we0-f178.google.com with SMTP id q58so2685324wes.9 for ; Mon, 08 Sep 2014 00:38:37 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1409943253-26567-1-git-send-email-ville.syrjala@linux.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.syrjala@linux.intel.com Cc: Thomas Richter , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Sep 05, 2014 at 09:54:13PM +0300, ville.syrjala@linux.intel.com wro= te: > From: Ville Syrj=E4l=E4 > = > 830 is very unhappy of the watermark value is too low (indicating a very > high watermark in fact, ie. memory fetch will occur with an almost full > FIFO). Limit the watermark value to at least 8 cache lines. > = > That also matches the burst size we use on most platforms. BSpec seems > to indicate we should limit the watermark to 'burst size + 1'. But on > gen4 we already use a hardcoded 8 as the watermark value (as the spec > says we should), so just use 8 as the limit on gen2/3 as well. > = > Signed-off-by: Ville Syrj=E4l=E4 Queued for -next, thanks for the patch. And since this goes in through -next the potential risk to other platforms is imo manageable. And we've had other people complaint about serious underrun troubles on e.g. underpowered i915gm atoms with big screens. Maybe this helps there like for the i830m. -Daniel -- = Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch