[igt-dev] [PATCH i-g-t 1/2] lib/igt_psr: added enum for PR mode

Kunal Joshi kunal1.joshi at intel.com
Tue Oct 3 05:19:58 UTC 2023


Added enum PR_MODE_1 and PR_MODE_1_SEL_FETCH,
PR_MODE_1 is expected to behave like PSR and 
PR_MODE_1_SEL_FETCH like PSR2 with selective fetch

Cc: Jouni Högander <jouni.hogander at intel.com>
Cc: Animesh Manna <animesh.manna at intel.com>
Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
---
 lib/igt_psr.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/igt_psr.h b/lib/igt_psr.h
index 12ffc9d6c..fff673f6b 100644
--- a/lib/igt_psr.h
+++ b/lib/igt_psr.h
@@ -34,6 +34,8 @@ enum psr_mode {
 	PSR_MODE_1,
 	PSR_MODE_2,
 	PSR_MODE_2_SEL_FETCH,
+	PR_MODE_1,
+	PR_MODE_1_SEL_FETCH,
 	PSR_DISABLED,
 };
 
-- 
2.25.1



More information about the igt-dev mailing list