/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_auth.c | 136 if (fpriv->magic) { 137 auth.magic = fpriv->magic; 145 fpriv->magic = auth.magic; 146 (void) drm_add_magic(dev, fpriv, auth.magic);
|
H A D | drm_dma.c | 122 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 D | drm_drv.c | 454 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 D | drm_fops.c | 128 mp->fpriv = priv;
|
H A D | drm_sunmod.c | 431 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 D | drm_gem.c | 496 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 D | drm_lock.c | 142 dev->lock.filp = fpriv;
|
H A D | drmP.h | 170 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 D | drm_bufs.c | 749 if (buf->filp != fpriv) {
|
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | i915_mem.c | 101 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 D | radeon_state.c | 1705 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 D | i915_gem.c | 174 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 D | radeon_mem.c | 282 block = alloc_block(*heap, alloc.size, alloc.alignment, fpriv); 320 if (block->filp != fpriv)
|
H A D | i915_gem_tiling.c | 283 obj = drm_gem_object_lookup(fpriv, args.handle); 358 obj = drm_gem_object_lookup(fpriv, args.handle);
|
H A D | i915_dma.c | 635 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 D | r300_cmdbuf.c | 812 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 D | radeon_cp.c | 1808 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 D | radeon_irq.c | 221 LOCK_TEST_WITH_RETURN(dev, fpriv);
|
H A D | radeon_drv.h | 393 drm_file_t *fpriv, drm_radeon_kcmd_buffer_t *cmdbuf);
|
H A D | i915_irq.c | 704 LOCK_TEST_WITH_RETURN(dev, fpriv);
|