Re: [igt-dev] [PATCH i-g-t v4 3/4] igt/i915/i915_pm_lpsp skip edp-panel-fitter test.

Jani Nikula
2019-05-06T13:06:37Z

On Mon, 06 May 2019, Anshuman Gupta <anshuman.gupta@intel.com> wrote:
> Skip edp-panel-fitter test for Gen9 onwards platform.

We can see that. The commit message should tell us *why*.

BR,
Jani.

>
> Cc: imre.deak@intel.com
> Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
> ---
> tests/i915/i915_pm_lpsp.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tests/i915/i915_pm_lpsp.c b/tests/i915/i915_pm_lpsp.c
> index baf03b2..829aff5 100644
> --- a/tests/i915/i915_pm_lpsp.c
> +++ b/tests/i915/i915_pm_lpsp.c
> @@ -321,9 +321,12 @@ igt_main
> igt_subtest("edp-native")
> edp_subtest(drm_fd, drm_res, drm_connectors, devid, false,
> debugfs);
> - igt_subtest("edp-panel-fitter")
> + igt_subtest("edp-panel-fitter") {
> + igt_skip_on(AT_LEAST_GEN(devid, 9));
> edp_subtest(drm_fd, drm_res, drm_connectors, devid, true,
> debugfs);
> + }
> +
> igt_subtest("non-edp")
> non_edp_subtest(drm_fd, drm_res, devid, drm_connectors,
> debugfs);

--
Jani Nikula, Intel Open Source Graphics Center