Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c537 unsigned long page_align, size = bp->size; in amdgpu_bo_create() local
543 page_align = bp->byte_align; in amdgpu_bo_create()
547 page_align = ALIGN(bp->byte_align, 4); in amdgpu_bo_create()
551 page_align = ALIGN(bp->byte_align, PAGE_SIZE) >> PAGE_SHIFT; in amdgpu_bo_create()
591 &bo->placement, page_align, &ctx, NULL, in amdgpu_bo_create()
/drivers/gpu/drm/radeon/
Dradeon_object.c159 unsigned long page_align = roundup(byte_align, PAGE_SIZE) >> PAGE_SHIFT; in radeon_bo_create() local
227 &bo->placement, page_align, !kernel, sg, resv, in radeon_bo_create()
/drivers/infiniband/hw/mlx5/
Dmr.c1139 const int page_align = MLX5_UMR_MTT_ALIGNMENT / desc_size; in mlx5_ib_update_xlt() local
1140 const int page_mask = page_align - 1; in mlx5_ib_update_xlt()
1161 pages_to_map = ALIGN(npages, page_align); in mlx5_ib_update_xlt()