From patchwork Thu May 14 14:41:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 6406231 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0823D9F1C1 for ; Thu, 14 May 2015 14:42:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3688E20437 for ; Thu, 14 May 2015 14:41:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1E27420412 for ; Thu, 14 May 2015 14:41:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F21A6E898; Thu, 14 May 2015 07:41:57 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTP id B73D76E898 for ; Thu, 14 May 2015 07:41:55 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 14 May 2015 07:41:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,429,1427785200"; d="scan'208";a="493584757" Received: from mnikolic-mobl1.ger.corp.intel.com (HELO strange.ger.corp.intel.com) ([10.252.9.174]) by FMSMGA003.fm.intel.com with ESMTP; 14 May 2015 07:41:54 -0700 From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Thu, 14 May 2015 15:41:54 +0100 Message-Id: <1431614514-12665-1-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t] gem_bad_blit: Make the BAD_GTT_TEST address more than 32 bits 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: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP gem_bad_blit.c: In function ‘bad_blit’: gem_bad_blit.c:89:3: warning: right shift count >= width of type [enabled by default] OUT_BATCH(BAD_GTT_DEST >> 32); /* Upper 16 bits */ Signed-off-by: Damien Lespiau --- tests/gem_bad_blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_bad_blit.c b/tests/gem_bad_blit.c index 593167c..366b182 100644 --- a/tests/gem_bad_blit.c +++ b/tests/gem_bad_blit.c @@ -60,7 +60,7 @@ static drm_intel_bufmgr *bufmgr; struct intel_batchbuffer *batch; -#define BAD_GTT_DEST ((256*1024*1024)) /* past end of aperture */ +#define BAD_GTT_DEST ((256*1024*1024ULL)) /* past end of aperture */ static void bad_blit(drm_intel_bo *src_bo, uint32_t devid)