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

Anshuman Gupta
2019-05-06T11:29:52Z

Skip edp-panel-fitter test for Gen9 onwards platform.

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);