anv: remove misleading comment about batch_len

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 <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24681>
This commit is contained in:
Paulo Zanoni
2023-01-20 11:42:45 -08:00
committed by Marge Bot
parent 9a7c6ae32c
commit 0c29b7aeaf
-1
View File
@@ -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,