panfrost: Fix format_minimum_alignment() for v6-

Alignment should be power of two, so I suspect we meant 64 not 63.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26221>
This commit is contained in:
Boris Brezillon 2023-10-31 19:37:17 +01:00 committed by Marge Bot
parent 6e166af59e
commit 46d2748a93

View file

@ -212,7 +212,7 @@ format_minimum_alignment(const struct panfrost_device *dev,
return 16;
if (dev->arch < 7)
return 63;
return 64;
switch (format) {
/* For v7+, NV12/NV21/I420 have a looser alignment requirement of 16 bytes */