[igt-dev] [PATCH i-g-t] tests/xe: Boost command streamer prefetch size

Matt Roper matthew.d.roper at intel.com
Fri Jul 21 18:10:53 UTC 2023


The actual prefetch size variest by platform and by engine.  MTL's RCS
engine currently has the highest prefetch size of 2KB.

Bspec: 45718
Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
---
 lib/xe/xe_ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/xe/xe_ioctl.c b/lib/xe/xe_ioctl.c
index 0b5c7a4fc..1f9240cd9 100644
--- a/lib/xe/xe_ioctl.c
+++ b/lib/xe/xe_ioctl.c
@@ -47,7 +47,7 @@
 
 uint32_t xe_cs_prefetch_size(int fd)
 {
-	return 512;
+	return 2048;
 }
 
 uint32_t xe_vm_create(int fd, uint32_t flags, uint64_t ext)
-- 
2.41.0



More information about the igt-dev mailing list