/gfx-drm/usr/src/uts/common/io/drm/ |
H A D | drm_fops.c | 439 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 D | drm_bufs.c | 550 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 D | drm_mm.c | 723 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 D | i915_gem_execbuffer.c | 507 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 D | i915_drv.c | 506 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 D | intel_bios.c | 48 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 D | i915_gem_gtt.c | 666 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 D | i915_drv.h | 463 size_t total; /* Total size GTT can map */ member 488 #define gtt_total_entries(gtt) ((gtt).total >> PAGE_SHIFT)
|
H A D | i915_gem.c | 174 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 D | i915_dma.c | 1546 if (dev_priv->gtt.total !=0) { in i915_driver_unload()
|
/gfx-drm/usr/src/uts/common/drm/ |
H A D | drm_io32.h | 103 int total; /* Buffer size */ member
|
H A D | drm.h | 402 int total; /**< Buffer size */ member
|
H A D | drmP.h | 477 int total; /* Buffer size */ member
|
/gfx-drm/usr/src/uts/intel/io/radeon/ |
H A D | radeon_cp.c | 2219 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 D | i915.c | 233 mdb_printf("gtt total size 0x%x", dev_priv->gtt.total); in i915_gtt_total()
|