From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1F56388FAE for ; Thu, 23 Feb 2023 15:16:23 +0000 (UTC) From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Date: Thu, 23 Feb 2023 20:40:11 +0530 Message-Id: <20230223151018.2565040-45-bhanuprakash.modem@intel.com> In-Reply-To: <20230223151018.2565040-1-bhanuprakash.modem@intel.com> References: <20230223151018.2565040-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [i-g-t v8 44/51] tests/i915/kms_flip_tiling: Add support for Bigjoiner List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: This patch will add a check to Skip the subtest if a selected pipe/output combo won't support Bigjoiner or 8K mode. Example: * Pipe-D wont support a mode > 5K * To use 8K mode on a pipe then consecutive pipe must be available & free. V2: - Use updated helper name V3: - Remove unwanted prints Signed-off-by: Bhanuprakash Modem Reviewed-by: Jeevan B --- tests/i915/kms_flip_tiling.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/i915/kms_flip_tiling.c b/tests/i915/kms_flip_tiling.c index 1183feb63..4cc063f63 100644 --- a/tests/i915/kms_flip_tiling.c +++ b/tests/i915/kms_flip_tiling.c @@ -195,8 +195,12 @@ igt_main for_each_pipe_with_valid_output(&data.display, pipe, output) { igt_plane_t *plane; + igt_display_reset(&data.display); pipe_crc_free(&data); + igt_output_set_pipe(output, pipe); + if (!i915_pipe_output_combo_valid(&data.display)) + continue; plane = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); -- 2.39.1