[igt-dev] [PATCH] lib/igt_amd: align the amdgpu PSR state enum to upstreamed code base

David Zhang dingchen.zhang at amd.com
Thu May 12 16:54:48 UTC 2022


[why & how]
align the PSR state enum definitions to the upstreamed amdgpu drv
code base "dc_psr_state".

Cc: Rodrigo Siqueira <rodrigo.siqueira at amd.com>
Cc: Harry Wentland <harry.wentland at amd.com>
Cc: Leo Li <sunpeng.li at amd.com>
Cc: Jay Pillai <aurabindo.pillai at amd.com>
Cc: Wayne Lin <wayne.lin at amd.com>

Signed-off-by: David Zhang <dingchen.zhang at amd.com>
---
 lib/igt_amd.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/igt_amd.h b/lib/igt_amd.h
index 428bfe6f..42cb2e17 100644
--- a/lib/igt_amd.h
+++ b/lib/igt_amd.h
@@ -111,10 +111,17 @@ enum amdgpu_psr_state {
 	PSR_STATE4b,
 	PSR_STATE4c,
 	PSR_STATE4d,
+	PSR_STATE4_FULL_FRAME,
+	PSR_STATE4a_FULL_FRAME,
+	PSR_STATE4b_FULL_FRAME,
+	PSR_STATE4c_FULL_FRAME,
+	PSR_STATE4_FULL_FRAME_POWERUP,
 	PSR_STATE5,
 	PSR_STATE5a,
 	PSR_STATE5b,
 	PSR_STATE5c,
+	PSR_STATE_HWLOCK_MGR,
+	PSR_STATE_POLLVUPDATE,
 	PSR_STATE_INVALID = 0xFF
 };
 
-- 
2.25.1



More information about the igt-dev mailing list