From patchwork Wed Dec 20 04:58:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhinakaran Pandiyan X-Patchwork-Id: 10125001 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 064CD60390 for ; Wed, 20 Dec 2017 04:59:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED20D28A8F for ; Wed, 20 Dec 2017 04:59:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E19A128E44; Wed, 20 Dec 2017 04:59:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7470C28A8F for ; Wed, 20 Dec 2017 04:59:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DE0356E373; Wed, 20 Dec 2017 04:59:12 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-it0-x242.google.com (mail-it0-x242.google.com [IPv6:2607:f8b0:4001:c0b::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9779D6E36F for ; Wed, 20 Dec 2017 04:59:11 +0000 (UTC) Received: by mail-it0-x242.google.com with SMTP id o130so10325375itg.0 for ; Tue, 19 Dec 2017 20:59:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Sm2aQZz+gsvT1JYhGiiU/MnFDCJYBI1PBXvmegFDKL4=; b=Ne1agHuzkvyOq67kuHe4qQeW5aNYTRCI82sFxAUso3ll4vu+sq1gAXrAvULOQ2YlVW NFK9KUMtJvutCxk6j204hCAWB6FeNGpHpBvKFZJK4EZZkn+P5PllbLqAGEXcad64QCBM Vm2v6VbIS5yWzbQjPhZmdpbkzi/5O69xwkaw0luDaf1l91HWFcH1uOTh7TQ2p1fL6pSP Q/dmCiCQrGIN4pwR2aMkBCmzw5bHXn1Bx4f47rR6+xS7T8XnsH9zCc5CzA6L3e29s/SS G5wvbbah79jB1i6QOksOaFHA8dbQ7FOVizxca+o8wcv2LWvv2anwDY/GGE77MNrM9VrF uoaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Sm2aQZz+gsvT1JYhGiiU/MnFDCJYBI1PBXvmegFDKL4=; b=QoPwBTFkZUcncpZ/ek3mOFJyayHmHii1g21VbNB10fki16h4/K9XOakM9nwVAeoMZL g07Q7v3mbGfLri4Ps9NRkY6tCur/NpJ/GW8gWdjh864L5vAIHYwyZ7vHmW5FcB9qAEnv Ssu3MzchKLTBe9tUS89m6/cmoTLdcb9cbVlHOLgyGQhpokbMOapYQNPWiBm21/0KyCbR yVFEknVoAAeLqlwzDZwhbz2x1D7kK3dHrpqJBgR+aFmkWzl7GOtZRVe3W+jC4fDMAxwM o24LxLHuTZuJ6pHkkP/jE2GSabdmtw/ZBEWRXBCncZGxGs2RyTznY0eYWzX6hkT++knV w6tA== X-Gm-Message-State: AKGB3mLq385oN4tsSOLeAgaoyHCmVzsveZrRbAPManpk+zR435zMW7N7 ucR2n96rcBpLvu/gi0Bk4btngg== X-Google-Smtp-Source: ACJfBovUG9X+udNx05t3y2ZgBivkHrZX8hbY0fwBVvzKF+xHtRObJA41ztdonPc6NJoCSt8Wo+o0jA== X-Received: by 10.36.58.12 with SMTP id m12mr5985130itm.17.1513745950653; Tue, 19 Dec 2017 20:59:10 -0800 (PST) Received: from localhost.localdomain ([2601:1c0:5402:5a00:f4fb:d44c:cd77:2f79]) by smtp.gmail.com with ESMTPSA id g1sm2003021itg.10.2017.12.19.20.59.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Dec 2017 20:59:09 -0800 (PST) From: Dhinakaran Pandiyan X-Google-Original-From: Dhinakaran Pandiyan To: intel-gfx@lists.freedesktop.org Date: Tue, 19 Dec 2017 20:58:52 -0800 Message-Id: <20171220045852.4001-1-dhinakaran.pandiyan@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171212222835.5575-1-dhinakaran.pandiyan@intel.com> References: <20171212222835.5575-1-dhinakaran.pandiyan@intel.com> Cc: Dhinakaran Pandiyan , Rodrigo Vivi Subject: [Intel-gfx] [PATCH i-g-t v2] tests/psr: Dump PSR debugfs contents if PSR entry times out. 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-Virus-Scanned: ClamAV using ClamSMTP (kms_psr_sink_crc:1717) CRITICAL: Failed assertion: wait_psr_entry(&data) (kms_psr_sink_crc:1717) CRITICAL: Last errno: 25, Inappropriate ioctl for device isn't very useful, the "Enabled" field would have indicated that the requirements to enable PSR weren't met in this case. v2: s/Source_OK/Enabled in commit message.(Rodrigo) Cc: Rodrigo Vivi Acked-by: Rodrigo Vivi Signed-off-by: Dhinakaran Pandiyan --- tests/kms_psr_sink_crc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c index 831368b2..c586d6e1 100644 --- a/tests/kms_psr_sink_crc.c +++ b/tests/kms_psr_sink_crc.c @@ -223,6 +223,7 @@ static bool wait_psr_entry(data_t *data) return true; sleep(1); } + igt_debugfs_dump(data->drm_fd, "i915_edp_psr_status"); return false; }