Searched refs:roundup_power_of_two (Results 1 – 2 of 2) sorted by relevance
306 #define roundup_power_of_two(x) ((x) != 0 ? 1 << igt_fls((x) - 1) : 0) macro
631 stride = roundup_power_of_two(stride); in calc_plane_stride()668 size = roundup_power_of_two(size); in calc_plane_size()