Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A Dr600_cs.c250 u32 *height_align, in r600_get_array_mode_alignment() argument
265 *height_align = 1; /* tile_height */ in r600_get_array_mode_alignment()
271 *height_align = 1; in r600_get_array_mode_alignment()
279 *height_align = tile_height; in r600_get_array_mode_alignment()
287 *height_align = macro_tile_height * tile_height; in r600_get_array_mode_alignment()
290 (*pitch_align) * values->blocksize * (*height_align) * values->nsamples); in r600_get_array_mode_alignment()
353 u32 height, height_align, pitch, pitch_align, depth_align; in r600_cs_track_validate_cb() local
386 &pitch_align, &height_align, &depth_align, &base_align)) { in r600_cs_track_validate_cb()
416 if (!IS_ALIGNED(height, height_align)) { in r600_cs_track_validate_cb()
418 __func__, __LINE__, height, height_align, array_mode); in r600_cs_track_validate_cb()
[all …]
/linux/drivers/media/platform/chips-media/coda/
H A Dcoda-jpeg.c171 static const unsigned char height_align[] = { variable
1110 height_align[chroma_format]); in coda9_jpeg_prepare_encode()
1368 aligned_height = round_up(q_data_src->height, height_align[chroma_format]); in coda9_jpeg_prepare_decode()