summaryrefslogtreecommitdiff
path: root/tests/kms_psr.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2019-01-11 15:59:41 -0800
committerJosé Roberto de Souza <jose.souza@intel.com>2019-01-22 14:05:35 -0800
commit21a5e27af21bdf71108f84598a30129030779784 (patch)
tree8d2b38d67913d2437999b9255b95892a57312094 /tests/kms_psr.c
parent12e31ff245bb62a2b8c500cac9f8dcaa2015f6ca (diff)
lib/psr: Rename psr_wait_exit to psr_wait_update
This is a initial preparation for PSR2 test support, as in PSR2 a update to screen could mean that PSR is still active and the screen will be update by a selective update this renamed is necessary. Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tests/kms_psr.c')
-rw-r--r--tests/kms_psr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_psr.c b/tests/kms_psr.c
index 855679b0..fb3bd7a4 100644
--- a/tests/kms_psr.c
+++ b/tests/kms_psr.c
@@ -289,7 +289,7 @@ static void run_test(data_t *data)
expected = "screen GREEN";
break;
}
- igt_assert(psr_wait_exit(data->debugfs_fd));
+ igt_assert(psr_wait_update(data->debugfs_fd));
manual(expected);
}