From patchwork Wed Mar 21 09:09:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 7385 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id CC1EF23E42 for ; Wed, 21 Mar 2012 09:00:08 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 93E43A18250 for ; Wed, 21 Mar 2012 09:00:08 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so1737390iag.11 for ; Wed, 21 Mar 2012 02:00:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to :date:message-id:x-mailer:in-reply-to:references:mime-version :subject:x-beenthere:x-mailman-version:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :content-type:content-transfer-encoding:sender:errors-to :x-gm-message-state; bh=A6LQuVP52U3uJPzxHYppwjxV9d2WCG2YEBGKR2VZNCA=; b=iCxNdKeJ1Y9DSX+FqBNzfoVPNUlS0MQyTJbVdvRTkGnyDmmKZqZNcN7hOjcJx999gR 4iuXCeRL0yumBTv9CqFh+jimZRRXI//o2vwmDsFg59J0NGCmr5mbXPvaEZnlbXHndtZi Bv19YNmomJA6Oavn9wJ4lsPThzy2ZHG0sRcduv5EFaq31BejQERIVUKBlBL1DxdirWdJ AoU/njVSOUlxNwwqCQvCMjfSAvENJn+Q49DFtMmgnSu3mpGx1sv+D2L9f4S4qxr7QPs9 MIO25PT2vSAZeaD/h3Dq4pPyFizM3YB5dcAfG2ajR0C0qHNDc4wsZN2AwrJgexzpyoap CmnQ== Received: by 10.50.156.226 with SMTP id wh2mr2241178igb.2.1332320408396; Wed, 21 Mar 2012 02:00:08 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.203.79 with SMTP id fh15csp4717ibb; Wed, 21 Mar 2012 02:00:05 -0700 (PDT) Received: by 10.180.79.135 with SMTP id j7mr35899189wix.19.1332320399615; Wed, 21 Mar 2012 01:59:59 -0700 (PDT) Received: from mombin.canonical.com (mombin.canonical.com. [91.189.95.16]) by mx.google.com with ESMTP id j10si1043054wed.69.2012.03.21.01.59.58; Wed, 21 Mar 2012 01:59:59 -0700 (PDT) Received-SPF: neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) client-ip=91.189.95.16; Authentication-Results: mx.google.com; spf=neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) smtp.mail=linaro-mm-sig-bounces@lists.linaro.org Received: from localhost ([127.0.0.1] helo=mombin.canonical.com) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SAHOd-0004fF-U5; Wed, 21 Mar 2012 08:59:55 +0000 Received: from eu1sys200aog104.obsmtp.com ([207.126.144.117]) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SAHOb-0004dr-D5 for linaro-mm-sig@lists.linaro.org; Wed, 21 Mar 2012 08:59:53 +0000 Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob104.postini.com ([207.126.147.11]) with SMTP ID DSNKT2mYh+wg0Kb+LTp6K0IMOjV43FhUyAdD@postini.com; Wed, 21 Mar 2012 08:59:53 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 4883359; Wed, 21 Mar 2012 08:59:36 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 9361B65; Wed, 21 Mar 2012 07:16:04 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 3ED0B24C075; Wed, 21 Mar 2012 09:59:45 +0100 (CET) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 21 Mar 2012 09:59:49 +0100 From: To: Date: Wed, 21 Mar 2012 10:09:21 +0100 Message-ID: <1332320963-29001-3-git-send-email-benjamin.gaignard@stericsson.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1332320963-29001-1-git-send-email-benjamin.gaignard@stericsson.com> References: <1332320963-29001-1-git-send-email-benjamin.gaignard@stericsson.com> MIME-Version: 1.0 Subject: [Linaro-mm-sig] [PATCH v4 2/4] add private field in ion_heap structure X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Unified memory management interest group." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linaro-mm-sig-bounces@lists.linaro.org Errors-To: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQkIrq3zl6c8R913YuHX4xJCxoJmNWoYk1+/z3b6QbpY/m6UdtJQj+J4AXbHV54oPH6ysvbv From: Benjamin Gaignard Signed-off-by: Benjamin Gaignard --- drivers/gpu/ion/ion_priv.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/ion/ion_priv.h b/drivers/gpu/ion/ion_priv.h index 3323954..bf5c75e 100644 --- a/drivers/gpu/ion/ion_priv.h +++ b/drivers/gpu/ion/ion_priv.h @@ -111,6 +111,7 @@ struct ion_heap_ops { * allocating. These are specified by platform data and * MUST be unique * @name: used for debugging + * @priv: private heap data * * Represents a pool of memory from which buffers can be made. In some * systems the only heap is regular system memory allocated via vmalloc. @@ -124,6 +125,7 @@ struct ion_heap { struct ion_heap_ops *ops; int id; const char *name; + void *priv; }; /**