mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 01:58:02 +02:00
Add a code comment.
This commit is contained in:
parent
e6e4946c82
commit
e91ceff6c9
1 changed files with 7 additions and 0 deletions
|
|
@ -1715,6 +1715,13 @@ int drm_bo_ioctl(DRM_IOCTL_ARGS)
|
|||
drm_buffer_type, &uo);
|
||||
if (rep.ret)
|
||||
break;
|
||||
|
||||
/*
|
||||
* Note: The following code is only to
|
||||
* fill in the rep argument. drm_lookup_user_object ups the
|
||||
* refcount which is decreased again when we're done with the bo.
|
||||
*/
|
||||
|
||||
mutex_lock(&dev->struct_mutex);
|
||||
uo = drm_lookup_user_object(priv, req->handle);
|
||||
entry =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue