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
7da5b1caef changed the code paths such that an assertion is hit when
I915_PARAM_HAS_EXEC_TIMELINE_FENCES is not available.

Fixes: 7da5b1caef ("anv: move trtt submissions over to the anv_async_submit")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29920>
This commit is contained in:
Ian Romanick
2024-06-17 13:54:17 -07:00
committed by Marge Bot
parent dd85b50d18
commit 5bc05c6f53

View File

@@ -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 */