Re: [igt-dev] [PATCH i-g-t v4] tests/i915/gem_huc_copy: Enable a HuC copy test

Chris Wilson
2020-01-10T18:28:26Z

Quoting Robert M. Fosha (2020-01-10 17:41:46)
> +static bool
> +check_huc_enabled(int fd)
> +{
> + int dir;
> + dir = igt_sysfs_open_parameters(fd);
> +
> + if (dir < 0)
> + return 0;
> +
> + if (igt_sysfs_get_u32(dir, "enable_guc") & 2)
> + return 1;
> + else
> + return 0;

No. If you have this in your userspace, please immediately remove it,
and backport that to any and all stable branches and releases.
-Chris