Home
last modified time | relevance | path

Searched refs:file_private (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/
H A Ddrm_syncobj.c247 struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, in drm_syncobj_find() argument
252 spin_lock(&file_private->syncobj_table_lock); in drm_syncobj_find()
255 syncobj = idr_find(&file_private->syncobj_idr, handle); in drm_syncobj_find()
259 spin_unlock(&file_private->syncobj_table_lock); in drm_syncobj_find()
435 int drm_syncobj_find_fence(struct drm_file *file_private, in drm_syncobj_find_fence() argument
439 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); in drm_syncobj_find_fence()
595 int drm_syncobj_get_handle(struct drm_file *file_private, in drm_syncobj_get_handle() argument
604 spin_lock(&file_private->syncobj_table_lock); in drm_syncobj_get_handle()
605 ret = idr_alloc(&file_private->syncobj_idr, syncobj, 1, 0, GFP_NOWAIT); in drm_syncobj_get_handle()
606 spin_unlock(&file_private->syncobj_table_lock); in drm_syncobj_get_handle()
[all …]
H A Ddrm_internal.h173 void drm_gem_open(struct drm_device *dev, struct drm_file *file_private);
174 void drm_gem_release(struct drm_device *dev, struct drm_file *file_private);
251 void drm_syncobj_open(struct drm_file *file_private);
252 void drm_syncobj_release(struct drm_file *file_private);
254 struct drm_file *file_private);
256 struct drm_file *file_private);
258 struct drm_file *file_private);
260 struct drm_file *file_private);
262 struct drm_file *file_private);
264 struct drm_file *file_private);
[all …]
H A Ddrm_gem.c945 drm_gem_open(struct drm_device *dev, struct drm_file *file_private) in drm_gem_open() argument
947 idr_init_base(&file_private->object_idr, 1); in drm_gem_open()
948 spin_lock_init(&file_private->table_lock); in drm_gem_open()
961 drm_gem_release(struct drm_device *dev, struct drm_file *file_private) in drm_gem_release() argument
963 idr_for_each(&file_private->object_idr, in drm_gem_release()
964 &drm_gem_object_release_handle, file_private); in drm_gem_release()
965 idr_destroy(&file_private->object_idr); in drm_gem_release()
/linux/include/drm/
H A Ddrm_syncobj.h118 struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private,
126 int drm_syncobj_find_fence(struct drm_file *file_private,
132 int drm_syncobj_get_handle(struct drm_file *file_private,