Home
last modified time | relevance | path

Searched refs:drm_alloc (Results 1 – 17 of 17) sorted by relevance

/titanic_44/usr/src/uts/common/io/drm/
H A Ddrm_irq.c137 dev->vbl_queues = drm_alloc(sizeof (wait_queue_head_t) * num_crtcs, in drm_vblank_init()
142 dev->vbl_sigs = drm_alloc(sizeof (struct drm_vbl_sig) * num_crtcs, in drm_vblank_init()
147 dev->_vblank_count = drm_alloc(sizeof (atomic_t) * num_crtcs, in drm_vblank_init()
152 dev->vblank_refcount = drm_alloc(sizeof (atomic_t) * num_crtcs, in drm_vblank_init()
157 dev->vblank_enabled = drm_alloc(num_crtcs * sizeof (int), in drm_vblank_init()
162 dev->last_vblank = drm_alloc(num_crtcs * sizeof (u32), DRM_MEM_DRIVER); in drm_vblank_init()
166 dev->vblank_inmodeset = drm_alloc(num_crtcs * sizeof (int), in drm_vblank_init()
H A Ddrm_bufs.c115 map = drm_alloc(sizeof (*map), DRM_MEM_MAPS); in drm_addmap()
432 entry->buflist = drm_alloc(count * sizeof (*entry->buflist), in drm_do_addbufs_agp()
457 buf->dev_private = drm_alloc(buf->dev_priv_size, DRM_MEM_BUFS); in drm_do_addbufs_agp()
470 temp_buflist = drm_alloc( in drm_do_addbufs_agp()
532 entry->buflist = drm_alloc(count * sizeof (*entry->buflist), in drm_do_addbufs_sg()
557 buf->dev_private = drm_alloc(buf->dev_priv_size, in drm_do_addbufs_sg()
H A Ddrm_mm.c94 drm_alloc(sizeof (*child), DRM_MEM_MM); in drm_mm_create_tail_node()
133 drm_alloc(sizeof (*child), DRM_MEM_MM); in drm_mm_split_at_start()
H A Ddrm_fops.c95 priv = drm_alloc(sizeof (*priv), DRM_MEM_FILES); in drm_open_helper()
H A Ddrm_auth.c75 entry = drm_alloc(sizeof (*entry), DRM_MEM_MAGIC); in drm_add_magic()
H A Ddrm_memory.c64 drm_alloc(size_t size, int area) in drm_alloc() function
H A Ddrm_context.c120 dev->context_sareas = drm_alloc(dev->max_context * in drm_ctxbitmap_next()
H A Ddrm_ioctl.c116 dev->unique = drm_alloc(dev->unique_len + 1, DRM_MEM_DRIVER); in drm_set_busid()
H A Ddrm_gem.c329 map = drm_alloc(sizeof (struct drm_local_map), DRM_MEM_MAPS); in drm_gem_object_alloc()
H A DdrmP.h859 void *drm_alloc(size_t, int);
/titanic_44/usr/src/uts/intel/io/drm/
H A Dradeon_mem.c56 drm_alloc(sizeof (*newblock), DRM_MEM_BUFS); in split_block()
73 drm_alloc(sizeof (*newblock), DRM_MEM_BUFS); in split_block()
151 struct mem_block *blocks = drm_alloc(sizeof (*blocks), DRM_MEM_BUFS); in init_heap()
156 *heap = drm_alloc(sizeof (**heap), DRM_MEM_BUFS); in init_heap()
H A Di915_mem.c106 drm_alloc(sizeof(*newblock), DRM_MEM_BUFLISTS); in split_block()
123 drm_alloc(sizeof(*newblock), DRM_MEM_BUFLISTS); in split_block()
207 struct mem_block *blocks = drm_alloc(sizeof(*blocks), DRM_MEM_BUFLISTS); in init_heap()
212 *heap = drm_alloc(sizeof(**heap), DRM_MEM_BUFLISTS); in init_heap()
H A Di915_dma.c920 dev_priv = drm_alloc(sizeof(drm_i915_private_t), DRM_MEM_DRIVER); in i915_driver_load()
932 dev_priv->mmio_map = drm_alloc(sizeof (drm_local_map_t), DRM_MEM_MAPS); in i915_driver_load()
1010 drm_alloc(sizeof(*i915_file_priv), DRM_MEM_FILES); in i915_driver_open()
H A Di915_irq.c246 error = drm_alloc(sizeof(*error), DRM_MEM_DRIVER); in i915_capture_error_state()
H A Di915_drv.c861 statep->s3_private = drm_alloc(sizeof(s3_i915_private_t), in i915_attach()
H A Dradeon_cp.c2310 dev_priv = drm_alloc(sizeof (drm_radeon_private_t), DRM_MEM_DRIVER); in radeon_driver_load()
H A Dradeon_state.c3114 kbuf = drm_alloc(cmdbuf.bufsz, DRM_MEM_DRIVER); in radeon_cp_cmdbuf()
3449 drm_alloc(sizeof (*radeon_priv), DRM_MEM_FILES); in radeon_driver_open()