[Intel-gfx] [igt-dev] [PATH i-g-t v11 2/2] tests: add slice power programming test

Chris Wilson chris at chris-wilson.co.uk
Tue Sep 11 11:45:50 UTC 2018


Quoting Tvrtko Ursulin (2018-09-11 12:34:17)
> +igt_main
> +{
> +       unsigned int max_slices = 3, max_subslices = 3;
> +       unsigned int i;
> +       int fd;
> +
> +       igt_fixture {
> +               fd = drm_open_driver(DRIVER_INTEL);
> +               igt_require_gem(fd);
> +
> +               __intel_devid__ = intel_get_drm_devid(fd);
> +               __intel_gen__ = intel_gen(__intel_devid__);
> +
> +               igt_require(kernel_has_per_context_sseu_support(fd));
> +       }
> +
> +       igt_subtest_group {
> +               igt_fixture {
> +                       igt_require(!platform_has_per_context_sseu_support());

Why does the kernel say that the platform has context sseu support?
-Chris


More information about the Intel-gfx mailing list