From ffcb8d0b89fc8a55e5abb02117ba657ec4365599 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Fri, 3 Oct 2025 14:56:19 -0700 Subject: [PATCH] freedreno/fdl: Set pitch for buffers In the import path, we test pitch. So if we are to be able to import buffers, we should also set the pitch for buffers. Signed-off-by: Rob Clark Part-of: --- src/freedreno/fdl/freedreno_layout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedreno/fdl/freedreno_layout.c b/src/freedreno/fdl/freedreno_layout.c index 6ceec893597..494af1300f3 100644 --- a/src/freedreno/fdl/freedreno_layout.c +++ b/src/freedreno/fdl/freedreno_layout.c @@ -16,6 +16,7 @@ void fdl_layout_buffer(struct fdl_layout *layout, uint32_t size) { layout->width0 = size; + layout->pitch0 = size; layout->height0 = 1; layout->depth0 = 1; layout->cpp = 1;