From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 06/24] drm/i915: Convert the dmabuf object to use the new i915_gem_object_ops Date: Fri, 14 Sep 2012 23:43:33 +0200 Message-ID: <20120914214333.GJ5799@phenom.ffwll.local> References: <1346788996-19080-1-git-send-email-chris@chris-wilson.co.uk> <1346788996-19080-7-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id E8BC09E772 for ; Fri, 14 Sep 2012 14:42:58 -0700 (PDT) Received: by weyr3 with SMTP id r3so2758119wey.36 for ; Fri, 14 Sep 2012 14:42:58 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1346788996-19080-7-git-send-email-chris@chris-wilson.co.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Sep 04, 2012 at 09:02:58PM +0100, Chris Wilson wrote: > By providing a callback for when we need to bind the pages, and then > release them again later, we can shorten the amount of time we hold the > foreign pages mapped and pinned, and importantly the dmabuf objects then > behave as any other normal object with respect to the shrinker and > memory management. > > Signed-off-by: Chris Wilson Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch