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:
parent
2e97d7c835
commit
a4e8ad9b27
|
@ -456,7 +456,7 @@ pan_internal_cbuf_size(struct panfrost_batch *batch, unsigned *tile_size)
|
||||||
total_size = ALIGN_POT(total_size, 1024);
|
total_size = ALIGN_POT(total_size, 1024);
|
||||||
|
|
||||||
/* Minimum tile size is 4x4. */
|
/* Minimum tile size is 4x4. */
|
||||||
assert(*tile_size > 4 * 4);
|
assert(*tile_size >= 4 * 4);
|
||||||
return total_size;
|
return total_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue