From: Anthony Koo <anthony....@amd.com>

 - Add flag as a status read back that indicates back to back
   flips detected during psr.

Reviewed-by: Aric Cyr <aric....@amd.com>
Acked-by: Alex Hung <alex.h...@amd.com>
Signed-off-by: Anthony Koo <anthony....@amd.com>
---
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h 
b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
index bc9344af1995..9df330c86a55 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -225,6 +225,12 @@ union dmub_psr_debug_flags {
                 * Use TPS3 signal when restore main link.
                 */
                uint32_t force_wakeup_by_tps3 : 1;
+
+               /**
+                * Back to back flip, therefore cannot power down PHY
+                */
+               uint32_t back_to_back_flip : 1;
+
        } bitfields;
 
        /**
-- 
2.38.1

Reply via email to