[PATCH i-g-t] lib/xe: Boost prefetch size to 4KB
Matthew Auld
matthew.auld at intel.com
Mon Jan 22 15:43:02 UTC 2024
From: Lucas De Marchi <lucas.demarchi at intel.com>
For Xe2, the prefetch for RCS is 4KB, so boost it.
BSpec: 60223
Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Matthew Auld <matthew.auld at intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski 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 39605a019..0979eec6d 100644
--- a/lib/xe/xe_ioctl.c
+++ b/lib/xe/xe_ioctl.c
@@ -48,7 +48,7 @@
uint32_t xe_cs_prefetch_size(int fd)
{
- return 2048;
+ return 4096;
}
uint32_t xe_vm_create(int fd, uint32_t flags, uint64_t ext)
--
2.43.0
More information about the igt-dev
mailing list