From patchwork Wed Aug 30 23:38:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinay Belgaumkar X-Patchwork-Id: 13370830 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F20EC83F01 for ; Wed, 30 Aug 2023 23:41:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C653510E632; Wed, 30 Aug 2023 23:41:26 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1B7BD10E632; Wed, 30 Aug 2023 23:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693438885; x=1724974885; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ESGO9dMKpw4muGH5MUGCn2ZnZG80BeqtfKPE25THKyM=; b=Pp/WZEBykPm/SDptO6UsLg6dVs97/nZtfUFSqL8e1dyV6d3AArobd6KC cwXg3FJFfT801y9FzrcFMTN/zUyx2zO9nbWgoz4DVDu3osC0OhwJvERRq JMWgub8YgyIFAQNZKj+5pQ7wMrOvndvE6k2OrVggUOdMxq+Ggi/Omv7ja IN0BKZDAQqsLGLT0e3Dn6AVBsAA1EOpV2FDZFX776l01rf7vcs580nAyG wGlDM+tpwc94CBarBTZaMP0i731bn1C8eucWboJOXNbWpRvfGn8mAq9qF uQ/X+EWiCjiSYHeaWhbXouI1NbjuA/qbf2R5ECRcVIi97VUndq4pBr3E6 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10818"; a="379523629" X-IronPort-AV: E=Sophos;i="6.02,215,1688454000"; d="scan'208";a="379523629" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2023 16:41:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10818"; a="913003689" X-IronPort-AV: E=Sophos;i="6.02,215,1688454000"; d="scan'208";a="913003689" Received: from vbelgaum-ubuntu.fm.intel.com ([10.1.27.27]) by orsmga005.jf.intel.com with ESMTP; 30 Aug 2023 16:41:00 -0700 From: Vinay Belgaumkar To: intel-gfx@lists.freedesktop.org, igt-dev@lists.freedesktop.org Date: Wed, 30 Aug 2023 16:38:36 -0700 Message-Id: <20230830233836.477940-1-vinay.belgaumkar@intel.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH i-g-t] tests/i915_pm_freq_api: Test s2idle instead of S3 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 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" Test skips whenever S3 is not supported, use s2idle instead, which is widely enabled. Cc: Anshuman Gupta Signed-off-by: Vinay Belgaumkar Reviewed-by: Riana Tauro Reviewed-by: Anshuman Gupta --- tests/i915/i915_pm_freq_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/i915/i915_pm_freq_api.c b/tests/i915/i915_pm_freq_api.c index 2912287c4..03bd0d05b 100644 --- a/tests/i915/i915_pm_freq_api.c +++ b/tests/i915/i915_pm_freq_api.c @@ -125,7 +125,7 @@ static void test_suspend(int i915, int dirfd, int gt) igt_assert_eq(req_freq, rpn); /* Manually trigger a suspend */ - igt_system_suspend_autoresume(SUSPEND_STATE_S3, + igt_system_suspend_autoresume(SUSPEND_STATE_FREEZE, SUSPEND_TEST_NONE); req_freq = get_freq(dirfd, RPS_CUR_FREQ_MHZ);