From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 069796E2BE for ; Tue, 24 Mar 2020 13:17:35 +0000 (UTC) From: Anshuman Gupta Date: Tue, 24 Mar 2020 18:36:28 +0530 Message-Id: <20200324130630.9388-4-anshuman.gupta@intel.com> In-Reply-To: <20200324130630.9388-1-anshuman.gupta@intel.com> References: <20200324130630.9388-1-anshuman.gupta@intel.com> MIME-Version: 1.0 Subject: [igt-dev] [PATCH i-g-t v3 3/5] tests/i915_pm_lpsp: Skip panel-fitter subtest for 1024x768 panels List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org Cc: martin.peres@intel.com List-ID: It makes sense to skip the test if edp-panel native resoultion is limted to 1024x768 rather than failing the test. Acked-by: Martin Peres Signed-off-by: Anshuman Gupta --- tests/i915/i915_pm_lpsp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/i915/i915_pm_lpsp.c b/tests/i915/i915_pm_lpsp.c index 8fcbca8f..b38465d0 100644 --- a/tests/i915/i915_pm_lpsp.c +++ b/tests/i915/i915_pm_lpsp.c @@ -179,10 +179,10 @@ static void edp_subtest(data_t *data, bool use_panel_fitter) * support LPSP are too new for panels with native * 1024x768 resolution, so this should force the panel * fitter. */ - igt_assert(c->count_modes && - c->modes[0].hdisplay > 1024); - igt_assert(c->count_modes && - c->modes[0].vdisplay > 768); + igt_require(c->count_modes && + c->modes[0].hdisplay > 1024); + igt_require(c->count_modes && + c->modes[0].vdisplay > 768); data->mode = &std_1024_mode; igt_output_override_mode(output, data->mode); } else { -- 2.25.2 _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev