Message ID | 1551979817-26123-4-git-send-email-anshuman.gupta@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | DC states igt tests patch series v7 | expand |
diff --git a/tests/i915/i915_pm_dc.c b/tests/i915/i915_pm_dc.c index 3bb8083..cf79790 100644 --- a/tests/i915/i915_pm_dc.c +++ b/tests/i915/i915_pm_dc.c @@ -200,6 +200,14 @@ int main(int argc, char *argv[]) "Sink does not support PSR\n"); test_dc_state_psr(&data, CHECK_DC5); } + + igt_subtest("dc6-psr") { + data.op_psr_mode = PSR_MODE_1; + psr_enable(data.debugfs_fd, data.op_psr_mode); + igt_require_f(edp_psr_sink_support(&data), + "Sink does not support PSR\n"); + test_dc_state_psr(&data, CHECK_DC6); + } igt_fixture { close(data.debugfs_fd); display_fini(&data);