diff options
author | Anshuman Gupta <anshuman.gupta@intel.com> | 2020-05-20 12:05:41 +0530 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2020-05-21 13:52:24 +0300 |
commit | 0c67600fde34a977ef6944c9fc59258775cac5f5 (patch) | |
tree | 79edecb1bbe21f0ac8632b4fa03492d201298714 /tests/i915/i915_pm_rpm.c | |
parent | dfa3b1fdc9813a48314a43faaacb7dacc06112d6 (diff) |
tests/i915_pm_rpm: Fix plane_subtest assertion
I have added igt_assert_lte() assertion on planes_tested
unintentionally by mistake, while applying the patch and fixing
the conflicts.
Fixes: 32498f12ab04 ("tests/i915_pm_rpm: Fix the universal-plane cap setting in plane tests")
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'tests/i915/i915_pm_rpm.c')
-rw-r--r-- | tests/i915/i915_pm_rpm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c index 0a641640..6d46c320 100644 --- a/tests/i915/i915_pm_rpm.c +++ b/tests/i915/i915_pm_rpm.c @@ -1786,7 +1786,7 @@ static void test_one_plane(bool dpms, uint32_t plane_id, /* This one also triggered WARNs on our driver at some point in time. */ static void planes_subtest(bool universal, bool dpms) { - int i, planes_tested = 0, crtc_idx; + int i, crtc_idx; drmModePlaneResPtr planes; igt_require(default_mode_params); @@ -1817,7 +1817,6 @@ static void planes_subtest(bool universal, bool dpms) igt_assert_eq(drmSetClientCap(drm_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1), 0); - igt_assert_lte(universal ? 3 : 1, planes_tested); } static void pm_test_tiling(void) |