Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Dmsm_media_info.h4 #ifndef MSM_MEDIA_ALIGN
5 #define MSM_MEDIA_ALIGN(__sz, __align) (((__align) & ((__align) - 1)) ?\ macro
848 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
852 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
853 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE()
857 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
861 stride = MSM_MEDIA_ALIGN(width*2, alignment); in VENUS_Y_STRIDE()
890 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
894 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
895 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
Ddpu_formats.c729 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc()
734 layout->plane_size[1] = MSM_MEDIA_ALIGN(layout->plane_pitch[1] * in _dpu_format_get_plane_sizes_ubwc()
743 layout->plane_size[2] = MSM_MEDIA_ALIGN(layout->plane_pitch[2] * in _dpu_format_get_plane_sizes_ubwc()
748 layout->plane_size[3] = MSM_MEDIA_ALIGN(layout->plane_pitch[3] * in _dpu_format_get_plane_sizes_ubwc()
758 layout->plane_size[0] = MSM_MEDIA_ALIGN(layout->plane_pitch[0] * in _dpu_format_get_plane_sizes_ubwc()
766 layout->plane_size[2] = MSM_MEDIA_ALIGN(layout->plane_pitch[2] * in _dpu_format_get_plane_sizes_ubwc()