panfrost: Fix the tile size assertion

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7086>
This commit is contained in:
Icecream95 2020-12-18 00:27:14 +13:00 committed by Marge Bot
parent 2e97d7c835
commit a4e8ad9b27
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ pan_internal_cbuf_size(struct panfrost_batch *batch, unsigned *tile_size)
total_size = ALIGN_POT(total_size, 1024);
/* Minimum tile size is 4x4. */
assert(*tile_size > 4 * 4);
assert(*tile_size >= 4 * 4);
return total_size;
}