Searched refs:pitchalign (Results 1 – 9 of 9) sorted by relevance
72 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_tile_alignment()76 layout->pitchalign = 1; in fdl6_tile_alignment()79 layout->pitchalign = 2; in fdl6_tile_alignment()141 layout->pitchalign = 0; in fdl6_layout()148 layout->pitchalign = fdl_cpp_shift(layout) - 2; in fdl6_layout()154 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_layout()160 fdl_set_pitchalign(layout, layout->pitchalign + 6); in fdl6_layout()165 if (align(layout->pitch0, 1 << layout->pitchalign) != layout->pitch0) in fdl6_layout()
132 uint8_t pitchalign; /* log2(pitchalign) */ member145 return align(u_minify(layout->pitch0, level), 1 << layout->pitchalign); in fdl_pitch()247 fdl_set_pitchalign(struct fdl_layout *layout, unsigned pitchalign) in fdl_set_pitchalign() argument250 layout->pitchalign = pitchalign; in fdl_set_pitchalign()251 layout->pitch0 = align(nblocksx * layout->cpp, 1 << pitchalign); in fdl_set_pitchalign()
1123 rsc->layout.pitchalign = in fd_resource_from_handle()1128 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 6); in fd_resource_from_handle()1130 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 5); in fd_resource_from_handle()
260 A3XX_TEX_CONST_1_PITCHALIGN(rsc->layout.pitchalign - 4) | in fd3_sampler_view_create()
274 A5XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd5_sampler_view_create()
276 A4XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 5) | in fd4_sampler_view_create()
268 A6XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd6_sampler_view_create()
277 A6XX_TEX_CONST_2_PITCHALIGN(layout->pitchalign - 6) | in tu_image_view_init()
2820 - freedreno: fix layout pitchalign field not being set for imported buffers