From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] Allocate a correctly sized framebuffer when tiling by using libdrm support. Date: Mon, 07 Jun 2010 15:00:50 +0100 Message-ID: <89k83a$8gljcn@azsmga001.ch.intel.com> References: <1275893349-20058-1-git-send-email-eric@anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id A8F0A9E7DD for ; Mon, 7 Jun 2010 07:00:53 -0700 (PDT) In-Reply-To: <1275893349-20058-1-git-send-email-eric@anholt.net> 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: Eric Anholt , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Sun, 6 Jun 2010 23:49:09 -0700, Eric Anholt wrote: > When I made libdrm stop overallocating so much memory for the purpose > of bo caching, things started scribbling on the bottom of my > frontbuffer (and vice versa, leading to GPU hangs). We had the usual > mistake of size = tiled_pitch * height instead of size = tiled_pitch * > tile_aligned_height. Hmm, something is fishy after applying the patch. The framebuffer pitch for the 1920x1080 external display looks to be off by 2. -ickle -- Chris Wilson, Intel Open Source Technology Centre