From patchwork Sun Mar 23 14:18:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 3879071 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 CDDB09F2B6 for ; Sun, 23 Mar 2014 14:19:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C796201B4 for ; Sun, 23 Mar 2014 14:19:35 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id BB09720265 for ; Sun, 23 Mar 2014 14:19:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4FCA46E69D; Sun, 23 Mar 2014 07:19:33 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by gabe.freedesktop.org (Postfix) with ESMTP id CB1806E68C for ; Sun, 23 Mar 2014 07:19:24 -0700 (PDT) Received: by mail-ee0-f51.google.com with SMTP id c13so3484491eek.24 for ; Sun, 23 Mar 2014 07:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=H4Mv6vJ0FPcdtM3JGWH2dBH276sVy6yiboWUKytCGiM=; b=E6/LhPC2qLbs7eoqcirtyk1aRUNherh0fnPZKKUN7W1I/6AVBShGam96JooJn9SEnB CKvpISOmuTdS/g60JIIsGlXMr8zriO3HXlbQTmhzGBjtfaNdtoq9SjBOqqR0Z0tZxV8h 6cOOUUiO1B+OV4hjX+smsW5z+I6rHZjtIZ45s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H4Mv6vJ0FPcdtM3JGWH2dBH276sVy6yiboWUKytCGiM=; b=imMslVXUpkQ5NXvunDprGlyoHjMbd8EeqUh8TcOQTPnu2kjc7fa0dSYHyZcB5j313W mabgMPFfbQ+Fk1LyMMPIek2U5jrje0n7jcTKCfOT6cNR652CynGu+Y6CJASVfcO/EL16 EpYD/H57Pb50Ezjz2lorUDwDNKdeH1khvg/EewMj62DXfq44NPclTn5bNUAHJ2h15yJc HhB4JCz19UWlCIECPtCVpXFQnQUF31vtTGrzHXRkiC4Aw7OqwhED9QUZmO1pmn3BngFp pdZQHl7v2kd5YlRzQJw57STLCJ9mWEuaoZaZihK/lJmR72js7EcTgPaUmJJ9+wRdsjT/ CK/Q== X-Gm-Message-State: ALoCoQlv2nYxNaLn+aLolvcj8ajm7yAfdmfQnwcLTAOYr6jUwNB7bKllg7R/z+mk7Wfh568I3Eu+ X-Received: by 10.14.198.197 with SMTP id v45mr59200955een.9.1395584364099; Sun, 23 Mar 2014 07:19:24 -0700 (PDT) Received: from phenom.ffwll.local (84-73-67-144.dclient.hispeed.ch. [84.73.67.144]) by mx.google.com with ESMTPSA id cb5sm26392589eeb.18.2014.03.23.07.19.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 23 Mar 2014 07:19:23 -0700 (PDT) From: Daniel Vetter To: Intel Graphics Development Date: Sun, 23 Mar 2014 15:18:44 +0100 Message-Id: <1395584342-11812-11-git-send-email-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1395584342-11812-1-git-send-email-daniel.vetter@ffwll.ch> References: <1395584342-11812-1-git-send-email-daniel.vetter@ffwll.ch> Cc: Daniel Vetter Subject: [Intel-gfx] [PATCH 10/28] lib/intel_batchbuffer: drop cpu_mapping from igt_buf 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.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 It's unused. There's still num_tiles getting in the way of things, but that is used by gem_stress a bit. Signed-off-by: Daniel Vetter --- lib/intel_batchbuffer.h | 1 - tests/gem_ringfill.c | 1 - tests/gem_seqno_wrap.c | 1 - 3 files changed, 3 deletions(-) diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 3daf33cdf276..6a65f6f7b36f 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -201,7 +201,6 @@ struct igt_buf { uint32_t stride; uint32_t tiling; uint32_t *data; - uint32_t *cpu_mapping; uint32_t size; unsigned num_tiles; }; diff --git a/tests/gem_ringfill.c b/tests/gem_ringfill.c index 3c3df73bb338..ef98701c5b7c 100644 --- a/tests/gem_ringfill.c +++ b/tests/gem_ringfill.c @@ -126,7 +126,6 @@ static int check_ring(drm_intel_bufmgr *bufmgr, src.stride = 4 * width; src.tiling = 0; - src.data = src.cpu_mapping = NULL; src.size = 4 * width * height; src.num_tiles = 4 * width * height; dst = tmp = src; diff --git a/tests/gem_seqno_wrap.c b/tests/gem_seqno_wrap.c index 25f11b4ea419..f97403249374 100644 --- a/tests/gem_seqno_wrap.c +++ b/tests/gem_seqno_wrap.c @@ -79,7 +79,6 @@ static void init_buffer(drm_intel_bufmgr *bufmgr, buf->size = width * height * 4; igt_assert(buf->bo); buf->tiling = I915_TILING_NONE; - buf->data = buf->cpu_mapping = NULL; buf->num_tiles = width * height * 4; buf->stride = width * 4; }