From: Daniel Vetter Subject: [PATCH 1/2] tests/kms_pipe_crc_basic: Add suspend tests Date: Thu, 22 May 2014 17:39:57 +0200 Message-ID: <1400773198-18683-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by gabe.freedesktop.org (Postfix) with ESMTP id 755E189C9C for ; Thu, 22 May 2014 08:40:11 -0700 (PDT) Received: by mail-ee0-f53.google.com with SMTP id c13so2733008eek.26 for ; Thu, 22 May 2014 08:40:10 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org Currently broken ... Signed-off-by: Daniel Vetter --- tests/kms_pipe_crc_basic.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index 282c7f68150a..eedb3f399e45 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -30,6 +30,7 @@ #include "drmtest.h" #include "igt_debugfs.h" #include "igt_kms.h" +#include "igt_aux.h" typedef struct { int drm_fd; @@ -160,6 +161,12 @@ igt_main igt_subtest_f("read-crc-pipe-%c-frame-sequence", 'A'+i) test_read_crc(&data, i, TEST_SEQUENCE); + + igt_subtest_f("suspend-read-crc-pipe-%c", 'A'+i) { + igt_system_suspend_autoresume(); + + test_read_crc(&data, i, 0); + } } igt_fixture { -- 1.8.4.rc3