intel: Remove INTEL_ENGINE_CLASS_COMPUTE and INTEL_ENGINE_CLASS_COPY parameters

It has been a while that the GuC version with the compute engine fix
was released, same for the KMD uAPI to query the GuC firmware version.
So at this point this parameters do more harm than good.

Also just setting those don't enable the async compute and copy engines
this is not enabled by default on i915.

If user wants to disable or enable usage of those engines a better
approach would be use ANV_QUEUE_OVERRIDE.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30593>
This commit is contained in:
José Roberto de Souza 2024-08-09 07:39:16 -07:00 committed by Marge Bot
parent 61e3a680a4
commit 600d88ab3c

View file

@ -97,14 +97,9 @@ intel_engines_supported_count(int fd, const struct intel_device_info *info,
{
bool supported;
/* check if user set the force enabled engine with run-time parameter */
switch (engine_class) {
case INTEL_ENGINE_CLASS_COMPUTE:
supported = debug_get_bool_option("INTEL_ENGINE_CLASS_COMPUTE", false);
supported |= is_guc_semaphore_functional(fd, info);
break;
case INTEL_ENGINE_CLASS_COPY:
supported = debug_get_bool_option("INTEL_ENGINE_CLASS_COPY", true);
supported = is_guc_semaphore_functional(fd, info);
break;
default:
/* There is no restrictions or parameters for other engines */