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()140 layout->pitchalign = 0; in fdl6_layout()147 layout->pitchalign = fdl_cpp_shift(layout) - 2; in fdl6_layout()153 layout->pitchalign = fdl_cpp_shift(layout); in fdl6_layout()159 fdl_set_pitchalign(layout, layout->pitchalign + 6); in fdl6_layout()164 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()246 fdl_set_pitchalign(struct fdl_layout *layout, unsigned pitchalign) in fdl_set_pitchalign() argument249 layout->pitchalign = pitchalign; in fdl_set_pitchalign()250 layout->pitch0 = align(nblocksx * layout->cpp, 1 << pitchalign); in fdl_set_pitchalign()
189 so->texconst1 = A3XX_TEX_CONST_1_PITCHALIGN(rsc->layout.pitchalign - 4) | in fd3_sampler_view_create()
1395 rsc->layout.pitchalign = in fd_resource_from_handle()1401 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 6); in fd_resource_from_handle()1403 rsc->layout.pitchalign = MAX2(rsc->layout.pitchalign, 5); in fd_resource_from_handle()
202 so->texconst2 = A4XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 5) | in fd4_sampler_view_create()
199 so->texconst2 = A5XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd5_sampler_view_create()
247 so->texconst2 = A6XX_TEX_CONST_2_PITCHALIGN(rsc->layout.pitchalign - 6) | in fd6_sampler_view_update()
285 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