From patchwork Mon May 11 18:51:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chandra Konduru X-Patchwork-Id: 6382921 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0AE3E9F32E for ; Mon, 11 May 2015 18:52:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 31EFF20B1C for ; Mon, 11 May 2015 18:52:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 63BEA20636 for ; Mon, 11 May 2015 18:52:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2FB4A6E4C5; Mon, 11 May 2015 11:52:47 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 3611D6E4C5 for ; Mon, 11 May 2015 11:52:45 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 11 May 2015 11:52:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,409,1427785200"; d="scan'208";a="492208792" Received: from cmkondur-desk2.fm.intel.com ([10.19.123.59]) by FMSMGA003.fm.intel.com with ESMTP; 11 May 2015 11:52:44 -0700 From: Chandra Konduru To: intel-gfx@lists.freedesktop.org Date: Mon, 11 May 2015 11:51:56 -0700 Message-Id: <1431370316-11828-1-git-send-email-chandra.konduru@intel.com> X-Mailer: git-send-email 1.7.9.5 Cc: thomas.wood@intel.com Subject: [Intel-gfx] [PATCH] i-g-t: Update kms_panel_fitting to work on other platforms X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: chandra konduru kms_panel_fitting currently enabled for SKL only, but as panel_fitters are available on prior platforms, enable this kms test for them too. Signed-off-by: chandra konduru --- tests/kms_panel_fitting.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/kms_panel_fitting.c b/tests/kms_panel_fitting.c index 4dc3bff..2d079b4 100644 --- a/tests/kms_panel_fitting.c +++ b/tests/kms_panel_fitting.c @@ -43,8 +43,6 @@ typedef struct { int image_w; int image_h; - int num_scalers; - struct igt_fb fb1; struct igt_fb fb2; struct igt_fb fb3; @@ -176,10 +174,6 @@ static void test_panel_fitting(data_t *d) enum pipe pipe; int valid_tests = 0; - igt_require(d->display.has_universal_planes); - igt_require(d->num_scalers); - igt_require(d->num_scalers); - for_each_connected_output(display, output) { drmModeModeInfo *mode, native_mode; @@ -261,8 +255,6 @@ igt_simple_main igt_display_init(&data.display, data.drm_fd); data.devid = intel_get_drm_devid(data.drm_fd); - data.num_scalers = intel_gen(data.devid) >= 9 ? 2 : 0; - test_panel_fitting(&data); igt_display_fini(&data.display);