Lines Matching refs:cpp
57 utile_width(int cpp) in utile_width() argument
59 switch (cpp) { in utile_width()
68 DRM_ERROR("unknown cpp: %d\n", cpp); in utile_width()
75 utile_height(int cpp) in utile_height() argument
77 switch (cpp) { in utile_height()
85 DRM_ERROR("unknown cpp: %d\n", cpp); in utile_height()
99 size_is_lt(uint32_t width, uint32_t height, int cpp) in size_is_lt() argument
101 return (width <= 4 * utile_width(cpp) || in size_is_lt()
102 height <= 4 * utile_height(cpp)); in size_is_lt()
165 uint32_t width, uint32_t height, uint8_t cpp) in vc4_check_tex_size() argument
169 uint32_t utile_w = utile_width(cpp); in vc4_check_tex_size()
170 uint32_t utile_h = utile_height(cpp); in vc4_check_tex_size()
206 stride = aligned_width * cpp; in vc4_check_tex_size()
590 uint32_t cpp, tiling_format, utile_w, utile_h; in reloc_tex() local
646 cpp = 4; in reloc_tex()
654 cpp = 2; in reloc_tex()
659 cpp = 1; in reloc_tex()
665 cpp = 8; in reloc_tex()
678 utile_w = utile_width(cpp); in reloc_tex()
679 utile_h = utile_height(cpp); in reloc_tex()
684 if (size_is_lt(width, height, cpp)) in reloc_tex()
691 tiling_format, width, height, cpp)) { in reloc_tex()
706 size_is_lt(level_width, level_height, cpp)) { in reloc_tex()
725 level_size = aligned_width * cpp * aligned_height; in reloc_tex()