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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/09/2018 12:45, Chris Wilson wrote:
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?

Note sure what are you aiming at. Here I have a subgroup of tests (well one) which test that the kernel and IGT expectation of which platforms should support the feature match.

Regards,

Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux