From patchwork Thu Feb 6 16:56:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rodrigo Vivi X-Patchwork-Id: 3597051 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 5F0B49F382 for ; Thu, 6 Feb 2014 16:56:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A642920170 for ; Thu, 6 Feb 2014 16:56:18 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D8CE52016C for ; Thu, 6 Feb 2014 16:56:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D9F59FB977; Thu, 6 Feb 2014 08:56:16 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-qc0-f176.google.com (mail-qc0-f176.google.com [209.85.216.176]) by gabe.freedesktop.org (Postfix) with ESMTP id 1EFB1FB977 for ; Thu, 6 Feb 2014 08:56:15 -0800 (PST) Received: by mail-qc0-f176.google.com with SMTP id e16so3578716qcx.21 for ; Thu, 06 Feb 2014 08:56:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=o2mRGWrG7pTE0tDYUN35mLlcjOiUiNnFdzLJPsLR1zI=; b=exnB2hk+7DHYLU8aZyEVUrBTA7BABkAIflyNoGj4ffoI55FMsCLVgQKbS76DkeMUKb tkZsQTwSRRe4ipMs5T6daieDiYc1KeW3KNoEP1dLhnDbfz3UPDU4KYNoNuXS+wRZyRMd IPudTWnM82No0yV0V3lUVCUPhy57yRXO9fKPz3ArTSvTEC2dyMeJ9grcJ7J2FdCWFX99 cjqrDvsaS35Y50EUu8Ak5HdGCzFh8ERX7HSfmq9Iwst9rO1V7rH0jl/bRtC/u4KBNOg/ ELD36sRvxisRNwI/NUYUZROyYEIW/VvkjXp6OX3vnA3bJv0UHVYyBNkPk3lqzzA6pYkn h4Zg== X-Received: by 10.224.99.3 with SMTP id s3mr14149105qan.84.1391705774622; Thu, 06 Feb 2014 08:56:14 -0800 (PST) Received: from localhost.localdomain ([189.67.6.8]) by mx.google.com with ESMTPSA id l40sm2358028qga.13.2014.02.06.08.56.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Feb 2014 08:56:14 -0800 (PST) From: Rodrigo Vivi To: intel-gfx@lists.freedesktop.org Date: Thu, 6 Feb 2014 14:56:27 -0200 Message-Id: <1391705787-13211-1-git-send-email-rodrigo.vivi@gmail.com> X-Mailer: git-send-email 1.8.3.1 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.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 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);