drm/ttm: Explain why we don't need to acquire a ref in ttm_bo_vm_ctor()
This commit is contained in:
parent
7608b757d7
commit
76c40c6986
@ -252,6 +252,11 @@ ttm_bo_vm_ctor(void *handle, vm_ooffset_t size, vm_prot_t prot,
|
||||
vm_ooffset_t foff, struct ucred *cred, u_short *color)
|
||||
{
|
||||
|
||||
/*
|
||||
* We don't acquire a reference on bo->kref here, because it was
|
||||
* already done in ttm_bo_mmap_single().
|
||||
*/
|
||||
|
||||
*color = 0;
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user