From patchwork Tue Mar 18 14:18:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 3848291 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 998A09F369 for ; Tue, 18 Mar 2014 14:19:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 94EA120260 for ; Tue, 18 Mar 2014 14:19:03 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id A674320256 for ; Tue, 18 Mar 2014 14:19:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4187D8D768; Tue, 18 Mar 2014 07:19:02 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by gabe.freedesktop.org (Postfix) with ESMTP id B50568D768 for ; Tue, 18 Mar 2014 07:19:01 -0700 (PDT) Received: by mail-pd0-f172.google.com with SMTP id p10so7153854pdj.31 for ; Tue, 18 Mar 2014 07:19:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=6zjyx7j+krhzyD4yWoFByp3Gy4YkM/1ygHMQEvDNL3s=; b=RynhIpmFkI4ETFhh3Cv/ECO8FXPY5GWR1ngsDSxEzMVoJnegC0A6Z9NulDtKxNnuTV 6bWkfwVwNeC2JVmQDqDIusKI3/Px0fJQjdgbqkdSvcZ09cAkTLXraAJH5N9zVh2JfgoY VqBxX9f/PZncdhIJISFcCPpljV/ICbptaf3lsqoLVQemY/bkTGGMeov31icbEktrSu9x g8nwcsBsqlgokbJfcsMfkK8RKtknV7lOmZo6d985fzUPGv/TOFYjtqPR0nj3euoT/CVY LcgcuyOS7VlviFO4FeILiQfakogFok+gOqx4jlySfKHzt9XqGS5V8wINW7CYdzVlgctC 7rOA== X-Received: by 10.67.3.40 with SMTP id bt8mr33126504pad.78.1395152341551; Tue, 18 Mar 2014 07:19:01 -0700 (PDT) Received: from localhost (jfdmzpr05-ext.jf.intel.com. [134.134.139.74]) by mx.google.com with ESMTPSA id aj7sm88516593pad.29.2014.03.18.07.18.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Mar 2014 07:19:00 -0700 (PDT) From: Rodrigo Vivi To: intel-gfx@lists.freedesktop.org Date: Tue, 18 Mar 2014 11:18:53 -0300 Message-Id: <1395152336-7914-1-git-send-email-rodrigo.vivi@gmail.com> X-Mailer: git-send-email 1.8.5.3 Subject: [Intel-gfx] [PATCH 1/4] tests/gem_wait_render_timeout: Use XY_COLOR_BLT instead of COLOR_BLT. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 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-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Signed-off-by: Rodrigo Vivi --- tests/gem_wait_render_timeout.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/gem_wait_render_timeout.c b/tests/gem_wait_render_timeout.c index 2971752..4ecb93f 100644 --- a/tests/gem_wait_render_timeout.c +++ b/tests/gem_wait_render_timeout.c @@ -86,13 +86,13 @@ static void blt_color_fill(struct intel_batchbuffer *batch, { const unsigned short height = pages/4; const unsigned short width = 4096; - BEGIN_BATCH(5); - OUT_BATCH(COLOR_BLT_CMD | - COLOR_BLT_WRITE_ALPHA | - COLOR_BLT_WRITE_RGB); + BEGIN_BATCH(6); + OUT_BATCH(XY_COLOR_BLT_CMD_NOLEN | 4 | + COLOR_BLT_WRITE_ALPHA | XY_COLOR_BLT_WRITE_RGB); OUT_BATCH((3 << 24) | /* 32 Bit Color */ - 0xF0 | /* Raster OP copy background register */ + (0xF0 << 16) | /* Raster OP copy background register */ 0); /* Dest pitch is 0 */ + OUT_BATCH(0); OUT_BATCH(width << 16 | height); OUT_RELOC(buf, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0);