[PATCH i-g-t] lib/xe: Boost prefetch size to 4KB

Lucas De Marchi lucas.demarchi at intel.com
Mon Jan 22 16:22:29 UTC 2024


On Mon, Jan 22, 2024 at 03:43:02PM +0000, Matthew Auld wrote:
>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>


humn... looks like I forgot to merge this?

pushed now. Thanks for the reminder.

Lucas De Marchi

>---
> 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