Lines Matching defs:bpe
2346 int drmmode_get_pitch_align(ScrnInfoPtr scrn, int bpe, uint32_t tiling)
2355 (((info->group_bytes / 8) / bpe) * info->num_banks)) * 8;
2360 pitch_align = MAX(8, (info->group_bytes / (8 * bpe)));
2362 pitch_align = MAX(info->group_bytes / bpe, pitch_align);
2366 pitch_align = MAX(64, info->group_bytes / bpe);
2378 pitch_align = 256 / bpe;
2386 int drmmode_get_base_align(ScrnInfoPtr scrn, int bpe, uint32_t tiling)
2389 int pixel_align = drmmode_get_pitch_align(scrn, bpe, tiling);
2395 base_align = MAX(info->num_banks * info->num_channels * 8 * 8 * bpe,
2396 pixel_align * bpe * height_align);