From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= Subject: Re: Questions about TTM buffer object maping Date: Thu, 11 Jul 2013 23:43:07 +0200 Message-ID: <51DF26EB.7010804@dumbbell.fr> References: <51DDFBD9.7000703@dumbbell.fr> <20130711062419.GM6143@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail.made4.biz (ns25270.ovh.net [91.121.29.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 20359E5C86 for ; Thu, 11 Jul 2013 14:43:10 -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 Hi, Thank you J=E9r=F4me and Daniel for your input, that's really helpful! I have another question: in ttm_bo_mmap(), a reference to the buffer = object is acquired at the beginning of the function. Another reference = is acquired in ttm_bo_vm_open() (released in ttm_bo_vm_close()). But where is the first reference released? -- = Jean-S=E9bastien P=E9dron