Searched refs:pt_size (Results 1 – 7 of 7) sorted by relevance
| /drivers/gpu/drm/xe/ |
| A D | xe_pt_walk.h | 108 u64 pt_size = 1ull << walk->shifts[level]; in xe_pt_covers() local 110 return end - addr == pt_size && IS_ALIGNED(addr, pt_size); in xe_pt_covers() 128 u64 pt_size = 1ull << walk->shifts[level]; in xe_pt_num_entries() local 130 return (round_up(end, pt_size) - round_down(addr, pt_size)) >> in xe_pt_num_entries()
|
| A D | xe_lmtt.c | 551 u64 pt_size; in xe_lmtt_estimate_pt_size() local 557 pt_size = PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) * in xe_lmtt_estimate_pt_size() 561 pt_size *= lmtt->ops->lmtt_pte_index(size, level) + 1; in xe_lmtt_estimate_pt_size() 562 pt_size += PAGE_ALIGN(lmtt->ops->lmtt_pte_size(level) * in xe_lmtt_estimate_pt_size() 566 return pt_size; in xe_lmtt_estimate_pt_size()
|
| /drivers/media/pci/saa7164/ |
| A D | saa7164-buffer.c | 83 buf->pt_size = (SAA7164_PT_ENTRIES * sizeof(u64)) + 0x1000; in saa7164_buffer_alloc() 91 buf->pt_cpu = dma_alloc_coherent(&port->dev->pci->dev, buf->pt_size, in saa7164_buffer_alloc() 99 memset(buf->pt_cpu, 0xff, buf->pt_size); in saa7164_buffer_alloc() 106 buf->pt_cpu, (long)buf->pt_dma, buf->pt_size); in saa7164_buffer_alloc() 145 dma_free_coherent(&dev->pci->dev, buf->pt_size, buf->pt_cpu, in saa7164_buffer_dealloc()
|
| A D | saa7164.h | 312 u32 pt_size; /* PCI allocation size in bytes */ member
|
| /drivers/gpu/drm/v3d/ |
| A D | v3d_gem.c | 265 u32 pt_size = 4096 * 1024; in v3d_gem_init() local 295 drm_mm_init(&v3d->mm, 1, pt_size / sizeof(u32) - 1); in v3d_gem_init() 297 v3d->pt = dma_alloc_wc(v3d->drm.dev, pt_size, in v3d_gem_init() 315 dma_free_coherent(v3d->drm.dev, pt_size, (void *)v3d->pt, in v3d_gem_init()
|
| /drivers/gpu/drm/imagination/ |
| A D | pvr_vm_mips.c | 32 u32 pt_size = 1 << ROGUE_MIPSFW_LOG2_PAGETABLE_SIZE_4K(pvr_dev); in pvr_vm_mips_init() local 40 if (pt_size > ROGUE_MIPSFW_MAX_NUM_PAGETABLE_PAGES * SZ_4K) in pvr_vm_mips_init() 66 mips_data->pt = vmap(mips_data->pt_pages, pt_size >> PAGE_SHIFT, VM_MAP, in pvr_vm_mips_init()
|
| /drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_mob.c | 460 unsigned long pt_size = num_data_pages * VMW_PPN_SIZE; in vmw_mob_build_pt() local 461 unsigned long num_pt_pages = DIV_ROUND_UP(pt_size, PAGE_SIZE); in vmw_mob_build_pt()
|
Completed in 17 milliseconds