Lines Matching refs:format_info
814 const struct drm_format_info *format_info; in convert_tiling_flags_to_modifier() local
873 format_info = amdgpu_lookup_format_info(afb->base.format->format, in convert_tiling_flags_to_modifier()
875 if (!format_info) in convert_tiling_flags_to_modifier()
878 afb->base.format = format_info; in convert_tiling_flags_to_modifier()
1004 const struct drm_format_info *format_info = drm_format_info(rfb->base.format->format); in amdgpu_display_verify_sizes() local
1012 for (i = 0; i < format_info->num_planes; ++i) { in amdgpu_display_verify_sizes()
1014 block_width = 256 / format_info->cpp[i]; in amdgpu_display_verify_sizes()
1042 get_block_dimensions(block_size_log2, format_info->cpp[i], in amdgpu_display_verify_sizes()
1046 ret = amdgpu_display_verify_plane(rfb, i, format_info, in amdgpu_display_verify_sizes()
1055 get_block_dimensions(block_size_log2 + 8, format_info->cpp[0], in amdgpu_display_verify_sizes()
1057 ret = amdgpu_display_verify_plane(rfb, i, format_info, in amdgpu_display_verify_sizes()
1070 get_block_dimensions(block_size_log2 + 8, format_info->cpp[0], in amdgpu_display_verify_sizes()
1072 ret = amdgpu_display_verify_plane(rfb, i, format_info, in amdgpu_display_verify_sizes()