mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
freedreno/fdl: Make tiled r8g8 images have 4k alignment
This fixes an unrecoverable hang in the trace from #5926 without having to disable tiling. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32619>
This commit is contained in:
parent
6615cbfeaf
commit
c0404da1e5
1 changed files with 2 additions and 1 deletions
|
|
@ -98,7 +98,8 @@ fdl6_tile_alignment(struct fdl_layout *layout, uint32_t *heightalign)
|
|||
* looser alignment requirements, however the validity of alignment is
|
||||
* heavily undertested and the "officially" supported alignment is 4096b.
|
||||
*/
|
||||
if (layout->ubwc || util_format_is_depth_or_stencil(layout->format))
|
||||
if (layout->ubwc || util_format_is_depth_or_stencil(layout->format) ||
|
||||
is_r8g8(layout))
|
||||
layout->base_align = 4096;
|
||||
else if (layout->cpp == 1)
|
||||
layout->base_align = 64;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue