From 59ba5cc2d15bb65e9a55d06fe278ae199175c1c3 Mon Sep 17 00:00:00 2001 From: Oskar Rundgren Date: Sun, 7 May 2023 17:00:11 +0100 Subject: [PATCH] pvr: Transfer ignore non zero stride for twiddled surface Twiddled surfaces don't use stride but printing info about ignored stride is not useful on debug driver. Signed-off-by: Oskar Rundgren Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pvr_job_transfer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/imagination/vulkan/pvr_job_transfer.c b/src/imagination/vulkan/pvr_job_transfer.c index 7fd015f..7b60be8 100644 --- a/src/imagination/vulkan/pvr_job_transfer.c +++ b/src/imagination/vulkan/pvr_job_transfer.c @@ -701,9 +701,7 @@ pvr_mem_layout_spec(const struct pvr_transfer_cmd_surface *surface, case PVR_MEMLAYOUT_TWIDDLED: case PVR_MEMLAYOUT_3DTWIDDLED: - if (surface->stride != 0U) - mesa_logi("Ignoring stride value for twiddled/tiled surface!"); - + /* Ignoring stride value for twiddled/tiled surface. */ *stride_out = *width_out; break; -- 2.7.4