Home
last modified time | relevance | path

Searched refs:drm_file (Results 26 – 50 of 318) sorted by relevance

12345678910>>...13

/Linux-v6.6/include/drm/
Ddrm_gem.h86 int (*open)(struct drm_gem_object *obj, struct drm_file *file);
95 void (*close)(struct drm_gem_object *obj, struct drm_file *file);
507 int drm_gem_handle_create(struct drm_file *file_priv,
510 int drm_gem_handle_delete(struct drm_file *filp, u32 handle);
524 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles,
526 struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle);
527 long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle,
533 int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
Ddrm_auth.h35 struct drm_file;
46 struct drm_file *file_priv;
155 struct drm_master *drm_file_get_master(struct drm_file *file_priv);
157 bool drm_is_current_master(struct drm_file *fpriv);
Ddrm_ioctl.h41 struct drm_file;
55 struct drm_file *file_priv);
181 struct drm_file *file_priv);
183 struct drm_file *file_priv);
Ddrm_syncobj.h32 struct drm_file;
118 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,
Ddrm_framebuffer.h35 struct drm_file;
74 struct drm_file *file_priv,
98 struct drm_file *file_priv, unsigned flags,
222 struct drm_file *file_priv,
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_perf.h15 struct drm_file;
30 struct drm_file *file);
32 struct drm_file *file);
34 struct drm_file *file);
/Linux-v6.6/drivers/gpu/drm/lima/
Dlima_gem.h39 int lima_gem_create_handle(struct drm_device *dev, struct drm_file *file,
41 int lima_gem_get_info(struct drm_file *file, u32 handle, u32 *va, u64 *offset);
42 int lima_gem_submit(struct drm_file *file, struct lima_submit *submit);
43 int lima_gem_wait(struct drm_file *file, u32 handle, u32 op, s64 timeout_ns);
/Linux-v6.6/drivers/gpu/drm/
Ddrm_syncobj.c242 struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private, in drm_syncobj_find()
430 int drm_syncobj_find_fence(struct drm_file *file_private, in drm_syncobj_find_fence()
587 int drm_syncobj_get_handle(struct drm_file *file_private, in drm_syncobj_get_handle()
612 static int drm_syncobj_create_as_handle(struct drm_file *file_private, in drm_syncobj_create_as_handle()
627 static int drm_syncobj_destroy(struct drm_file *file_private, in drm_syncobj_destroy()
689 static int drm_syncobj_handle_to_fd(struct drm_file *file_private, in drm_syncobj_handle_to_fd()
703 static int drm_syncobj_fd_to_handle(struct drm_file *file_private, in drm_syncobj_fd_to_handle()
738 static int drm_syncobj_import_sync_file_fence(struct drm_file *file_private, in drm_syncobj_import_sync_file_fence()
759 static int drm_syncobj_export_sync_file(struct drm_file *file_private, in drm_syncobj_export_sync_file()
799 drm_syncobj_open(struct drm_file *file_private) in drm_syncobj_open()
[all …]
Ddrm_file.c150 struct drm_file *drm_file_alloc(struct drm_minor *minor) in drm_file_alloc()
154 struct drm_file *file; in drm_file_alloc()
209 static void drm_events_release(struct drm_file *file_priv) in drm_events_release()
243 void drm_file_free(struct drm_file *file) in drm_file_free()
300 struct drm_file *file_priv = filp->private_data; in drm_close_helper()
336 struct drm_file *priv; in drm_open_helper()
485 struct drm_file *file_priv = filp->private_data; in drm_release()
525 struct drm_file *file_priv = filp->private_data; in drm_release_noglobal()
570 struct drm_file *file_priv = filp->private_data; in drm_read()
654 struct drm_file *file_priv = filp->private_data; in drm_poll()
[all …]
Ddrm_agpsupport.c82 struct drm_file *file_priv) in drm_legacy_agp_info_ioctl()
128 struct drm_file *file_priv) in drm_legacy_agp_acquire_ioctl()
152 struct drm_file *file_priv) in drm_legacy_agp_release_ioctl()
180 struct drm_file *file_priv) in drm_legacy_agp_enable_ioctl()
231 struct drm_file *file_priv) in drm_legacy_agp_alloc_ioctl()
286 struct drm_file *file_priv) in drm_legacy_agp_unbind_ioctl()
326 struct drm_file *file_priv) in drm_legacy_agp_bind_ioctl()
365 struct drm_file *file_priv) in drm_legacy_agp_free_ioctl()
Ddrm_ioctl.c117 struct drm_file *file_priv) in drm_getunique()
145 static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv) in drm_set_busid()
183 struct drm_file *file_priv) in drm_getclient()
222 struct drm_file *file_priv) in drm_getstats()
235 static int drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_getcap()
314 drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_setclientcap()
382 static int drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) in drm_setversion()
440 struct drm_file *file_priv) in drm_noop()
463 struct drm_file *file_priv) in drm_invalid_op()
510 struct drm_file *file_priv) in drm_version()
[all …]
Ddrm_vma_manager.c244 struct drm_file *tag, bool ref_counted) in vma_node_allow()
313 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct drm_file *tag) in drm_vma_node_allow()
338 int drm_vma_node_allow_once(struct drm_vma_offset_node *node, struct drm_file *tag) in drm_vma_node_allow_once()
358 struct drm_file *tag) in drm_vma_node_revoke()
399 struct drm_file *tag) in drm_vma_node_is_allowed()
Ddrm_gem.c253 struct drm_file *file_priv = data; in drm_gem_object_release_handle()
277 drm_gem_handle_delete(struct drm_file *filp, u32 handle) in drm_gem_handle_delete()
314 int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev, in drm_gem_dumb_map_offset()
357 drm_gem_handle_create_tail(struct drm_file *file_priv, in drm_gem_handle_create_tail()
424 int drm_gem_handle_create(struct drm_file *file_priv, in drm_gem_handle_create()
656 static int objects_lookup(struct drm_file *filp, u32 *handle, int count, in objects_lookup()
698 int drm_gem_objects_lookup(struct drm_file *filp, void __user *bo_handles, in drm_gem_objects_lookup()
748 drm_gem_object_lookup(struct drm_file *filp, u32 handle) in drm_gem_object_lookup()
770 long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle, in drm_gem_dma_resv_wait()
805 struct drm_file *file_priv) in drm_gem_close_ioctl()
[all …]
/Linux-v6.6/drivers/gpu/drm/qxl/
Dqxl_drv.h309 struct drm_file *file_priv,
316 int qxl_gem_object_open(struct drm_gem_object *obj, struct drm_file *file_priv);
318 struct drm_file *file_priv);
322 int qxl_mode_dumb_create(struct drm_file *file_priv,
453 int qxl_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv);
454 int qxl_map_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv);
455 int qxl_execbuffer_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv);
456 int qxl_update_area_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
457 int qxl_getparam_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv);
458 int qxl_clientcap_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv);
[all …]
Dqxl_ioctl.c36 int qxl_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) in qxl_alloc_ioctl()
62 int qxl_map_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) in qxl_map_ioctl()
111 static int qxlhw_handle_to_bo(struct drm_file *file_priv, uint64_t handle, in qxlhw_handle_to_bo()
141 struct drm_file *file_priv) in qxl_process_single_command()
272 int qxl_execbuffer_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) in qxl_execbuffer_ioctl()
296 int qxl_update_area_ioctl(struct drm_device *dev, void *data, struct drm_file *file) in qxl_update_area_ioctl()
345 int qxl_getparam_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) in qxl_getparam_ioctl()
363 int qxl_clientcap_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) in qxl_clientcap_ioctl()
384 int qxl_alloc_surf_ioctl(struct drm_device *dev, void *data, struct drm_file *file) in qxl_alloc_surf_ioctl()
/Linux-v6.6/drivers/gpu/drm/virtio/
Dvirtgpu_gem.c31 static int virtio_gpu_gem_create(struct drm_file *file, in virtio_gpu_gem_create()
61 int virtio_gpu_mode_dumb_create(struct drm_file *file_priv, in virtio_gpu_mode_dumb_create()
102 int virtio_gpu_mode_dumb_mmap(struct drm_file *file_priv, in virtio_gpu_mode_dumb_mmap()
118 struct drm_file *file) in virtio_gpu_gem_object_open()
145 struct drm_file *file) in virtio_gpu_gem_object_close()
183 virtio_gpu_array_from_handles(struct drm_file *drm_file, u32 *handles, u32 nents) in virtio_gpu_array_from_handles() argument
193 objs->objs[i] = drm_gem_object_lookup(drm_file, handles[i]); in virtio_gpu_array_from_handles()
Dvirtgpu_drv.h282 void virtio_gpu_create_context(struct drm_device *dev, struct drm_file *file);
288 int virtio_gpu_driver_open(struct drm_device *dev, struct drm_file *file);
289 void virtio_gpu_driver_postclose(struct drm_device *dev, struct drm_file *file);
293 struct drm_file *file);
295 struct drm_file *file);
296 int virtio_gpu_mode_dumb_create(struct drm_file *file_priv,
299 int virtio_gpu_mode_dumb_mmap(struct drm_file *file_priv,
305 virtio_gpu_array_from_handles(struct drm_file *drm_file, u32 *handles, u32 nents);
491 struct drm_file *file);
/Linux-v6.6/drivers/gpu/drm/panfrost/
Dpanfrost_perfcnt.h12 void panfrost_perfcnt_close(struct drm_file *file_priv);
14 struct drm_file *file_priv);
16 struct drm_file *file_priv);
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_overlay.h10 struct drm_file;
20 struct drm_file *file_priv);
22 struct drm_file *file_priv);
/Linux-v6.6/drivers/gpu/drm/vc4/
Dvc4_drv.h883 int vc4_bo_dumb_create(struct drm_file *file_priv,
887 struct drm_file *file_priv);
889 struct drm_file *file_priv);
891 struct drm_file *file_priv);
893 struct drm_file *file_priv);
895 struct drm_file *file_priv);
897 struct drm_file *file_priv);
899 struct drm_file *file_priv);
969 struct drm_file *file_priv);
971 struct drm_file *file_priv);
[all …]
/Linux-v6.6/drivers/gpu/drm/omapdrm/
Domap_gem.h19 struct drm_file;
49 int omap_gem_new_handle(struct drm_device *dev, struct drm_file *file,
54 int omap_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev,
56 int omap_gem_dumb_create(struct drm_file *file, struct drm_device *dev,
/Linux-v6.6/drivers/gpu/drm/radeon/
Dradeon_gem.c198 static int radeon_gem_object_open(struct drm_gem_object *obj, struct drm_file *file_priv) in radeon_gem_object_open()
229 struct drm_file *file_priv) in radeon_gem_object_close()
297 struct drm_file *filp) in radeon_gem_info_ioctl()
315 struct drm_file *filp) in radeon_gem_pread_ioctl()
323 struct drm_file *filp) in radeon_gem_pwrite_ioctl()
331 struct drm_file *filp) in radeon_gem_create_ioctl()
364 struct drm_file *filp) in radeon_gem_userptr_ioctl()
455 struct drm_file *filp) in radeon_gem_set_domain_ioctl()
483 int radeon_mode_dumb_mmap(struct drm_file *filp, in radeon_mode_dumb_mmap()
505 struct drm_file *filp) in radeon_gem_mmap_ioctl()
[all …]
/Linux-v6.6/drivers/gpu/drm/etnaviv/
Detnaviv_drv.c51 static int etnaviv_open(struct drm_device *dev, struct drm_file *file) in etnaviv_open()
94 static void etnaviv_postclose(struct drm_device *dev, struct drm_file *file) in etnaviv_postclose()
256 struct drm_file *file) in etnaviv_ioctl_get_param()
273 struct drm_file *file) in etnaviv_ioctl_gem_new()
286 struct drm_file *file) in etnaviv_ioctl_gem_cpu_prep()
307 struct drm_file *file) in etnaviv_ioctl_gem_cpu_fini()
328 struct drm_file *file) in etnaviv_ioctl_gem_info()
348 struct drm_file *file) in etnaviv_ioctl_wait_fence()
373 struct drm_file *file) in etnaviv_ioctl_gem_userptr()
397 struct drm_file *file) in etnaviv_ioctl_gem_wait()
[all …]
/Linux-v6.6/drivers/gpu/drm/tegra/
Duapi.c76 int tegra_drm_ioctl_channel_open(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_channel_open()
162 int tegra_drm_ioctl_channel_close(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_channel_close()
185 int tegra_drm_ioctl_channel_map(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_channel_map()
272 int tegra_drm_ioctl_channel_unmap(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_channel_unmap()
298 int tegra_drm_ioctl_syncpoint_allocate(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_syncpoint_allocate()
324 int tegra_drm_ioctl_syncpoint_free(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_syncpoint_free()
342 int tegra_drm_ioctl_syncpoint_wait(struct drm_device *drm, void *data, struct drm_file *file) in tegra_drm_ioctl_syncpoint_wait()
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_abi16.h6 struct drm_device *dev, void *data, struct drm_file *file_priv
38 struct nouveau_abi16 *nouveau_abi16_get(struct drm_file *);
42 int nouveau_abi16_usif(struct drm_file *, void *data, u32 size);

12345678910>>...13