From 21a5e27af21bdf71108f84598a30129030779784 Mon Sep 17 00:00:00 2001 From: José Roberto de Souza Date: Fri, 11 Jan 2019 15:59:41 -0800 Subject: lib/psr: Rename psr_wait_exit to psr_wait_update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Dhinakaran Pandiyan Signed-off-by: José Roberto de Souza --- lib/igt_psr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/igt_psr.c') diff --git a/lib/igt_psr.c b/lib/igt_psr.c index 83c5b986..5edec6a2 100644 --- a/lib/igt_psr.c +++ b/lib/igt_psr.c @@ -42,7 +42,7 @@ bool psr_wait_entry(int debugfs_fd) return igt_wait(psr_active(debugfs_fd, true), 500, 20); } -bool psr_wait_exit(int debugfs_fd) +bool psr_wait_update(int debugfs_fd) { return igt_wait(psr_active(debugfs_fd, false), 40, 10); } -- cgit v1.2.3