From patchwork Tue Oct 14 17:05:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 5081101 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4C9169F295 for ; Tue, 14 Oct 2014 17:06:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7288A201CE for ; Tue, 14 Oct 2014 17:06:03 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 6B9E520154 for ; Tue, 14 Oct 2014 17:06:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A99689078; Tue, 14 Oct 2014 10:06:01 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by gabe.freedesktop.org (Postfix) with ESMTP id 7628789078 for ; Tue, 14 Oct 2014 10:05:59 -0700 (PDT) Received: by mail-qc0-f182.google.com with SMTP id i17so7100771qcy.13 for ; Tue, 14 Oct 2014 10:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=8HNCxe0EpCaCpOKY4Q1lzTPpa2TIFyo1tA00+CAV2tk=; b=HpopdRIXnZ/Tx3XvA7Iv4qWgxqL0XQwlzKp1O97BVQPZ/bUPw45N7iOryasmuVqils HpOMlG/9/tHG43iJsyReuIiTTQIFlJxb3Ur8KML/Ir2iF5+30hg6QOE70rlRUq9q+FuR Vf5r/BCb31Hd87Zo9FDUk1lzXdddQQ8OzamHdAbgbmwhOULBC+XQzLuqiliEd9pu0Sk7 9LvqPl7X1KuWVtkSLIWHoETZbJeFNhKb1NHuSI6P5/qk6NSEaNTvUk95qog08endrygK rfcas4nzFnr+rDA/4H3FvtmrVxvZxgOX3toi2u4orQeubWco2aaR1JvIIU3zj/tyfpws BBhA== X-Received: by 10.140.49.107 with SMTP id p98mr10804637qga.20.1413306358721; Tue, 14 Oct 2014 10:05:58 -0700 (PDT) Received: from localhost.localdomain (177.204.135.17.dynamic.adsl.gvt.net.br. [177.204.135.17]) by mx.google.com with ESMTPSA id 88sm15872765qgx.22.2014.10.14.10.05.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Oct 2014 10:05:58 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Tue, 14 Oct 2014 14:05:42 -0300 Message-Id: <1413306342-23660-1-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH] tests/kms_cursor_crc: HSW/BDW only have square cursors X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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: Paulo Zanoni When I look at BSpec, and at cursor_size_ok() (from the Kernel's intel_display.c), I see that only 845g and i865g support non-square displays, so SKIP the tests on HSW/BDW instead of failing them. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84268 Cc: Ville Syrjälä Signed-off-by: Paulo Zanoni --- tests/kms_cursor_crc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c index 92d1ce6..87b4f64 100644 --- a/tests/kms_cursor_crc.c +++ b/tests/kms_cursor_crc.c @@ -371,10 +371,7 @@ static bool has_nonsquare_cursors(uint32_t devid) * Test non-square cursors a bit on the platforms * that support such things. */ - return devid == PCI_CHIP_845_G || - devid == PCI_CHIP_I865_G || - (IS_GEN7(devid) && !IS_VALLEYVIEW(devid)) || - (IS_GEN8(devid) && !IS_CHERRYVIEW(devid)); + return devid == PCI_CHIP_845_G || devid == PCI_CHIP_I865_G; } static void test_cursor_size(data_t *data)