Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gpummu.c21 #define GPUMMU_PAGE_SIZE SZ_4K macro
22 #define TABLE_SIZE (sizeof(uint32_t) * GPUMMU_VA_RANGE / GPUMMU_PAGE_SIZE)
39 unsigned idx = (iova - GPUMMU_VA_START) / GPUMMU_PAGE_SIZE; in msm_gpummu_map()
51 for (j = 0; j < sg->length / GPUMMU_PAGE_SIZE; j++, idx++) { in msm_gpummu_map()
53 addr += GPUMMU_PAGE_SIZE; in msm_gpummu_map()
67 unsigned idx = (iova - GPUMMU_VA_START) / GPUMMU_PAGE_SIZE; in msm_gpummu_unmap()
70 for (i = 0; i < len / GPUMMU_PAGE_SIZE; i++, idx++) in msm_gpummu_unmap()