From: Daniel Vetter Subject: [PATCH 10/28] lib/intel_batchbuffer: drop cpu_mapping from igt_buf Date: Sun, 23 Mar 2014 15:18:44 +0100 Message-ID: <1395584342-11812-11-git-send-email-daniel.vetter@ffwll.ch> References: <1395584342-11812-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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) In-Reply-To: <1395584342-11812-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org 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; } -- 1.8.5.2