Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/xe_pm: Disable display for mocs-rpm test
@ 2024-05-16 10:45 janga.rahul.kumar
  2024-05-16 11:29 ` ✓ CI.xeBAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: janga.rahul.kumar @ 2024-05-16 10:45 UTC (permalink / raw)
  To: igt-dev, ramadevi.gandi, janga.rahul.kumar; +Cc: lucas.demarchi, badal.nilawar

From: Janga Rahul Kumar <janga.rahul.kumar@intel.com>

If display is enabled, the always-on components will always keeps
runtime pm references, unless you put DPMS_OFF.

Cc: Badal Nilawar <badal.nilawar@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
---
 tests/intel/xe_pm.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 9cb00c7f1..b4a8c4d15 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -835,8 +835,11 @@ igt_main
 			igt_pm_set_autosuspend_delay(device.pci_xe, delay_ms);
 		}
 
-		igt_subtest("mocs-rpm")
+		igt_subtest("mocs-rpm") {
+			dpms_on_off(device, DRM_MODE_DPMS_OFF);
 			test_mocs_suspend_resume(device, NO_SUSPEND);
+			dpms_on_off(device, DRM_MODE_DPMS_ON);
+		}
 	}
 
 	igt_fixture {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-05-17 15:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 10:45 [PATCH i-g-t] tests/intel/xe_pm: Disable display for mocs-rpm test janga.rahul.kumar
2024-05-16 11:29 ` ✓ CI.xeBAT: success for " Patchwork
2024-05-16 12:18 ` [PATCH i-g-t] " Rodrigo Vivi
2024-05-16 12:51 ` ✓ CI.xeFULL: success for " Patchwork
2024-05-16 16:21 ` [PATCH i-g-t] " Lucas De Marchi
2024-05-16 19:33   ` Rodrigo Vivi
2024-05-17  4:20     ` Kumar, Janga Rahul
2024-05-16 17:07 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-05-17  8:26 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-05-17 15:18   ` Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox