Searched refs:ROUND_UP_TO (Results 1 – 3 of 3) sorted by relevance
301 #define ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) macro302 #define ROUND_UP_TO_MB(x) ROUND_UP_TO((x), 1024*1024)
294 return ROUND_UP_TO(size, 4096); in drm_intel_gem_bo_tile_size()312 return ROUND_UP_TO(size, 4096); in drm_intel_gem_bo_tile_size()347 return ROUND_UP_TO(pitch, tile_width); in drm_intel_gem_bo_tile_pitch()
860 stride = ROUND_UP_TO(stride, 64); in drm_intel_fake_bo_alloc_tiled()