/drivers/video/drm/drm_gem.c |
---|
217,6 → 217,7 |
* we may want to use ida for number allocation and a hash table |
* for the pointers, anyway. |
*/ |
spin_lock(&filp->table_lock); |
/* Check if we currently have a reference on the object */ |
227,6 → 228,8 |
} |
dev = obj->dev; |
printf("%s handle %d obj %p\n", __FUNCTION__, handle, obj); |
/* Release reference and decrement refcount. */ |
idr_remove(&filp->object_idr, handle); |
spin_unlock(&filp->table_lock); |