mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 08:00:12 +01:00
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:
parent
61e3a680a4
commit
600d88ab3c
1 changed files with 1 additions and 6 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue