From 13ac931a33f9ce43273af0232fa33ad122c3fa07 Mon Sep 17 00:00:00 2001 From: José Roberto de Souza Date: Fri, 11 Jan 2019 16:48:45 -0800 Subject: lib/psr: Add PSR2 support to the remaning psr functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the mode parameter to psr_enable() and psr_sink_support() so PSR1 and PSR2 can be tested separated. For now all PSR tests will run only with PSR1 and the tests for PSR2 will come in the future. Cc: Dhinakaran Pandiyan Reviewed-by: Dhinakaran Pandiyan Signed-off-by: José Roberto de Souza --- lib/igt_psr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/igt_psr.h') diff --git a/lib/igt_psr.h b/lib/igt_psr.h index 4fff77ec..7e7017bf 100644 --- a/lib/igt_psr.h +++ b/lib/igt_psr.h @@ -37,8 +37,8 @@ enum psr_mode { bool psr_wait_entry(int debugfs_fd, enum psr_mode mode); bool psr_wait_update(int debugfs_fd, enum psr_mode mode); -bool psr_enable(int debugfs_fd); +bool psr_enable(int debugfs_fd, enum psr_mode); bool psr_disable(int debugfs_fd); -bool psr_sink_support(int debugfs_fd); +bool psr_sink_support(int debugfs_fd, enum psr_mode); #endif -- cgit v1.2.3