From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH v3 1/2] tests/intel/kms_pm_dc: Add DC5 DPMS suspend/resume validation test
Date: Fri, 5 Jun 2026 12:32:33 +0530 [thread overview]
Message-ID: <20260605070235.42439-2-mohammed.thasleem@intel.com> (raw)
In-Reply-To: <20260605070235.42439-1-mohammed.thasleem@intel.com>
Validate DC5 state entry before and after suspend/resume cycle using DPMS.
Ensures DC5 functionality is preserved across system suspend/resume
operations.
v2: Remove repeated word. (Pranay)
Remove extra line.
v3: Update test description. (Jeevan)
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
tests/intel/kms_pm_dc.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/tests/intel/kms_pm_dc.c b/tests/intel/kms_pm_dc.c
index 423a5c4a4..249d9e11a 100644
--- a/tests/intel/kms_pm_dc.c
+++ b/tests/intel/kms_pm_dc.c
@@ -77,6 +77,9 @@
*
* SUBTEST: dc5-retention-flops
* Description: This test validates display engine entry to DC5 state while PSR is active on Pipe B
+ *
+ * SUBTEST: dc5-dpms-suspend-resume
+ * Description: This test validates DC5 state entry before and after a suspend/resume cycle using DPMS
*/
#define PWR_DOMAIN_INFO "i915_power_domain_info"
@@ -622,6 +625,13 @@ static void test_deep_pkgc_state(data_t *data)
igt_assert_f(pkgc_flag, "PKGC10 is not achieved.\n");
}
+static void test_dc5_dpms_suspend_resume(data_t *data, int dc_flag)
+{
+ test_dc_state_dpms(data, dc_flag);
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
+ test_dc_state_dpms(data, dc_flag);
+}
+
static void kms_poll_state_restore(int sig)
{
int sysfs_fd;
@@ -743,6 +753,11 @@ int igt_main()
test_dc9_dpms(&data);
}
+ igt_describe("This test validates DC5 state entry before and after a "
+ "suspend/resume cycle using DPMS");
+ igt_subtest("dc5-dpms-suspend-resume")
+ test_dc5_dpms_suspend_resume(&data, IGT_INTEL_CHECK_DC5);
+
igt_fixture() {
free(data.debugfs_dump);
close(data.debugfs_fd);
--
2.43.0
next prev parent reply other threads:[~2026-06-05 7:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 7:02 [PATCH v3 0/2] DC5 DPMS/PSR suspend/resume validation test Mohammed Thasleem
2026-06-05 7:02 ` Mohammed Thasleem [this message]
2026-06-09 7:47 ` [PATCH v3 1/2] tests/intel/kms_pm_dc: Add DC5 DPMS " B, Jeevan
2026-06-05 7:02 ` [PATCH v3 2/2] tests/intel/kms_pm_dc: Add DC5 PSR " Mohammed Thasleem
2026-06-10 4:55 ` B, Jeevan
2026-06-05 8:02 ` ✓ Xe.CI.BAT: success for DC5 DPMS/PSR suspend/resume validation test (rev4) Patchwork
2026-06-05 8:39 ` ✗ i915.CI.BAT: failure " Patchwork
2026-06-05 18:28 ` ✗ Xe.CI.FULL: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260605070235.42439-2-mohammed.thasleem@intel.com \
--to=mohammed.thasleem@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox