/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_file.h | 1 /* $NetBSD: drm_file.h,v 1.8 2021/12/19 12:23:42 riastradh Exp $ */ 48 struct drm_file; 72 * Drivers instead should only interact with &struct drm_file and of course 138 * &struct drm_file where @event should be delivered to. Only set when 141 struct drm_file *file_priv; 155 * Entry on &drm_file.pending_event_list, to keep track of all pending 163 * struct drm_file - DRM file private data 167 struct drm_file { struct 369 * &drm_file.minor of @file_priv is a primary minor. 374 static inline bool drm_is_primary_client(const struct drm_file *file_priv [all...] |
drm_file.h | 1 /* $NetBSD: drm_file.h,v 1.8 2021/12/19 12:23:42 riastradh Exp $ */ 48 struct drm_file; 72 * Drivers instead should only interact with &struct drm_file and of course 138 * &struct drm_file where @event should be delivered to. Only set when 141 struct drm_file *file_priv; 155 * Entry on &drm_file.pending_event_list, to keep track of all pending 163 * struct drm_file - DRM file private data 167 struct drm_file { struct 369 * &drm_file.minor of @file_priv is a primary minor. 374 static inline bool drm_is_primary_client(const struct drm_file *file_priv [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
kfd_chardev.c | 1211 struct file *drm_file; local in function:kfd_ioctl_acquire_vm 1218 drm_file = fget(args->drm_fd); 1219 if (!drm_file) 1230 if (pdd->drm_file) { 1231 ret = pdd->drm_file == drm_file ? 0 : -EBUSY; 1235 ret = kfd_process_device_init_vm(pdd, drm_file); 1238 /* On success, the PDD keeps the drm_file reference */ 1245 fput(drm_file);
|
kfd_chardev.c | 1211 struct file *drm_file; local in function:kfd_ioctl_acquire_vm 1218 drm_file = fget(args->drm_fd); 1219 if (!drm_file) 1230 if (pdd->drm_file) { 1231 ret = pdd->drm_file == drm_file ? 0 : -EBUSY; 1235 ret = kfd_process_device_init_vm(pdd, drm_file); 1238 /* On success, the PDD keeps the drm_file reference */ 1245 fput(drm_file);
|
kfd_priv.h | 42 #include <drm/drm_file.h> 639 struct file *drm_file; member in struct:kfd_process_device 773 struct file *drm_file);
|
kfd_priv.h | 42 #include <drm/drm_file.h> 639 struct file *drm_file; member in struct:kfd_process_device 773 struct file *drm_file);
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_ttm.c | 49 #include <drm/drm_file.h> 200 struct drm_file *drm_file = filp->f_data; local in function:radeon_verify_access 201 return drm_vma_node_verify_access(&rbo->tbo.base.vma_node, drm_file); 1140 struct drm_file *file_priv = filp->private_data;
|
radeon_ttm.c | 49 #include <drm/drm_file.h> 200 struct drm_file *drm_file = filp->f_data; local in function:radeon_verify_access 201 return drm_vma_node_verify_access(&rbo->tbo.base.vma_node, drm_file); 1140 struct drm_file *file_priv = filp->private_data;
|
/src/sys/external/bsd/drm/dist/bsd-core/ |
drmP.h | 40 struct drm_file; 463 struct drm_file *file_priv); 475 struct drm_file *priv; 494 struct drm_file *file_priv; /* Unique identifier of holding process */ 541 typedef TAILQ_HEAD(drm_file_list, drm_file) drm_file_list_t; 542 struct drm_file { struct 543 TAILQ_ENTRY(drm_file) link; 557 struct drm_file *file_priv; /* Unique identifier of holding process (NULL is kernel)*/ 706 int (*open)(struct drm_device *, struct drm_file *); 707 void (*preclose)(struct drm_device *, struct drm_file *file_priv) [all...] |
drmP.h | 40 struct drm_file; 463 struct drm_file *file_priv); 475 struct drm_file *priv; 494 struct drm_file *file_priv; /* Unique identifier of holding process */ 541 typedef TAILQ_HEAD(drm_file_list, drm_file) drm_file_list_t; 542 struct drm_file { struct 543 TAILQ_ENTRY(drm_file) link; 557 struct drm_file *file_priv; /* Unique identifier of holding process (NULL is kernel)*/ 706 int (*open)(struct drm_device *, struct drm_file *); 707 void (*preclose)(struct drm_device *, struct drm_file *file_priv) [all...] |