/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_plane.h | 14 struct drm_file *file_priv);
|
H A D | exynos_drm_gem.h | 80 struct drm_file *file_priv); 84 struct drm_file *file_priv); 91 struct drm_file *file_priv); 100 int exynos_drm_gem_dumb_create(struct drm_file *file_priv, 105 int exynos_drm_gem_dumb_map_offset(struct drm_file *file_priv, 114 int exynos_drm_gem_dumb_destroy(struct drm_file *file_priv,
|
H A D | exynos_drm_gem.c | 59 struct drm_file *file_priv, 68 ret = drm_gem_handle_create(file_priv, obj, handle); 156 struct drm_file *file_priv) 168 ret = exynos_drm_gem_handle_create(&exynos_gem_obj->base, file_priv, 179 struct drm_file *file_priv) 193 return exynos_drm_gem_dumb_map_offset(file_priv, dev, args->handle, 246 struct drm_file *file_priv) 259 obj = drm_gem_object_lookup(dev, file_priv, args->handle); 299 int exynos_drm_gem_dumb_create(struct drm_file *file_priv, argument 321 ret = exynos_drm_gem_handle_create(&exynos_gem_obj->base, file_priv, 58 exynos_drm_gem_handle_create(struct drm_gem_object *obj, struct drm_file *file_priv, unsigned int *handle) argument 155 exynos_drm_gem_create_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 178 exynos_drm_gem_map_offset_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 245 exynos_drm_gem_mmap_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 331 exynos_drm_gem_dumb_map_offset(struct drm_file *file_priv, struct drm_device *dev, uint32_t handle, uint64_t *offset) argument 374 exynos_drm_gem_dumb_destroy(struct drm_file *file_priv, struct drm_device *dev, unsigned int handle) argument [all...] |
H A D | exynos_drm_fb.c | 64 struct drm_file *file_priv, 71 return drm_gem_handle_create(file_priv, 76 struct drm_file *file_priv, unsigned flags, 120 exynos_user_fb_create(struct drm_device *dev, struct drm_file *file_priv, argument 131 obj = drm_gem_object_lookup(dev, file_priv, mode_cmd->handles[0]); 147 obj = drm_gem_object_lookup(dev, file_priv, 63 exynos_drm_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned int *handle) argument 75 exynos_drm_fb_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, unsigned flags, unsigned color, struct drm_clip_rect *clips, unsigned num_clips) argument
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_mem.c | 42 struct drm_file *file_priv) 52 newblock->file_priv = NULL; 69 newblock->file_priv = NULL; 79 p->file_priv = file_priv; 84 int align2, struct drm_file *file_priv) 91 if (p->file_priv == NULL && start + size <= p->start + p->size) 92 return split_block(p, start, size, file_priv); 111 p->file_priv = NULL; 113 /* Assumes a single contiguous range. Needs a special file_priv i 41 split_block(struct mem_block *p, int start, int size, struct drm_file *file_priv) argument 83 alloc_block(struct mem_block *heap, int size, int align2, struct drm_file *file_priv) argument 160 radeon_mem_release(struct drm_file *file_priv, struct mem_block *heap) argument 219 radeon_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 254 radeon_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 280 radeon_mem_init_heap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
H A D | radeon_state.c | 43 struct drm_file * file_priv, 75 radeon_priv = file_priv->driver_priv; 94 struct drm_file *file_priv, 104 if (radeon_check_and_fixup_offset(dev_priv, file_priv, data)) { 115 if (radeon_check_and_fixup_offset(dev_priv, file_priv, data)) { 128 if (radeon_check_and_fixup_offset(dev_priv, file_priv, data)) { 139 if (radeon_check_and_fixup_offset(dev_priv, file_priv, data)) { 155 file_priv, 172 file_priv, 277 struct drm_file *file_priv, 41 radeon_check_and_fixup_offset(drm_radeon_private_t * dev_priv, struct drm_file * file_priv, u32 *offset) argument 92 radeon_check_and_fixup_packets(drm_radeon_private_t * dev_priv, struct drm_file *file_priv, int id, struct drm_buffer *buf) argument 275 radeon_check_and_fixup_packet3(drm_radeon_private_t * dev_priv, struct drm_file *file_priv, drm_radeon_kcmd_buffer_t * cmdbuf, unsigned int *cmdsz) argument 467 radeon_emit_state(drm_radeon_private_t * dev_priv, struct drm_file *file_priv, drm_radeon_context_regs_t * ctx, drm_radeon_texture_regs_t * tex, unsigned int dirty) argument 636 radeon_emit_state2(drm_radeon_private_t * dev_priv, struct drm_file *file_priv, drm_radeon_state_t * state) argument 1530 radeon_cp_dispatch_vertex(struct drm_device * dev, struct drm_file *file_priv, struct drm_buf * buf, drm_radeon_tcl_prim_t * prim) argument 1696 radeon_cp_dispatch_texture(struct drm_device * dev, struct drm_file *file_priv, drm_radeon_texture_t * tex, drm_radeon_tex_image_t * image) argument 1986 alloc_surface(drm_radeon_surface_alloc_t *new, drm_radeon_private_t *dev_priv, struct drm_file *file_priv) argument 2082 free_surface(struct drm_file *file_priv, drm_radeon_private_t * dev_priv, int lower) argument 2119 radeon_surfaces_release(struct drm_file *file_priv, drm_radeon_private_t * dev_priv) argument 2133 radeon_surface_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2144 radeon_surface_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2155 radeon_cp_clear(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2212 radeon_cp_flip(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2230 radeon_cp_swap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2255 radeon_cp_vertex(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2334 radeon_cp_indices(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2425 radeon_cp_texture(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2455 radeon_cp_stipple(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2474 radeon_cp_indirect(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2541 radeon_cp_vertex2(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 2636 radeon_emit_packets(drm_radeon_private_t * dev_priv, struct drm_file *file_priv, drm_radeon_cmd_header_t header, drm_radeon_kcmd_buffer_t *cmdbuf) argument 2752 radeon_emit_packet3(struct drm_device * dev, struct drm_file *file_priv, drm_radeon_kcmd_buffer_t *cmdbuf) argument 2776 radeon_emit_packet3_cliprect(struct drm_device *dev, struct drm_file *file_priv, drm_radeon_kcmd_buffer_t *cmdbuf, int orig_nbox) argument 2867 radeon_cp_cmdbuf(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 3030 radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 3127 radeon_cp_setparam(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 3185 radeon_driver_preclose(struct drm_device *dev, struct drm_file *file_priv) argument 3202 radeon_driver_open(struct drm_device *dev, struct drm_file *file_priv) argument 3222 radeon_driver_postclose(struct drm_device *dev, struct drm_file *file_priv) argument [all...] |
/drivers/gpu/drm/ |
H A D | drm_fops.c | 370 struct drm_file *file_priv = f->private_data; local 372 if (drm_i_have_hw_lock(dev, file_priv)) { 373 dev->driver->reclaim_buffers_locked(dev, file_priv); 378 drm_idlelock_take(&file_priv->master->lock); 384 spin_lock_bh(&file_priv->master->lock.spinlock); 385 locked = file_priv->master->lock.idle_has_lock; 386 spin_unlock_bh(&file_priv->master->lock.spinlock); 398 dev->driver->reclaim_buffers_locked(dev, file_priv); 399 drm_idlelock_release(&file_priv->master->lock); 405 struct drm_file *file_priv local 432 drm_events_release(struct drm_file *file_priv) argument 470 struct drm_file *file_priv = filp->private_data; local 590 drm_dequeue_event(struct drm_file *file_priv, size_t total, size_t max, struct drm_pending_event **out) argument 621 struct drm_file *file_priv = filp->private_data; local 649 struct drm_file *file_priv = filp->private_data; local [all...] |
H A D | drm_auth.c | 131 * \param file_priv DRM file private. 138 * file_priv. 142 int drm_getmagic(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 149 if (file_priv->magic) { 150 auth->magic = file_priv->magic; 158 } while (drm_find_file(file_priv->master, auth->magic)); 159 file_priv->magic = auth->magic; 160 drm_add_magic(file_priv->master, file_priv, auth->magic); 172 * \param file_priv DR 181 drm_authmagic(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
H A D | drm_ioctl.c | 45 * \param file_priv DRM file private. 53 struct drm_file *file_priv) 56 struct drm_master *master = file_priv->master; 84 * \param file_priv DRM file private. 95 struct drm_file *file_priv) 98 struct drm_master *master = file_priv->master; 121 static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv) argument 123 struct drm_master *master = file_priv->master; 142 * \param file_priv DRM file private. 152 struct drm_file *file_priv) 52 drm_getunique(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 94 drm_setunique(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 151 drm_getmap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 202 drm_getclient(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 241 drm_getstats(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 266 drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 296 drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 343 drm_noop(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
H A D | drm_lock.c | 47 * \param file_priv DRM file private. 54 int drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 58 struct drm_master *master = file_priv->master; 61 ++file_priv->lock_count; 91 master->lock.file_priv = file_priv; 119 if (!file_priv->is_master) { 146 * \param file_priv DRM file private. 153 int drm_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 156 struct drm_master *master = file_priv 371 drm_i_have_hw_lock(struct drm_device *dev, struct drm_file *file_priv) argument [all...] |
H A D | drm_context.c | 134 * \param file_priv DRM file private. 143 struct drm_file *file_priv) 178 * \param file_priv DRM file private. 187 struct drm_file *file_priv) 261 struct drm_file *file_priv, int new) 266 if (!_DRM_LOCK_IS_HELD(file_priv->master->lock.hw_lock->lock)) { 283 * \param file_priv DRM file private. 289 struct drm_file *file_priv) 312 * \param file_priv DRM file private. 320 struct drm_file *file_priv) 142 drm_getsareactx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 186 drm_setsareactx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 260 drm_context_switch_complete(struct drm_device *dev, struct drm_file *file_priv, int new) argument 288 drm_resctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 319 drm_addctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 355 drm_modctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 370 drm_getctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 391 drm_switchctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 411 drm_newctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 433 drm_rmctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
H A D | drm_stub.c | 212 struct drm_file *file_priv) 216 if (file_priv->is_master) 219 if (file_priv->minor->master && file_priv->minor->master != file_priv->master) 222 if (!file_priv->master) 225 if (!file_priv->minor->master && 226 file_priv->minor->master != file_priv->master) { 228 file_priv 211 drm_setmaster_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 243 drm_dropmaster_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
H A D | drm_dma.c | 121 buf->file_priv = NULL; 133 * \param file_priv DRM file private. 135 * Frees each buffer associated with \p file_priv not already on the hardware. 138 struct drm_file *file_priv) 146 if (dma->buflist[i]->file_priv == file_priv) { 137 drm_core_reclaim_buffers(struct drm_device *dev, struct drm_file *file_priv) argument
|
H A D | drm_gem.c | 249 drm_gem_handle_create(struct drm_file *file_priv, argument 261 if (idr_pre_get(&file_priv->object_idr, GFP_KERNEL) == 0) 265 spin_lock(&file_priv->table_lock); 266 ret = idr_get_new_above(&file_priv->object_idr, obj, 1, (int *)handlep); 267 spin_unlock(&file_priv->table_lock); 277 ret = dev->driver->gem_open_object(obj, file_priv); 279 drm_gem_handle_delete(file_priv, *handlep); 405 struct drm_file *file_priv) 413 ret = drm_gem_handle_delete(file_priv, args->handle); 426 struct drm_file *file_priv) 404 drm_gem_close_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 425 drm_gem_flink_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 478 drm_gem_open_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 526 struct drm_file *file_priv = data; local [all...] |
/drivers/gpu/drm/sis/ |
H A D | sis_drv.c | 80 struct sis_file_private *file_priv; local 83 file_priv = kmalloc(sizeof(*file_priv), GFP_KERNEL); 84 if (!file_priv) 87 file->driver_priv = file_priv; 89 INIT_LIST_HEAD(&file_priv->obj_list); 96 struct sis_file_private *file_priv = file->driver_priv; local 98 kfree(file_priv);
|
H A D | sis_mm.c | 63 static int sis_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 89 struct sis_file_private *file_priv = file->driver_priv; local 143 list_add(&item->owner_list, &file_priv->obj_list); 170 static int sis_drm_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 199 struct drm_file *file_priv) 201 return sis_drm_alloc(dev, file_priv, data, VIDEO_TYPE); 205 struct drm_file *file_priv) 223 struct drm_file *file_priv) 226 return sis_drm_alloc(dev, file_priv, data, AGP_TYPE); 321 struct sis_file_private *file_priv local 198 sis_fb_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 204 sis_ioctl_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 222 sis_ioctl_agp_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
/drivers/gpu/drm/via/ |
H A D | via_drv.c | 35 struct via_file_private *file_priv; local 38 file_priv = kmalloc(sizeof(*file_priv), GFP_KERNEL); 39 if (!file_priv) 42 file->driver_priv = file_priv; 44 INIT_LIST_HEAD(&file_priv->obj_list); 51 struct via_file_private *file_priv = file->driver_priv; local 53 kfree(file_priv);
|
H A D | via_drv.h | 120 extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 121 extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv); 122 extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv); 123 extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 124 extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 125 extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv); 126 extern int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv); 127 extern int via_dma_blit_sync(struct drm_device *dev, void *data, struct drm_file *file_priv); 128 extern int via_dma_blit(struct drm_device *dev, void *data, struct drm_file *file_priv); 154 struct drm_file *file_priv); [all...] |
H A D | via_mm.c | 40 int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 56 int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 117 struct via_file_private *file_priv = file->driver_priv; local 163 list_add(&item->owner_list, &file_priv->obj_list); 187 int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 215 struct via_file_private *file_priv = file->driver_priv; local 219 if (list_empty(&file_priv->obj_list)) { 227 list_for_each_entry_safe(entry, next, &file_priv->obj_list,
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fence.h | 91 extern int vmw_user_fence_create(struct drm_file *file_priv, 103 struct drm_file *file_priv); 106 struct drm_file *file_priv); 109 struct drm_file *file_priv); 111 struct drm_file *file_priv);
|
H A D | vmwgfx_ioctl.c | 33 struct drm_file *file_priv) 82 struct drm_file *file_priv) 122 struct drm_file *file_priv) 124 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; 129 struct vmw_master *vmaster = vmw_master(file_priv->master); 186 ret = vmw_kms_present(dev_priv, file_priv, 207 struct drm_file *file_priv) 215 struct vmw_master *vmaster = vmw_master(file_priv->master); 273 ret = vmw_kms_readback(dev_priv, file_priv, 300 struct drm_file *file_priv local 32 vmw_getparam_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 81 vmw_get_cap_3d_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 121 vmw_present_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 206 vmw_present_readback_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 323 struct drm_file *file_priv = filp->private_data; local [all...] |
H A D | vmwgfx_ttm_glue.c | 33 struct drm_file *file_priv; local 41 file_priv = filp->private_data; 42 dev_priv = vmw_priv(file_priv->minor->dev);
|
H A D | vmwgfx_drv.h | 338 static inline struct vmw_fpriv *vmw_fpriv(struct drm_file *file_priv) argument 340 return (struct vmw_fpriv *)file_priv->driver_priv; 386 struct drm_file *file_priv); 388 struct drm_file *file_priv); 407 struct drm_file *file_priv); 409 struct drm_file *file_priv); 411 struct drm_file *file_priv); 424 struct drm_file *file_priv); 426 struct drm_file *file_priv); 433 struct drm_file *file_priv); [all...] |
/drivers/gpu/drm/i915/ |
H A D | i915_mem.c | 93 struct drm_file *file_priv) 103 newblock->file_priv = NULL; 120 newblock->file_priv = NULL; 130 p->file_priv = file_priv; 135 int align2, struct drm_file *file_priv) 142 if (p->file_priv == NULL && start + size <= p->start + p->size) 143 return split_block(p, start, size, file_priv); 162 p->file_priv = NULL; 164 /* Assumes a single contiguous range. Needs a special file_priv i 92 split_block(struct mem_block *p, int start, int size, struct drm_file *file_priv) argument 134 alloc_block(struct mem_block *heap, int size, int align2, struct drm_file *file_priv) argument 212 i915_mem_release(struct drm_device * dev, struct drm_file *file_priv, struct mem_block *heap) argument 272 i915_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 310 i915_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 338 i915_mem_init_heap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 362 i915_mem_destroy_heap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
/drivers/gpu/drm/i810/ |
H A D | i810_dma.c | 122 static int i810_map_buffer(struct drm_buf *buf, struct drm_file *file_priv) argument 124 struct drm_device *dev = file_priv->minor->dev; 134 old_fops = file_priv->filp->f_op; 135 file_priv->filp->f_op = &i810_buffer_fops; 137 buf_priv->virtual = (void *)do_mmap(file_priv->filp, 0, buf->total, 141 file_priv->filp->f_op = old_fops; 174 struct drm_file *file_priv) 187 retcode = i810_map_buffer(buf, file_priv); 193 buf->file_priv = file_priv; 173 i810_dma_get_buffer(struct drm_device *dev, drm_i810_dma_t *d, struct drm_file *file_priv) argument 427 i810_dma_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 889 i810_reclaim_buffers(struct drm_device *dev, struct drm_file *file_priv) argument 920 i810_flush_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 929 i810_dma_vertex(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 959 i810_clear_bufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 975 i810_swap_bufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 986 i810_getage(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 998 i810_getbuf(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1022 i810_copybuf(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1029 i810_docopy(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1094 i810_dma_mc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1120 i810_rstatus(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1128 i810_ov0_info(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1140 i810_fstatus(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1149 i810_ov0_flip(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1186 i810_flip_bufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 1219 i810_driver_preclose(struct drm_device *dev, struct drm_file *file_priv) argument 1228 i810_driver_reclaim_buffers_locked(struct drm_device *dev, struct drm_file *file_priv) argument [all...] |