panfrost: fix libpan_v4 header include

In addition to including the wrong version potentially causing runtime
issues, it can cause intermittent build failures because v4 libpanfrost
does not have a dependency on the libpan_v5.h in meson.

Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com>
Fixes: 20970bcd96 ("panfrost: Add base of OpenCL C infrastructure")
Reviewed-by: Mary Guillemard <mary@mary.zone>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34391>
This commit is contained in:
Benjamin Lee 2025-04-05 00:28:55 -07:00 committed by Marge Bot
parent 3b66e4a438
commit 2a7c38b48e

View file

@ -13,7 +13,7 @@
/* We now include binding definition */
#if (PAN_ARCH == 4)
#include "libpan_v5.h"
#include "libpan_v4.h"
#elif (PAN_ARCH == 5)
#include "libpan_v5.h"
#elif (PAN_ARCH == 6)