Home
last modified time | relevance | path

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

/external/drm_gralloc/
Dgralloc_drm_radeon.c83 int pitch_align = 1; in radeon_get_pitch_align() local
88 pitch_align = (((info->group_bytes / 8) / bpe) * in radeon_get_pitch_align()
91 pitch_align = MAX(info->num_banks * 8, pitch_align); in radeon_get_pitch_align()
94 pitch_align = MAX(8, (info->group_bytes / (8 * bpe))); in radeon_get_pitch_align()
96 pitch_align = MAX(info->group_bytes / bpe, pitch_align); in radeon_get_pitch_align()
100 pitch_align = MAX(64, info->group_bytes / bpe); in radeon_get_pitch_align()
107 pitch_align = 512; in radeon_get_pitch_align()
113 pitch_align = 256 / bpe; in radeon_get_pitch_align()
115 pitch_align = 64; in radeon_get_pitch_align()
118 return pitch_align; in radeon_get_pitch_align()