Home
last modified time | relevance | path

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

/drivers/gpu/drm/v3d/
Dv3d_mmu.c24 #define V3D_MMU_PAGE_SHIFT 12 macro
69 V3D_WRITE(V3D_MMU_PT_PA_BASE, v3d->pt_paddr >> V3D_MMU_PAGE_SHIFT); in v3d_mmu_set_page_table()
80 (v3d->mmu_scratch_paddr >> V3D_MMU_PAGE_SHIFT) | in v3d_mmu_set_page_table()
97 u32 page_address = dma_addr >> V3D_MMU_PAGE_SHIFT; in v3d_mmu_insert_ptes()
101 BUG_ON(page_address + (PAGE_SIZE >> V3D_MMU_PAGE_SHIFT) >= in v3d_mmu_insert_ptes()
103 for (i = 0; i < PAGE_SIZE >> V3D_MMU_PAGE_SHIFT; i++) in v3d_mmu_insert_ptes()
108 shmem_obj->base.size >> V3D_MMU_PAGE_SHIFT); in v3d_mmu_insert_ptes()
117 u32 npages = bo->base.base.size >> V3D_MMU_PAGE_SHIFT; in v3d_mmu_remove_ptes()