/gfx-drm/usr/src/uts/common/io/drm/ |
H A D | ati_pcigart.c | 96 ASSERT(PAGE_SIZE >= ATI_PCIGART_PAGE_SIZE); in drm_ati_pcigart_init() 102 for (k = 0; k < bulksize / PAGE_SIZE; k++) { in drm_ati_pcigart_init() 104 dmah->cookie.dmac_address + k * PAGE_SIZE; in drm_ati_pcigart_init() 108 for (j = 0; j < (PAGE_SIZE / ATI_PCIGART_PAGE_SIZE); in drm_ati_pcigart_init()
|
H A D | drm_scatter.c | 96 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE; in drm_sg_alloc()
|
H A D | drm_cache.c | 50 for (i = 0; i < PAGE_SIZE; i += x86_clflush_size) in drm_clflush_page()
|
H A D | drm_agpsupport.c | 249 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE; in drm_agp_alloc() 372 page = (request->offset + PAGE_SIZE - 1) / PAGE_SIZE; in drm_agp_bind()
|
H A D | drm_bufs.c | 54 #define PAGE_MASK (~(PAGE_SIZE - 1)) 55 #define round_page(x) (((x) + (PAGE_SIZE - 1)) & PAGE_MASK) 565 total = PAGE_SIZE << page_order; in drm_addbufs_agp() 646 byte_count += PAGE_SIZE << page_order; in drm_addbufs_agp() 722 total = PAGE_SIZE << page_order; in drm_addbufs_sg() 805 byte_count += PAGE_SIZE << page_order; in drm_addbufs_sg()
|
H A D | drm_gem.c | 353 BUG_ON((size & (PAGE_SIZE - 1)) != 0); in drm_gem_private_object_init()
|
H A D | drm_fb_helper.c | 956 size = ALIGN(pitch *fb_info.yres, PAGE_SIZE); in drm_getfb_size()
|
/gfx-drm/usr/src/uts/intel/io/i915/ |
H A D | i915_gem_gtt.c | 304 pt_vaddr = (uint32_t*)(uintptr_t)(ppgtt->kaddr + act_pt*PAGE_SIZE); in gen6_ppgtt_clear_range() 324 pt_vaddr = (gen6_gtt_pte_t *)(uintptr_t)(ppgtt->kaddr + act_pt*PAGE_SIZE); in gen6_ppgtt_insert_entries() 491 unsigned num_entries = obj->base.size / PAGE_SIZE; in gen6_ggtt_insert_entries() 507 BUG_ON(j != obj->base.size / PAGE_SIZE); in gen6_ggtt_insert_entries() 537 unsigned num_entries = obj->base.size / PAGE_SIZE; in gen6_ggtt_clear_range() 580 (obj->base.size / PAGE_SIZE), obj->gtt_offset, in i915_ggtt_clear_range() 647 drm_mm_init(&dev_priv->mm.gtt_space, start, end - start - PAGE_SIZE); in i915_gem_setup_global_gtt() 696 gtt_size -= I915_PPGTT_PD_ENTRIES*PAGE_SIZE; in i915_gem_init_global_gtt() 711 gtt_size += I915_PPGTT_PD_ENTRIES*PAGE_SIZE; in i915_gem_init_global_gtt() 1151 unsigned num_entries = size / PAGE_SIZE; in intel_rw_gtt() [all …]
|
H A D | i915_gem.c | 199 size = roundup(size, PAGE_SIZE); in i915_gem_create() 344 first_data_page = data_ptr / PAGE_SIZE; in i915_gem_shmem_pread() 368 page_length = PAGE_SIZE - shmem_page_offset; in i915_gem_shmem_pread() 370 page_length = PAGE_SIZE - data_page_offset; in i915_gem_shmem_pread() 500 first_data_page = data_ptr / PAGE_SIZE; in i915_gem_shmem_pwrite() 552 page_length = PAGE_SIZE - shmem_page_offset; in i915_gem_shmem_pwrite() 554 page_length = PAGE_SIZE - data_page_offset; in i915_gem_shmem_pwrite() 3868 page_count = obj->base.size / PAGE_SIZE; in i915_gem_detach_phys_object() 3874 (void) memcpy(dst, src, PAGE_SIZE); in i915_gem_detach_phys_object() 3927 page_count = obj->base.size / PAGE_SIZE; in i915_gem_attach_phys_object() [all …]
|
H A D | intel_fb.c | 69 size = ALIGN(size, PAGE_SIZE); in intelfb_create()
|
H A D | intel_ringbuffer.c | 449 ((ring->size - PAGE_SIZE) & RING_NR_PAGES) in init_ring_common() 1253 (void) memset(ring->status_page.page_addr, 0, PAGE_SIZE); in init_status_page() 1274 drm_pci_alloc(ring->dev, PAGE_SIZE, PAGE_SIZE, 0xffffffff, 1); in init_phys_status_page() 1280 memset(ring->status_page.page_addr, 0, PAGE_SIZE); in init_phys_status_page() 1293 ring->size = 32 * PAGE_SIZE; in intel_init_ring_buffer() 1322 ret = i915_gem_object_pin(obj, PAGE_SIZE, true, false); in intel_init_ring_buffer()
|
H A D | intel_overlay.c | 1335 reg_bo = i915_gem_object_create_stolen(dev, PAGE_SIZE); in intel_setup_overlay() 1337 reg_bo = i915_gem_alloc_object(dev, PAGE_SIZE); in intel_setup_overlay() 1345 PAGE_SIZE); in intel_setup_overlay() 1352 ret = i915_gem_object_pin(reg_bo, PAGE_SIZE, true, false); in intel_setup_overlay()
|
H A D | i915_gem_execbuffer.c | 176 int reloc_base = (reloc->offset & ~(PAGE_SIZE-1)); in i915_gem_execbuffer_relocate_entry() 177 reloc_offset = reloc->offset & (PAGE_SIZE-1); in i915_gem_execbuffer_relocate_entry() 178 reloc_entry = (uint32_t *)(uintptr_t)(obj->page_list[reloc_base/PAGE_SIZE] + reloc_offset); in i915_gem_execbuffer_relocate_entry()
|
H A D | i915_gem_tiling.c | 474 for (i = 0; i < PAGE_SIZE; i += 128) { in i915_gem_swizzle_page()
|
H A D | i915_irq.c | 1480 d = kmalloc(PAGE_SIZE, GFP_ATOMIC); in i915_error_object_create_sized() 1496 memcpy_fromio(d, s, PAGE_SIZE); in i915_error_object_create_sized() 1505 memcpy_fromio(d, (void __iomem *) offset, PAGE_SIZE); in i915_error_object_create_sized() 1515 memcpy(d, s, PAGE_SIZE); in i915_error_object_create_sized() 1524 reloc_offset += PAGE_SIZE; in i915_error_object_create_sized()
|
H A D | i915_dma.c | 1101 (void) memset(dev_priv->dri1.gfx_hws_cpu_addr.handle, 0, PAGE_SIZE); in i915_set_status_page()
|
H A D | i915_reg.h | 1815 #define HSW_CXT_TOTAL_SIZE (17 * PAGE_SIZE)
|
H A D | intel_display.c | 6749 return ALIGN(pitch * mode->vdisplay, PAGE_SIZE); in intel_framebuffer_size_for_mode()
|
/gfx-drm/usr/src/uts/common/drm/ |
H A D | drmP.h | 134 #define PAGE_SIZE DRM_PAGE_SIZE macro 171 #define DRM_MAX_CTXBITMAP (PAGE_SIZE * 8)
|