From 6f80f6b7aece563a4e85fbed9d957d49e245ab7b Mon Sep 17 00:00:00 2001 From: José Roberto de Souza Date: Thu, 4 Oct 2018 13:32:08 -0700 Subject: tests/psr: Share the code check if sink supports PSR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The same code checking if sink supports PSR was spread into 3 tests, better move it to lib and reuse. v2: splitted previous patch into this one and the next one(Dhinakaran) Cc: Rodrigo Vivi Cc: Dhinakaran Pandiyan Reviewed-by: Dhinakaran Pandiyan Signed-off-by: José Roberto de Souza --- lib/igt_psr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/igt_psr.h') diff --git a/lib/igt_psr.h b/lib/igt_psr.h index 96f7bedf..d3336c2d 100644 --- a/lib/igt_psr.h +++ b/lib/igt_psr.h @@ -34,5 +34,6 @@ bool psr_wait_entry(int debugfs_fd); bool psr_wait_exit(int debugfs_fd); bool psr_enable(int debugfs_fd); bool psr_disable(int debugfs_fd); +bool psr_sink_support(int debugfs_fd); #endif -- cgit v1.2.3