Le 11/07/2013 23:51, David Herrmann a écrit :
->vm_open() isn't called for the first mmap(), afaik (only called during fork()s or similar). So the reference in ttm_bo_mmap() is a replacement for the reference you take in the ->vm_open() callback.
So the reference is acquired either in ttm_bo_mmap() or in ttm_bo_vm_open(), and always released in ttm_bo_vm_close().
Thanks to both of you! -- Jean-Sébastien Pédron _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel