[igt-dev] [PATCH i-g-t v2 3/5] [intel-gfx] tests/pm_dc: Added test for DC6 during PSR.
Jyoti Yadav
jyoti.r.yadav at intel.com
Wed Oct 10 12:01:46 UTC 2018
This patch add subtest to check DC6 entry on PSR for the supported
platforms.
Signed-off-by: Jyoti Yadav <jyoti.r.yadav at intel.com>
---
tests/pm_dc.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/pm_dc.c b/tests/pm_dc.c
index 4125d83..98e011f 100644
--- a/tests/pm_dc.c
+++ b/tests/pm_dc.c
@@ -208,6 +208,13 @@ int main(int argc, char *argv[])
test_dc_state_psr(&data);
cleanup(&data);
}
+
+ igt_subtest("dc6-psr") {
+ data.dc_flags |= CHECK_DC6;
+ test_dc_state_psr(&data);
+ cleanup(&data);
+ }
+
igt_fixture {
close(data.debugfs_fd);
display_fini(&data);
--
1.9.1
More information about the igt-dev
mailing list