Searched refs:fpriv (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_auth.c136 if (fpriv->magic) {
137 auth.magic = fpriv->magic;
145 fpriv->magic = auth.magic;
146 (void) drm_add_magic(dev, fpriv, auth.magic);
H A Ddrm_dma.c122 drm_reclaim_buffers(drm_device_t *dev, drm_file_t *fpriv) argument
130 if (dma->buflist[i]->filp == fpriv) {
153 return (dev->driver->dma_ioctl(dev, data, fpriv, mode));
H A Ddrm_drv.c454 drm_file_t *fpriv; local
465 fpriv = mp->fpriv;
466 ASSERT(fpriv);
468 if (--fpriv->refs != 0)
472 dev->driver->preclose(dev, fpriv);
482 dev->lock.filp == fpriv) {
487 dev->driver->reclaim_buffers_locked(dev, fpriv);
497 drm_reclaim_buffers(dev, fpriv);
501 drm_gem_release(dev, fpriv);
[all...]
H A Ddrm_fops.c128 mp->fpriv = priv;
H A Ddrm_sunmod.c431 drm_file_t *fpriv; local
490 fpriv = drm_find_file_by_proc(dp, credp);
492 if (fpriv == NULL) {
498 ((ioctl->flags & DRM_AUTH) && !fpriv->authenticated) ||
499 ((ioctl->flags & DRM_MASTER) && !fpriv->master))
502 fpriv->dev = dev;
503 fpriv->credp = credp;
505 retval = func(dp, arg, fpriv, mode);
585 idr_list_for_each(entry, &(mp->fpriv->object_idr)) {
H A Ddrm_gem.c496 ret = drm_gem_handle_delete(fpriv, args.handle);
521 obj = drm_gem_object_lookup(fpriv, args.handle);
587 ret = drm_gem_handle_create(fpriv, obj, &handle);
H A Ddrm_lock.c142 dev->lock.filp = fpriv;
H A DdrmP.h170 drm_device_t *dev1, intptr_t data, drm_file_t *fpriv, int mode
280 #define LOCK_TEST_WITH_RETURN(dev, fpriv) \
282 dev->lock.filp != fpriv) { \
620 drm_file_t *fpriv; member in struct:drm_cminor
H A Ddrm_bufs.c749 if (buf->filp != fpriv) {
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_mem.c101 static struct mem_block *split_block(struct mem_block *p, int start, int size, drm_file_t *fpriv) argument
138 p->filp = fpriv;
143 int align2, drm_file_t *fpriv)
151 return split_block(p, start, size, fpriv);
168 struct mem_block *find_block_by_proc(struct mem_block *heap, drm_file_t *fpriv) argument
173 if (p->filp == fpriv)
231 void i915_mem_release(drm_device_t * dev, drm_file_t *fpriv, struct mem_block *heap) argument
239 if (p->filp == fpriv) {
324 block = alloc_block(*heap, alloc.size, alloc.alignment, fpriv);
362 if (block->filp != fpriv)
142 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *fpriv) argument
[all...]
H A Dradeon_state.c1705 static int radeon_cp_dispatch_texture(drm_file_t *fpriv, argument
1722 if (radeon_check_and_fixup_offset(dev_priv, fpriv, &tex->offset)) {
1931 buf->filp = fpriv;
2185 if (alloc_surface(&alloc, dev_priv, fpriv) == -1)
2204 if (free_surface(fpriv, dev_priv, memfree.address)) {
2220 LOCK_TEST_WITH_RETURN(dev, fpriv);
2305 LOCK_TEST_WITH_RETURN(dev, fpriv);
2325 LOCK_TEST_WITH_RETURN(dev, fpriv);
2350 LOCK_TEST_WITH_RETURN(dev, fpriv);
2379 if (buf->filp != fpriv) {
[all...]
H A Di915_gem.c174 ret = drm_gem_handle_create(fpriv, obj, &handlep);
188 DRM_DEBUG("i915_gem_create_ioctl object name %d, size 0x%lx, list 0x%lx, obj 0x%lx",handlep, args.size, &fpriv->object_idr, obj);
213 obj = drm_gem_object_lookup(fpriv, args.handle);
326 obj = drm_gem_object_lookup(fpriv, args.handle);
351 ret = i915_gem_gtt_pwrite(dev, obj, &args, fpriv);
353 ret = i915_gem_shmem_pwrite(dev, obj, &args, fpriv);
402 obj = drm_gem_object_lookup(fpriv, args.handle);
450 obj = drm_gem_object_lookup(fpriv, args.handle);
495 obj = drm_gem_object_lookup(fpriv, args.handle);
499 ret = ddi_devmap_segmap(fpriv
[all...]
H A Dradeon_mem.c282 block = alloc_block(*heap, alloc.size, alloc.alignment, fpriv);
320 if (block->filp != fpriv)
H A Di915_gem_tiling.c283 obj = drm_gem_object_lookup(fpriv, args.handle);
358 obj = drm_gem_object_lookup(fpriv, args.handle);
H A Di915_dma.c635 LOCK_TEST_WITH_RETURN(dev, fpriv);
679 LOCK_TEST_WITH_RETURN(dev, fpriv);
728 LOCK_TEST_WITH_RETURN(dev, fpriv);
763 LOCK_TEST_WITH_RETURN(dev, fpriv);
1041 void i915_driver_preclose(drm_device_t * dev, drm_file_t *fpriv) argument
1044 i915_mem_release(dev, fpriv, dev_priv->agp_heap);
H A Dr300_cmdbuf.c812 drm_file_t *fpriv, drm_radeon_kcmd_buffer_t *cmdbuf)
918 if (buf->filp != fpriv || buf->pending) {
920 buf->filp, fpriv, buf->pending);
811 r300_do_cp_cmdbuf(drm_device_t *dev, drm_file_t *fpriv, drm_radeon_kcmd_buffer_t *cmdbuf) argument
H A Dradeon_cp.c1808 LOCK_TEST_WITH_RETURN(dev, fpriv);
1864 LOCK_TEST_WITH_RETURN(dev, fpriv);
1893 LOCK_TEST_WITH_RETURN(dev, fpriv);
1993 LOCK_TEST_WITH_RETURN(dev, fpriv);
2015 LOCK_TEST_WITH_RETURN(dev, fpriv);
2036 LOCK_TEST_WITH_RETURN(dev, fpriv);
2237 LOCK_TEST_WITH_RETURN(dev, fpriv);
2277 ret = radeon_cp_get_buffers(fpriv, dev, &d);
H A Dradeon_irq.c221 LOCK_TEST_WITH_RETURN(dev, fpriv);
H A Dradeon_drv.h393 drm_file_t *fpriv, drm_radeon_kcmd_buffer_t *cmdbuf);
H A Di915_irq.c704 LOCK_TEST_WITH_RETURN(dev, fpriv);

Completed in 84 milliseconds