From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maarten Lankhorst Subject: Re: [PATCH 3/7] drm/radeon: implement unpin function Date: Tue, 09 Apr 2013 16:26:56 +0200 Message-ID: <51642530.8080907@canonical.com> References: <1365507466-11586-1-git-send-email-maarten.lankhorst@canonical.com> <1365507466-11586-3-git-send-email-maarten.lankhorst@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by gabe.freedesktop.org (Postfix) with ESMTP id 8313FE61B7 for ; Tue, 9 Apr 2013 07:27:01 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jerome Glisse Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Op 09-04-13 16:16, Jerome Glisse schreef: > On Tue, Apr 9, 2013 at 7:37 AM, Maarten Lankhorst > wrote: > >> Signed-off-by: Maarten Lankhorst >> > Can userspace pin directly ? If so then that sounds as a bad idea. > > Reviewed-by: Jerome Glisse > It's slightly better than before, it used to pin as soon as you export a buffer for as long as the buffer exists, with the series the pinning will only happen when importing to another device, until the device releases their reference. ~Maarten