Re: [igt-dev] [PATCH i-g-t v2 2/2] tests/i915_pm_rpm: use device coherent mapping instead of mmap_gtt

Chris Wilson
2020-02-07T14:44:41Z

Quoting Ramalingam C (2020-02-07 13:45:27)
> @@ -2016,16 +2016,20 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
> /* GEM */
> igt_subtest("gem-mmap-cpu")
> gem_mmap_subtest(false);
> - igt_subtest("gem-mmap-gtt")
> + igt_subtest("gem-mmap-gtt") {
> + gem_require_mappable_ggtt(drm_fd);
> gem_mmap_subtest(true);

Would not the lmem bar also be susceptible to power management
artefacts?
-Chris