Home
last modified time | relevance | path

Searched refs:total (Results 1 – 15 of 15) sorted by relevance

/gfx-drm/usr/src/uts/common/io/drm/
H A Ddrm_fops.c439 size_t total, size_t max, struct drm_pending_event **out) in drm_dequeue_event() argument
453 if (e->event->length + total > max) in drm_dequeue_event()
469 size_t total; in drm_read() local
479 total = 0; in drm_read()
480 while (drm_dequeue_event(file_priv, total, uiop->uio_iov->iov_len, &e)) { in drm_read()
486 total += e->event->length; in drm_read()
490 return total; in drm_read()
H A Ddrm_bufs.c550 int total; in drm_addbufs_agp() local
565 total = PAGE_SIZE << page_order; in drm_addbufs_agp()
576 DRM_DEBUG("total: %d\n", total); in drm_addbufs_agp()
619 buf->total = alignment; in drm_addbufs_agp()
701 int total; in drm_addbufs_sg() local
722 total = PAGE_SIZE << page_order; in drm_addbufs_sg()
733 DRM_DEBUG("total: %d\n", total); in drm_addbufs_sg()
777 buf->total = alignment; in drm_addbufs_sg()
1134 &dma->buflist[i]->total, in drm_mapbufs()
1135 sizeof (list32[0].total))) { in drm_mapbufs()
[all …]
H A Ddrm_mm.c723 unsigned long total_used = 0, total_free = 0, total = 0; in drm_mm_debug_table() local
734 total = total_free + total_used; in drm_mm_debug_table()
736 DRM_DEBUG("%s total: %lu, used %lu free %lu\n", prefix, total, in drm_mm_debug_table()
/gfx-drm/usr/src/uts/intel/io/i915/
H A Di915_gem_execbuffer.c507 int i, total, ret; in i915_gem_execbuffer_relocate_slow() local
520 total = 0; in i915_gem_execbuffer_relocate_slow()
522 total += exec[i].relocation_count; in i915_gem_execbuffer_relocate_slow()
525 reloc = drm_calloc(total, sizeof(*reloc), DRM_MEM_DRIVER); in i915_gem_execbuffer_relocate_slow()
527 drm_free(reloc, total * sizeof(*reloc), DRM_MEM_DRIVER); in i915_gem_execbuffer_relocate_slow()
533 total = 0; in i915_gem_execbuffer_relocate_slow()
539 if (copy_from_user(reloc+total, user_relocs, in i915_gem_execbuffer_relocate_slow()
546 reloc_offset[i] = total; in i915_gem_execbuffer_relocate_slow()
547 total += exec[i].relocation_count; in i915_gem_execbuffer_relocate_slow()
595 drm_free(reloc, total * sizeof(*reloc), DRM_MEM_DRIVER); in i915_gem_execbuffer_relocate_slow()
H A Di915_drv.c506 if (drm_core_check_feature(dev, DRIVER_MODESET) && dev_priv->gtt.total !=0) { in i915_drm_freeze()
526 if (dev_priv->gtt.total !=0) in i915_drm_freeze()
562 if (dev_priv->gtt.total !=0) in __i915_drm_thaw()
566 if (drm_core_check_feature(dev, DRIVER_MODESET) && dev_priv->gtt.total !=0) { in __i915_drm_thaw()
606 if (dev_priv->gtt.total !=0) in i915_drm_thaw()
609 dev_priv->gtt.total !=0) { in i915_drm_thaw()
624 if (dev_priv->gtt.total !=0) in i915_resume()
627 dev_priv->gtt.total !=0) { in i915_resume()
1051 if (dev_priv && dev_priv->gtt.total !=0) { in i915_quiesce()
H A Dintel_bios.c48 u16 total, current_size; in find_section() local
53 total = bdb->bdb_size; in find_section()
56 while (index < total) { in find_section()
H A Di915_gem_gtt.c666 dev_priv->gtt.total = end - start; in i915_gem_setup_global_gtt()
688 gtt_size = dev_priv->gtt.total; in i915_gem_init_global_gtt()
1126 ret = dev_priv->gtt.gtt_probe(dev, &dev_priv->gtt.total, in i915_gem_gtt_init()
1133 dev_priv->gtt.total >> 20); in i915_gem_gtt_init()
1182 unsigned num_entries = (dev_priv->gtt.total - offset - PAGE_SIZE) >> PAGE_SHIFT; in i915_clean_gtt()
H A Di915_drv.h463 size_t total; /* Total size GTT can map */ member
488 #define gtt_total_entries(gtt) ((gtt).total >> PAGE_SHIFT)
H A Di915_gem.c174 args->aper_size = dev_priv->gtt.total; in i915_gem_get_aperture_ioctl()
2568 dev_priv->gtt.mappable_end : dev_priv->gtt.total; in i915_gem_object_bind_to_gtt()
H A Di915_dma.c1546 if (dev_priv->gtt.total !=0) { in i915_driver_unload()
/gfx-drm/usr/src/uts/common/drm/
H A Ddrm_io32.h103 int total; /* Buffer size */ member
H A Ddrm.h402 int total; /**< Buffer size */ member
H A DdrmP.h477 int total; /* Buffer size */ member
/gfx-drm/usr/src/uts/intel/io/radeon/
H A Dradeon_cp.c2219 if (DRM_COPY_TO_USER(&d->request_sizes[i], &buf->total, in radeon_cp_get_buffers()
2220 sizeof (buf->total))) in radeon_cp_get_buffers()
/gfx-drm/usr/src/cmd/mdb/i915/
H A Di915.c233 mdb_printf("gtt total size 0x%x", dev_priv->gtt.total); in i915_gtt_total()