From 83c76cceafb4d375cc9cc2cf043bc32e5577f244 Mon Sep 17 00:00:00 2001 From: Italo Nicola Date: Tue, 26 Sep 2023 13:44:33 +0000 Subject: [PATCH] panfrost: advertise YUV formats for valhall Signed-off-by: Italo Nicola Part-of: --- src/panfrost/lib/pan_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/lib/pan_format.c b/src/panfrost/lib/pan_format.c index f3bab8a..37f808b 100644 --- a/src/panfrost/lib/pan_format.c +++ b/src/panfrost/lib/pan_format.c @@ -186,7 +186,7 @@ const struct pan_blendable_format const struct panfrost_format GENX(panfrost_pipe_format)[PIPE_FORMAT_COUNT] = { FMT(NONE, CONSTANT, 0000, L, VTR_), -#if PAN_ARCH == 7 +#if PAN_ARCH >= 7 /* Multiplane formats */ FMT_YUV(R8G8_R8B8_UNORM, YUYV8, UVYA, NO_SWAP, CENTER_Y, _T__), FMT_YUV(G8R8_B8R8_UNORM, VYUY8, UYVA, SWAP, CENTER_Y, _T__), -- 2.7.4