summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>2018-05-09 10:37:42 -0700
committerPetri Latvala <petri.latvala@intel.com>2018-05-15 10:32:57 +0300
commit3b246dca4bdc463d7b5e2cd3230fe4badd3c4156 (patch)
tree7e21587ad52a5900d9d0fdd61c75bbd14733673a /tests
parent74eef7bf59ee5949fb17bbc82c7090133d023273 (diff)
tests/psr: Check for drrs status only after checking for PSR
The goal of this test is (or should be) to verify DRRS is disabled if PSR was enabled. There is no point in checking for DRRS status if PSR was not enabled in the first place. Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Reviewed-by: Katarzyna Dec <katarzyna.dec@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/kms_psr_sink_crc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
index af18d43e..0f588d5f 100644
--- a/tests/kms_psr_sink_crc.c
+++ b/tests/kms_psr_sink_crc.c
@@ -484,6 +484,7 @@ int main(int argc, char *argv[])
igt_subtest("no_drrs") {
setup_test_plane(&data);
+ igt_assert(wait_psr_entry(&data));
igt_assert(drrs_disabled(&data));
test_cleanup(&data);
}