From patchwork Tue Nov 1 21:50:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francisco Jerez X-Patchwork-Id: 9408175 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7805A60721 for ; Tue, 1 Nov 2016 21:52:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A05E299EC for ; Tue, 1 Nov 2016 21:52:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DF56299F6; Tue, 1 Nov 2016 21:52:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 246E6299EC for ; Tue, 1 Nov 2016 21:52:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3AFE16E1D1; Tue, 1 Nov 2016 21:52:32 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0F8736E157 for ; Tue, 1 Nov 2016 21:52:29 +0000 (UTC) Received: from piha.riseup.net (unknown [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id DB5231A038F; Tue, 1 Nov 2016 21:52:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1478037148; bh=nEUgB6w9hA0NOGIFYSsrkSPW7diLwRJRRPyTc6YlxHQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SaVTO37PsgyEw+kz0agMm1MYm5etETI104Z51gYaT73xNuIMCL/BdXrh8hfQeEukj 7y5l95Xe365sLIpbU84NlRaf0Y5ijtm1KcAc/9D8Gk6zPugBIw7AqQUjEZoig5ByTg dKTp7gZapfLNoqi5jJcpf8y/kks0GFGRCp6g6iSs= Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: currojerez) with ESMTPSA id ACC2C1C01DF From: Francisco Jerez To: intel-gfx@lists.freedesktop.org Date: Tue, 1 Nov 2016 14:50:39 -0700 Message-Id: <20161101215039.22654-2-currojerez@riseup.net> In-Reply-To: <20161101215039.22654-1-currojerez@riseup.net> References: <20161101215039.22654-1-currojerez@riseup.net> Subject: [Intel-gfx] [PATCH 2/2] aubdump: Bump GTT size to 128MB. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP You can easily run out of GTT space with the current fixed allocation of 64MB. Bump it to 128MB to avoid sporadic page-fault errors with the simulator. --- tools/aubdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/aubdump.c b/tools/aubdump.c index d0774c1..80c9d1c 100644 --- a/tools/aubdump.c +++ b/tools/aubdump.c @@ -151,8 +151,8 @@ data_out(const void *data, size_t size) static uint32_t gtt_size(void) { - /* Enough for 64MB assuming 4kB pages. */ - const unsigned entries = 0x4000; + /* Enough for 128MB assuming 4kB pages. */ + const unsigned entries = 0x8000; return entries * (gen >= 8 ? 8 : 4); }