From: Chris Wilson Subject: Re: [PATCH] drm/i915: fix tiling limits for i915 class hw Date: Thu, 15 Apr 2010 09:35:14 +0100 Message-ID: <89k77n$ngsuhd@fmsmga001.fm.intel.com> References: <1271315296-9447-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fmsmga101.fm.intel.com (mga05.intel.com [192.55.52.89]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E6039E7D7 for ; Thu, 15 Apr 2010 01:35:18 -0700 (PDT) In-Reply-To: <1271315296-9447-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Eric Anholt Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, 15 Apr 2010 09:08:16 +0200, Daniel Vetter wrote: > Current code is definitely crap: Largest pitch allowed spills into > the TILING_Y bit of the fence registers ... :( > > I've rewritten the limits check under the assumption that 3rd gen hw > has a 3d pitch limit of 8kb (like 2nd gen). This is supported by an > otherwise totally misleading XXX comment. Good catch Daniel! Hopefully we must be soon running out of tiling bugs. It does - the fence pitch limit is 8KiB for both 512- and 128-wide tiles. In the 128 byte case the max pitch value is 64, and correspondingly the max pitch value is 16 for 512 byte wide tiles. -ickle -- Chris Wilson, Intel Open Source Technology Centre