[igt-dev] [PATCH i-g-t v2 5/5] [intel-gfx] tests/pm_dc: Added test for DC6 during DPMS.

Jyoti Yadav jyoti.r.yadav at intel.com
Wed Oct 10 12:01:48 UTC 2018


Added new subtest for DC6 entry during DPMS on/off cycle.
During DPMS on/off cycle DC6 counter is incremented.

Signed-off-by: Jyoti Yadav <jyoti.r.yadav at intel.com>
---
 tests/pm_dc.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/pm_dc.c b/tests/pm_dc.c
index dac6035..cb0aed7 100644
--- a/tests/pm_dc.c
+++ b/tests/pm_dc.c
@@ -244,6 +244,12 @@ int main(int argc, char *argv[])
 		cleanup(&data);
 	}
 
+	igt_subtest("dc6-dpms") {
+		data.dc_flags |= CHECK_DC6;
+		test_dc_state_dpms(&data);
+		cleanup(&data);
+	}
+
 	igt_fixture {
 		close(data.debugfs_fd);
 		display_fini(&data);
-- 
1.9.1



More information about the igt-dev mailing list