Searched refs:ROUND_UP_TO (Results 1 – 3 of 3) sorted by relevance
322 #define ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) macro323 #define ROUND_UP_TO_MB(x) ROUND_UP_TO((x), 1024*1024)
333 return ROUND_UP_TO(size, 4096); in drm_intel_gem_bo_tile_size()351 return ROUND_UP_TO(size, 4096); in drm_intel_gem_bo_tile_size()386 return ROUND_UP_TO(pitch, tile_width); in drm_intel_gem_bo_tile_pitch()
856 stride = ROUND_UP_TO(stride, 64); in drm_intel_fake_bo_alloc_tiled()