From patchwork Tue Jun 12 07:19:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 9225 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 6EAE723E53 for ; Tue, 12 Jun 2012 13:08:28 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 29C9DA189B0 for ; Tue, 12 Jun 2012 13:08:28 +0000 (UTC) Received: by ggnf1 with SMTP id f1so3674639ggn.11 for ; Tue, 12 Jun 2012 06:08:27 -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 :x-mailman-approved-at: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=0Sk1y+3NEXmATtedH5g0OP8axTilFWPRRcjBx2OTdRQ=; b=e1hO3TCl/nvSjZeAHaLFgeb2IgjQy3VB+/PkdbuvY1IeYgDj/TAkfYp+py67gX7YsI UrcdVMTVXEB2pte790JUg9ge2cARyV72bNX5dbITrDach01NmJN9ge3ALFyU1qAhYCIG N2D53f34Q1KiNkoCldxlC/4zCftGC7AMpkVENScdGa2zDYfJMHqgRVk/okTKLtsypeMP M5xYLDLcRLULWWP+PZk1+yqb08k3jeTsypfJYo5+7ifDi1Jg1UISUGt3wfLkvvbCdiUk 3E2mDjvvrNG07F7rVePBh7e91rgGeRGeRr1cY+ieSj0bYKaD+FtfIUq+2QnTDTYvYBPO 4lLg== Received: by 10.50.87.227 with SMTP id bb3mr8028236igb.57.1339506507499; Tue, 12 Jun 2012 06:08:27 -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.24.148 with SMTP id v20csp166059ibb; Tue, 12 Jun 2012 06:08:26 -0700 (PDT) Received: by 10.216.195.170 with SMTP id p42mr8932331wen.104.1339506505453; Tue, 12 Jun 2012 06:08:25 -0700 (PDT) Received: from mombin.canonical.com (mombin.canonical.com. [91.189.95.16]) by mx.google.com with ESMTP id u10si4352280wiz.24.2012.06.12.06.08.23; Tue, 12 Jun 2012 06:08:25 -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 1SeQpU-0005jM-Lj; Tue, 12 Jun 2012 13:08:16 +0000 Received: from eu1sys200aog119.obsmtp.com ([207.126.144.147]) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SeLNq-00067m-OG for linaro-mm-sig@lists.linaro.org; Tue, 12 Jun 2012 07:19:22 +0000 Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob119.postini.com ([207.126.147.11]) with SMTP ID DSNKT9bteTQluPVF3pt6KNd9r75GugscfAjC@postini.com; Tue, 12 Jun 2012 07:19:22 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3C71ADB; Tue, 12 Jun 2012 07:19:20 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D64AE223A; Tue, 12 Jun 2012 07:19:20 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 3969024C2F1; Tue, 12 Jun 2012 09:19:16 +0200 (CEST) Received: from lmenx321.lme.st.com (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 12 Jun 2012 09:19:20 +0200 From: To: Date: Tue, 12 Jun 2012 09:19:06 +0200 Message-ID: <1339485548-19320-3-git-send-email-benjamin.gaignard@stericsson.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1339485548-19320-1-git-send-email-benjamin.gaignard@stericsson.com> References: <1339485548-19320-1-git-send-email-benjamin.gaignard@stericsson.com> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 12 Jun 2012 13:08:15 +0000 Subject: [Linaro-mm-sig] [PATCH v5 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: ALoCoQl91RQHdCbeDttHoIoZXe9v/SIZDK8D5CjY53pOwgAgYfePAwZUUqDAxfE62LYTofAGVcw9 From: Benjamin Gaignard Signed-off-by: Benjamin Gaignard --- drivers/gpu/ion/ion_priv.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/ion/ion_priv.h b/drivers/gpu/ion/ion_priv.h index cf4a960..58945ab 100644 --- a/drivers/gpu/ion/ion_priv.h +++ b/drivers/gpu/ion/ion_priv.h @@ -99,6 +99,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. @@ -112,6 +113,7 @@ struct ion_heap { struct ion_heap_ops *ops; int id; const char *name; + void *priv; }; /**