From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f198.google.com (mail-qk0-f198.google.com [209.85.220.198]) by kanga.kvack.org (Postfix) with ESMTP id 385C16B0388 for ; Fri, 3 Mar 2017 14:16:19 -0500 (EST) Received: by mail-qk0-f198.google.com with SMTP id f191so106794856qka.7 for ; Fri, 03 Mar 2017 11:16:19 -0800 (PST) Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com. [209.85.220.180]) by mx.google.com with ESMTPS id s65si10015210qtd.192.2017.03.03.11.16.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Mar 2017 11:16:18 -0800 (PST) Received: by mail-qk0-f180.google.com with SMTP id 1so72823680qkl.3 for ; Fri, 03 Mar 2017 11:16:18 -0800 (PST) Subject: Re: [RFC PATCH 00/12] Ion cleanup in preparation for moving out of staging References: <1488491084-17252-1-git-send-email-labbott@redhat.com> <20170303100433.lm5t4hqxj6friyp6@phenom.ffwll.local> <10344634.XsotFaGzfj@avalon> From: Laura Abbott Message-ID: <7acd4b8d-b2c2-2e08-8f9a-7d0c2146cc49@redhat.com> Date: Fri, 3 Mar 2017 11:16:14 -0800 MIME-Version: 1.0 In-Reply-To: <10344634.XsotFaGzfj@avalon> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Laurent Pinchart , dri-devel@lists.freedesktop.org Cc: Daniel Vetter , devel@driverdev.osuosl.org, romlem@google.com, Greg Kroah-Hartman , arve@android.com, linux-kernel@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org, Riley Andrews , Mark Brown , Daniel Vetter , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org On 03/03/2017 08:45 AM, Laurent Pinchart wrote: > Hi Daniel, > > On Friday 03 Mar 2017 11:04:33 Daniel Vetter wrote: >> On Thu, Mar 02, 2017 at 01:44:32PM -0800, Laura Abbott wrote: >>> Hi, >>> >>> There's been some recent discussions[1] about Ion-like frameworks. There's >>> apparently interest in just keeping Ion since it works reasonablly well. >>> This series does what should be the final clean ups for it to possibly be >>> moved out of staging. >>> >>> This includes the following: >>> - Some general clean up and removal of features that never got a lot of >>> use as far as I can tell. >>> >>> - Fixing up the caching. This is the series I proposed back in December[2] >>> but never heard any feedback on. It will certainly break existing >>> applications that rely on the implicit caching. I'd rather make an >>> effort to move to a model that isn't going directly against the >>> establishement though. >>> >>> - Fixing up the platform support. The devicetree approach was never well >>> recieved by DT maintainers. The proposal here is to think of Ion less as >>> specifying requirements and more of a framework for exposing memory to >>> userspace. >>> >>> - CMA allocations now happen without the need of a dummy device structure. >>> This fixes a bunch of the reasons why I attempted to add devicetree >>> support before. >>> >>> I've had problems getting feedback in the past so if I don't hear any >>> major objections I'm going to send out with the RFC dropped to be picked >>> up. The only reason there isn't a patch to come out of staging is to >>> discuss any other changes to the ABI people might want. Once this comes >>> out of staging, I really don't want to mess with the ABI. >>> >>> Feedback appreciated. >> >> Imo looks all good. And I just realized that cross-checking with the TODO, >> the 2 items about _CUSTOM and _IMPORT ioctls I noted are already there. >> >> Otherwise I looked through the patches, looks all really reasonable. > > Two more items that need to be addressed in my opinion : > > - Let's not export the ion_client API, we don't want drivers to be ion- > specific. Only the dma-buf interface should be visible to drivers. > Yes, that's a good point. I never heard back from anyone about a need for in kernel allocation via Ion. Thanks, Laura -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org