From 5bc05c6f532ffd6d8c66c0f257359b415ce11451 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 17 Jun 2024 13:54:17 -0700 Subject: [PATCH] intel/tools: Advertise I915_PARAM_HAS_EXEC_TIMELINE_FENCES This has been required from the kernel for quite some time, but it wasn't (and technically still isn't) explicitly checked. Commit 7da5b1caef2 changed the code paths such that an assertion is hit when I915_PARAM_HAS_EXEC_TIMELINE_FENCES is not available. Fixes: 7da5b1caef2 ("anv: move trtt submissions over to the anv_async_submit") Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/tools/intel_noop_drm_shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/intel_noop_drm_shim.c b/src/intel/tools/intel_noop_drm_shim.c index c8bd908dfce..c233e4966e7 100644 --- a/src/intel/tools/intel_noop_drm_shim.c +++ b/src/intel/tools/intel_noop_drm_shim.c @@ -262,7 +262,7 @@ i915_ioctl_get_param(int fd, unsigned long request, void *arg) *gp->value = true; return 0; case I915_PARAM_HAS_EXEC_TIMELINE_FENCES: - *gp->value = false; + *gp->value = true; return 0; case I915_PARAM_CMD_PARSER_VERSION: /* Most recent version in drivers/gpu/drm/i915/i915_cmd_parser.c */