From 0c29b7aeaf27cddc45243ada37a5f900236bc148 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Fri, 20 Jan 2023 11:42:45 -0800 Subject: [PATCH] anv: remove misleading comment about batch_len MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't fill batch_len later when chaining batches. But that doesn't seem to be a problem, I checked i915.ko and nothing Gen8+ seems to use batch_len. The new xe.ko exec ioctl doesn't even ask for batch_len. Reviewed-by: José Roberto de Souza Reviewed-by: Lionel Landwerlin Signed-off-by: Paulo Zanoni Part-of: --- src/intel/vulkan/i915/anv_batch_chain.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/intel/vulkan/i915/anv_batch_chain.c b/src/intel/vulkan/i915/anv_batch_chain.c index c95efb2d173..ed132d4b5ad 100644 --- a/src/intel/vulkan/i915/anv_batch_chain.c +++ b/src/intel/vulkan/i915/anv_batch_chain.c @@ -465,7 +465,6 @@ setup_execbuf_for_cmd_buffers(struct anv_execbuf *execbuf, .buffers_ptr = (uintptr_t) execbuf->objects, .buffer_count = execbuf->bo_count, .batch_start_offset = 0, - /* We'll fill in batch length later when chaining batches. */ .batch_len = 0, .cliprects_ptr = 0, .num_cliprects = 0,