Searched refs:file_private (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_syncobj.c | 223 struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, in drm_syncobj_find() argument 228 spin_lock(&file_private->syncobj_table_lock); in drm_syncobj_find() 231 syncobj = idr_find(&file_private->syncobj_idr, handle); in drm_syncobj_find() 235 spin_unlock(&file_private->syncobj_table_lock); in drm_syncobj_find() 383 int drm_syncobj_find_fence(struct drm_file *file_private, in drm_syncobj_find_fence() argument 387 struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle); in drm_syncobj_find_fence() 533 int drm_syncobj_get_handle(struct drm_file *file_private, in drm_syncobj_get_handle() argument 542 spin_lock(&file_private->syncobj_table_lock); in drm_syncobj_get_handle() 543 ret = idr_alloc(&file_private->syncobj_idr, syncobj, 1, 0, GFP_NOWAIT); in drm_syncobj_get_handle() 544 spin_unlock(&file_private->syncobj_table_lock); in drm_syncobj_get_handle() [all …]
|
D | drm_internal.h | 171 void drm_gem_open(struct drm_device *dev, struct drm_file *file_private); 172 void drm_gem_release(struct drm_device *dev, struct drm_file *file_private); 230 void drm_syncobj_open(struct drm_file *file_private); 231 void drm_syncobj_release(struct drm_file *file_private); 233 struct drm_file *file_private); 235 struct drm_file *file_private); 237 struct drm_file *file_private); 239 struct drm_file *file_private); 241 struct drm_file *file_private); 243 struct drm_file *file_private); [all …]
|
D | drm_gem.c | 900 drm_gem_open(struct drm_device *dev, struct drm_file *file_private) in drm_gem_open() argument 902 idr_init_base(&file_private->object_idr, 1); in drm_gem_open() 903 spin_lock_init(&file_private->table_lock); in drm_gem_open() 916 drm_gem_release(struct drm_device *dev, struct drm_file *file_private) in drm_gem_release() argument 918 idr_for_each(&file_private->object_idr, in drm_gem_release() 919 &drm_gem_object_release_handle, file_private); in drm_gem_release() 920 idr_destroy(&file_private->object_idr); in drm_gem_release()
|
/linux-6.1.9/include/drm/ |
D | drm_syncobj.h | 114 struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, 122 int drm_syncobj_find_fence(struct drm_file *file_private, 128 int drm_syncobj_get_handle(struct drm_file *file_private,
|