From 050a37c92369bb21f62ec335f5b3ebe052c37f62 Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Sat, 23 Aug 2025 16:21:57 -0700 Subject: [PATCH] panvk: drop an obsolete assert of explicit mod plane count It has become obsolete since the proper support of the external multi-planar images: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35299 Test; - no abort in camera and video use with debug build panvk Reviewed-by: Christoph Pillmayer Reviewed-by: Boris Brezillon Part-of: --- src/panfrost/vulkan/panvk_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/panfrost/vulkan/panvk_image.c b/src/panfrost/vulkan/panvk_image.c index 00d88cad3f4..0f7a72cc8a9 100644 --- a/src/panfrost/vulkan/panvk_image.c +++ b/src/panfrost/vulkan/panvk_image.c @@ -179,7 +179,6 @@ panvk_image_get_explicit_mod( assert(image->vk.samples == 1); assert(image->vk.array_layers == 1); assert(image->vk.image_type != VK_IMAGE_TYPE_3D); - assert(explicit->drmFormatModifierPlaneCount == 1); assert(panvk_image_can_use_mod(image, mod)); return mod;