diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2019-01-11 15:59:41 -0800 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2019-01-22 14:05:35 -0800 |
commit | 21a5e27af21bdf71108f84598a30129030779784 (patch) | |
tree | 8d2b38d67913d2437999b9255b95892a57312094 /lib/igt_psr.c | |
parent | 12e31ff245bb62a2b8c500cac9f8dcaa2015f6ca (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 'lib/igt_psr.c')
-rw-r--r-- | lib/igt_psr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |