From: Damien Lespiau Subject: [PATCH i-g-t 13/43] kms_rotation_crc: Require universal planes for the testing primary rotation Date: Thu, 10 Jul 2014 19:00:14 +0100 Message-ID: <1405015244-11370-14-git-send-email-damien.lespiau@intel.com> References: <1405015244-11370-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A7846E3BD for ; Thu, 10 Jul 2014 11:01:24 -0700 (PDT) In-Reply-To: <1405015244-11370-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Otherwise the test will fail instead of just skipping. Signed-off-by: Damien Lespiau --- tests/kms_rotation_crc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index 1f2953d..db1ad57 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -355,6 +355,8 @@ static void test_primary_rotation(data_t *data) int valid_tests = 0; igt_crc_t crc_output; + igt_require(data->display.has_universal_planes); + for_each_connected_output(display, output) { data->output = output; for (p = 0; p < igt_display_get_n_pipes(display); p++) { -- 1.8.3.1