From: Rodrigo Vivi Subject: [PATCH 8-3/12] igt/kms_psr_sink_crc: Add debug for CRC Date: Thu, 4 Sep 2014 18:35:47 -0400 Message-ID: <1409870149-8030-3-git-send-email-rodrigo.vivi@intel.com> References: <1409870149-8030-1-git-send-email-rodrigo.vivi@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 2B5BC89FF7 for ; Thu, 4 Sep 2014 15:47:00 -0700 (PDT) In-Reply-To: <1409870149-8030-1-git-send-email-rodrigo.vivi@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 Cc: Rodrigo Vivi List-Id: intel-gfx@lists.freedesktop.org This helps to debug and check if the CRC you are reading correspond what you are seeing on the screen Signed-off-by: Rodrigo Vivi --- tests/kms_psr_sink_crc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c index bbe18f0..51e54a7 100644 --- a/tests/kms_psr_sink_crc.c +++ b/tests/kms_psr_sink_crc.c @@ -328,6 +328,8 @@ static void get_sink_crc(data_t *data, char *crc) { fclose(file); + igt_debug_wait(1, "%s\n", crc); + /* The important value was already taken. * Now give a time for human eyes */ -- 1.9.3